#ubuntu-tv 2012-03-16
<tsdgeos> what's the benefit of recording the whole multiplex? that you can travel back in channels you were not watching?
<tsdgeos> Saviq: â
<willcooke> Yeah, basically we can, for very little cost, record all the programmes on a MUX so that while a recording exists, all the programmes on the same MUX are also available.  (This is DVB-T specially, but its more or less the same on S & C)
<Saviq> tsdgeos, yes exactly
<willcooke> The costs are:  IO
<willcooke> and:
<Saviq> willcooke, not DVB-T specially at all
<willcooke> ?
<Saviq> willcooke, that's wherever muxes are
<willcooke> sorry - what I meant was "I am talking about DVB-T as an example)
<willcooke> "
<Saviq> yeah ok
<tsdgeos> willcooke: the cost is explaining the user why he can't go back in some channels and not in some others
<tsdgeos> which is not that easy/obvious
<willcooke> tsdgeos: good point
<Saviq> tsdgeos, that's why, whenever you're not watching / recording anything
<willcooke> tsdgeos: We could probably fix that with some clever design in the EPG
<Saviq> tsdgeos, the thing would record, say, the most frequently watched channels
<Saviq> obviously the power-conscious would have to be able to turn that off
<Saviq> willcooke, how many muxes do you have in the UK in DVB-T?
<tsdgeos> do we really wasted that much resources?
<willcooke> erm, off the top of my head 6 DVB-T and 1 DVB-T2
<Saviq> tsdgeos, rephrase please
<tsdgeos> just more disk, no?
<Saviq> tsdgeos, yeah that's mostly it
<Saviq> tsdgeos, but IO is an issue
<Saviq> tsdgeos, think of it like that: you recorded / watched programme x / channel y
<Saviq> while doing that, all of the mux was recorded
<Saviq> but when you're running out of space
<Saviq> you want to get rid of stuff
<tsdgeos> sure, disk space is a concern too
<Saviq> so the first you should get rid of are those you didn't record purposefully
<Saviq> tsdgeos, which means that either a) you remux to free space
<Saviq> or b) demux during recording
<Saviq> b) sounds less costly
<Saviq> also with that your disk would fill up pretty quickly
<Saviq> not sure that's an issue, though
<Saviq> what do you need the free space for anyway
<Saviq> that's a waste
<tsdgeos> true
<Saviq> tsdgeos, IO is an issue, though, 'cause think of having, I don't know, 4 tuners
<Saviq> each of them recording the whole mux
<tsdgeos> problem is that usually IO is the slowest thing on the system and putting it to more stress brings the rest of the system down
<Saviq> yeah
<tsdgeos> e.g. the moment you start doing "disk" access on my smartphone, everything else stutters
<Saviq> tsdgeos, but we'd have separate channels to "system" disk and storage
<Saviq> that could reduce that impact
<Saviq> we would only be saving to external storage
<Saviq> but definitely a concern, yes
<Saviq> let's do some calc
<Saviq> 8MHz DVB-T Mux can be up to ~30Mbps
<Saviq> a DVB-S2 Mux handles things like 62Mbps
<Saviq> so with 4 tuners we're thinking of IO upwards of 300Mbps
<tsdgeos> well, that's a lot :D
<Saviq> USB won't cope
<tsdgeos> but 4 tuners seems to be on the upside
<Saviq> true, 2 is probably the usual
<Saviq> for livetv + recording of different muxes in parallel
<tsdgeos> yeah
<mrand> 2 is common, but in the home DVR/PVR world, 4 is not uncommon, and 8 isn't unheard of.
<mrand> Also, be sure to not assume all free space on the disk is yours to fill up.  Best to allow the user to config to leave whatever percent of their disk space open for other uses as they want
<Saviq> mrand, of course
<Saviq> mrand, but also when you have 8 tuners you probably take care of the bandwidth to cope with that :)
<mrand> indeed!
<Saviq> tsdgeos, when do you expect your dongle to arrive?
<Saviq> tsdgeos, can we have the epg dump sqlite3-compatible?
<tsdgeos> Saviq: ebay says 21-27
<tsdgeos> Saviq: sure, let me redo the dump
<Saviq> wow, they take their time...
<Saviq> that's cross-country, though? cross-ocean, even? ;)
<tsdgeos> nope
<tsdgeos> manchesterâbarcelona
<tsdgeos> 2 hour flight
<tsdgeos> so they are probably sending it via swimmer
<tsdgeos> i think i've the dump done
<tsdgeos> importing it is taking a while though
<tsdgeos> oh my
<tsdgeos> sqlite is slow
<tsdgeos> it's on line 2000 of 78000 ...
<tsdgeos> Saviq: you sure you don't want the mysql dump? :D
<Saviq> tsdgeos, ;)
<Saviq> tsdgeos, slow... yes, that seems it is...
<tsdgeos> yeah
<tsdgeos> still hasn't finished here...
<tsdgeos> i think that rules out sqlite :D
<Saviq> possibly
<tsdgeos> for some reason it seems not to support multiple inserts per insert line
<tsdgeos> and thus it has to create a transaction for each
<tsdgeos> and everything goes down
<Saviq> yeah sqlite isn't great when it comes to "supporting" things...
<tsdgeos> and still running...
<tsdgeos> :D
<Saviq> yup, here, too
<Saviq> tbh looks locked
<Saviq> almost no cpu usage
<Saviq> no io
<Saviq> yeah, the data seems to be there
<Saviq> well... for schedules, at least
<Saviq> not for programmes...
<tsdgeos> well
<tsdgeos> if you tailf the db
<tsdgeos> it's growing
<tsdgeos> slowing
<tsdgeos> at least here
<willcooke> Question:  I've been doing some reading about permission to copy programmes you've recorded off of the media on to which you recordeded them.  In the US there is a flag which says you can or can't copy it, and I think there is even a "You can copy this file once" thing as well.  How could we enforce that in an open source software world?
<tgm4883> willcooke, that is the $1,000 question
<willcooke> darn, and I've only got 3 cents
<willcooke> give me the 3 cent answer :D
<tgm4883> I don't believe you can,
<tgm4883> it would have to be a closed source blob
<willcooke> for encryption?
<tgm4883> According to wikipedia, "According to the rule, hardware must "actively thwart" piracy."
<tgm4883> I'd guess that means preventing making a copy of the copy. In which case you need some special closed source software that can read the encrypted copy
<willcooke> hmmm. that sucks.
<tgm4883> although the regulations are no longer in affect apparently, I'm not sure what that means for the ability to recording something marked as "copy once"
 * willcooke suspects he needs to do more reading
<tgm4883> I'd suspect someone from the mythtv project that deals with the recording portion would have a better answer than I
<willcooke> ooo, good idea
<tgm4883> willcooke, on a ubuntu-tv topic, is there any good documentation on pushing stuff into the EPG and/or episodic view in Ubuntu TV? or does that functionality still not exist yet in code?
<willcooke> Actually, thats something we've been thinking about today.  It doesn't exist yet however.
<tgm4883> ok
<tgm4883> makes it difficult to get anything other than very basic mythtv functionality going
<willcooke> It's worth hitting up Saviq and tsdgeos next week.  They are thinking about what the architecture might look like atm
<tgm4883> will do
<tgm4883> they are in UK?
<willcooke> Poland & Spain respectively
<willcooke> So it's beer o'clock where they are now :)
<tgm4883> ok, that might complicate things with my schedule, I'll try though
<willcooke> send en email to the ubuntu-tv mailing list - we still check it :D
<willcooke> (got to go pick up my kid - bbl)
#ubuntu-tv 2013-03-11
<bobweaver> ping mhall119
<bobweaver> this is what I am talking about
<bobweaver> http://bazaar.launchpad.net/~josephjamesmills/+junk/ubuntu-weather-sdk/files
<bobweaver> grab that branch then open the *.qmlproject switch the tabs from the search to the Home tab and watch it freak the heck out
<bobweaver> It is more then just the qtwebkit it is mainly JS files that are running logic
<bobweaver> that code works great on sailfish android-qt qt5-desktop and also in qmlscence with out sdk installed
<bobweaver> I need Juius on irc :<(
#ubuntu-tv 2013-03-12
<smartboyhw> jhodapp, ping
<jhodapp> smartboyhw, pong
<smartboyhw> jhodapp, private message?
<jhodapp> sure
<johnkjaer> When I'm trying to change the mode to "tv mode". I try to push the "gear button" but nothing happens. And dash crashes.
<tgm4883> jhodapp, how good are you with unity preview stuff
<jhodapp> tgm4883, in what respect?
<tgm4883> jhodapp, I'm trying to figure out a way to pass some info along after clicking a button in a preview
<tgm4883> there doesn't seem to be a way to do that (it just passes the URI)
<jhodapp> tgm4883, ah, well that specific of a thing, probably not the man to ask because all of that stuff got redone a bit (I am not aware to what extend) for 13.04
<tgm4883> hmm ok
<jhodapp> tgm4883, oh, well I think you could embed it in the URI
<jhodapp> and parse the URI
<jhodapp> ugly I know
<tgm4883> I don't know if I'll be able to do that
<jhodapp> the other thing would be to ask in #ubuntu-unity
<tgm4883> jhodapp, I'd need to alter the URI after the user clicks the button
<tgm4883> I asked in #ubuntu-unity last week, no response
<jhodapp> hmm, maybe try the mailing list then
<jhodapp> and if that still doesn't work, I can ping a specific person or two for you
<tgm4883> ok, sounds good
#ubuntu-tv 2013-03-14
<smartboyhw> jhodapp, so do you think you'll ever be able to lure bobweaver back?:P (Accept the challenge!)
<jhodapp> smartboyhw, no idea, that's up to him
 * smartboyhw is unhappy that he knows nothing about Unity and little C++
<smartboyhw> If I had the ability I would continue bobweaver's efforts. But oh well:(
<jhodapp> smartboyhw, what's stopping you from learning about Unity and C++?
<smartboyhw> jhodapp, homework? tests?;P
<jhodapp> smartboyhw, so take a C++ class :)
<smartboyhw> jhodapp, well I would love to... I know the basics but not the deepest ones:P
<jhodapp> that's good, and just try and work it into your schedule if you can (learning on the side)
<smartboyhw> jhodapp, one said thing is that the meetings doesn't fit the timezones of mine:(
<jhodapp> what timezone are you?
<smartboyhw> jhodapp, by the time you guys have the meeting I am asleep (3:00 AM)
<jhodapp> wow, ok
<tgm4883> smartboyhw, east asia/australia?
<smartboyhw> tgm4883, east asia (Hong Kong)
<smartboyhw> 15:00 UTC is best for me
<tgm4883> jhodapp, can I do QML/QT stuff with python?
 * tgm4883 knows nothing about QML/QT
<jhodapp> tgm4883, I'm sure there's a Python Qt, my guess is you can probably do it, but I don't know for sure
<jhodapp> tgm4883, why not learn some basics about C++?
<tgm4883> smartboyhw, IDK if the meeting room is available from that time. Could pint mhal l119 about it
<tgm4883> jhodapp, compiling is for neadrethals ;)
<tgm4883> j/k
<jhodapp> lol
<jhodapp> uh huh
<tgm4883> I have enough trouble with the python stuff I do
<jhodapp> Neanderthals that like their code to execute quickly :)
<tgm4883> I think I looked at C++ once
<tgm4883> jhodapp, can I do unity scopes in C++?
<jhodapp> yeah
<jhodapp> it'd be using gobject/glib
<jhodapp> so C/C++
<tgm4883> hmm, I was thinking of doing a netflix scope, but it seems they are shutting down their public API :(
<jhodapp> for real? where'd you see that?
<jhodapp> that doesn't seem right
<jhodapp> or are they going to a paid-only API?
<tgm4883> http://developer.netflix.com/
<tgm4883> and http://developer.netflix.com/blog/read/Changes_to_the_Public_API_Program
<tgm4883> they are no longer issueing new API keys and have shut down other parts of the developer program
<smartboyhw> ....
<tgm4883> While they don't say they are shutting down the public API completely, I don't think it will be long for that
<jhodapp> wow!
<jhodapp> that sucks
<tgm4883> yea
<tgm4883> We can hope that they are doing that in preparation of opening it up more, but I doubt it
<jhodapp> indeed
<tgm4883> jhodapp, so any recommended guides/docs to get started on C++?
<jhodapp> no guides, but the c++ faq  and c++ faq lite are excellent
<jhodapp> there's tons of guides out there though
