/srv/irclogs.ubuntu.com/2013/01/03/#ubuntu-tv.txt

bobweaverdcope,  hello00:55
bobweavertuner  support atm is with anything that will work in the kernel00:55
bobweavermight have to fetch firmware here and there but alot of cards work00:56
bobweaverdcope,  you do not need a cable box at all00:56
bobweaveryou just plug your cable line into you Ubuntu tv00:56
bobweaverdepending on where you live and the provider00:56
dcopebobweaver: interesting01:17
dcopei didnt' realize that you could plug the coax directly from the line-in to the tuner01:18
tgm4883hmm01:22
tgm4883it's a bit more compliated than that probably01:23
dcopetgm4883: that's what i thought... i thought providers had some sort of authentication that the cable box performed.02:08
tgm4883dcope, that is a part of it02:16
tgm4883if you are in the US, it gets very dependent on who your provider is, what tuner you have, and what part of the country you live in02:17
tgm4883and what channels you want to record02:17
dcopeoh wow02:17
dcopewell, ubuntu tv still looks pretty cool even if i can't get an epg & dvr02:18
tgm4883The best is if you use a cable card tuner and your provider doesn't lock down the channels02:19
tgm4883although an HDPVR can be said to be equally as good02:19
dcopewill the tv package be released to install upon an existing ubuntu instance?02:29
tgm4883dcope, yes02:30
tgm4883that is my understanding anyway02:30
dcopeawesome02:30
user82are there ubuntu tv images ready for download?14:46
dcopeuser82: not images, but you can install it15:38
user82dcope, okay thanks..i have a set top box with arm(i think) but then it will not be easy15:38
dcopeuser82: what settop to you have?15:38
user82a "teufel mediastation". noone knows that thing but the update image was similar to other ones with custom firwares existent15:39
user82linux kernel etc included...15:39
dcopecool15:46
dcopei have a roku now, but i am wanting to build a media center pc with ubuntu tv now15:46
user82maybe that is clever..pc always keeps you flexible15:49
dcopeyep15:50
tgm4883Saviq, is any of the remote control stuff you worked on regarding the issues with X?16:46
tgm4883bobweaver, so I've got the guide data scope partially done, but I'm not sure I like the current implementation of it19:24
tgm4883it takes way too long to query I think19:24
tgm4883also, i haven't made it a lens yet19:24
tgm4883jhodapp, mhall119, do you know if the scopes run all the time in the background?19:27
mhall119tgm4883: currently yes19:27
tgm4883currently?19:27
mhall119you noticed that eh?19:27
mhall119they're working on making the Dash smarter about starting and stopping scope processes19:28
tgm4883mhall119, well, I think I need to have the guide data get pulled down periodically, even when the dash is closed19:28
mhall119tgm4883: then you'll probably want that to run outside of the scope process, using cron or something19:29
tgm4883otherwise it's too slow when it needs to retreive updates (which i've set to every 12 hours)19:29
tgm4883hmm ok19:29
tgm4883mhall119, so my second is regarding vala19:30
tgm4883I'm told vala is faster than python?19:30
mhall119I believe that's true, yes19:30
mhall119Vala gets "compiled" into C, then compiled into a native binary19:30
tgm4883currently, even with the guide data local, it takes 4-5 seconds to return a search result19:30
tgm4883i'm thinking vala might make that faster19:30
mhall119maybe, especially for large amounts of data19:31
Saviqtgm4883, issues with X as in sequence IDs > 255?19:31
tgm4883Saviq, yea19:31
tgm4883mhall119, yea that is what I'm dealing with19:31
tgm488314 days of guide data for all channels you have19:31
Saviqtgm4883, there's workarounds, one of which is a patched evdev driver that lets you remap keys from the > 255 space to the <= 255 one19:31
Saviqtgm4883, and the other is hidmapper, a small tool that talks to the USB HID interface directly19:32
Saviqand lets you map HID calls to X11 keys (again, <= 255)19:32
tgm4883Saviq, yea, we've (mythbuntu) got a ticket into the v4l guys hoping they will carry a patch to fix some stuff until X gets it all worked out19:32
Saviqtgm4883, so it's http://forum.xbmc.org/showthread.php?tid=88560 or http://www.mythtv.org/wiki/Remapping_remote_control_key_codes_greater_than_25519:33
tgm4883Saviq, yea that is pretty much what we were working with as well19:33
tgm4883trying to drop lirc19:33
Saviqtgm4883, looking at https://bugs.freedesktop.org/show_bug.cgi?id=11227 it's not promising19:33
Saviqwe might get wayland before then...19:34
tgm4883:/19:35
tgm4883mhall119, I don't suppose vala can talk to python directly19:38
mhall119no19:38
tgm4883bummer19:38
tgm4883I'll need to figure out a way to do previews then without recoding a bunch of stuff19:38
mhall119there's always dbus :)19:38
tgm4883I'm not super familiar with doing stuff over dbus19:39
tgm4883but it might be worth looking into I suppose19:39
Saviqtgm4883, re python vs. vala, I wouldn't bet vala will get you anywhere close to "fast enough"19:39
Saviqtgm4883, proper data storage will19:39
tgm4883Saviq, proper data storage?19:40
tgm4883it's all json atm19:40
Saviqtgm4883, exactly19:40
tgm4883Saviq, there is a better way to store that info in python?19:41
Saviqtgm4883, I'd say there's many19:41
Saviqtgm4883, re "if scopes run all the time" - yes, but data is only requested when the relevant scope is shown19:41
Saviqtgm4883, i.e. only when the scope gets a viewType = Visible set19:42
Saviqonly then will the scopes be queried for data19:42
Saviqthat isn't to say that the scope might prepare that data in memory before then19:42
tgm4883Saviq, currently, it pulls json guide data into memory on a search. The first search takes 30+ seconds, but a second search takes 419:42
tgm4883so the guide data is in memory at that point19:43
tgm4883and from memory, it takes 4 seconds to search, which IMO is too long19:43
Saviqtgm4883, yeah so here the biggest issue is that we transfer the whole set of data19:43
Saviqtgm4883, instead of just the relevant part that's being shown19:43
Saviqi.e. pagination19:43
mhall119yeah, partitioning the data when you download it would help19:43
tgm4883Saviq, as in, not 14 days of data?19:43
Saviqmhall119, not even that19:44
mhall119or throw it into an sqlite db or something?19:44
Saviqtgm4883, yes, currently there's no way to paginate in the lenses/scope infrastructure19:44
Saviqmhall119, there's basically multiple places that need fixing19:44
mhall119tgm4883: also remember that anything you add to the search results model is being serialized and passed over dbus19:45
tgm4883I don't think partitioning the data would work. For just viewing the guide yes, but searching would only see data in the loaded partition19:45
mhall119doing that to 14 days worth of channel data is going to be slow in any language19:45
tgm4883i'm kinda leaning toward syncing to a local sqlite table, then on search just querying that19:46
tgm4883then I can do 1 day of data for the default "" search, although I'm wondering how much data was being passed over dbus for the searches19:47
tgm4883because while it was 14 days of data, I'm not returning everything to the lens, just the relevant stuff19:48
tgm4883which is maybe 20ish results19:48
tgm4883so it sounds more like it takes way too long to search though 14 days of data19:48
Saviqtgm4883, yeah, that's 'cause you don't have indexing, even if you have it all in memory19:49
Saviqit just goes through all of that data to compare19:49
tgm4883Saviq, sqlite should fix that, or is there a better way19:49
Saviqit'll be faster, but I'd look at some proper free-text search engines like lucene19:50
Saviqtgm4883, there's also http://voices.canonical.com/jussi.pakkanen/2012/12/03/introducing-libcolumbus-a-fast-online-approximate-matching-library/19:52
Saviqwhich should help with the searching in memore19:53
Saviqmemory19:53
tgm4883Saviq, is that something I would need to use explicitly, or is that making it's way into unity?19:58
Saviqtgm4883, it can't really make its way into unity, it needs to be as close to the data as possible19:59
tgm4883ok19:59
Saviqtgm4883, so in your case you'd initialize libcolumbus when initially reading the data from json19:59
Saviqor from whatever storage you choose19:59
Saviqthen at least searching will be faster - you'll just need to have an ID by which to identify a data record20:00
mhall119tgm4883: libcolumbus needs to be pre-populated with a list of "correct" values that it uses to match a submitted "incorrect" value against20:14
mhall119so you'd need to initialize it with a list of program names, then you can give it a search term with typos and it'll get you it's best match20:14
jhodapp_tgm4883, I've got an example program written in C++ that uses libcolumbus if you're interested20:17
dcopeWonder if anyone will integrate Google play (music) into ubuntu tv?20:49
mhall119dcope: does it offer an API?21:40
dcopemhall119: i'm not sure21:44
bobweaverdcope,  what are you 2 talking about ?21:44
mhall119dcope: if it does, someone can write a scope for it, and it'll be available in Ubuntu (desktop, TV, and phone)21:45
tgm4883google music21:45
bobweaverahh21:45
tgm4883IIRC, it has a non-public API21:45
mhall119non-public?21:46
mhall119meaning you have to authenticate using OAuth or something?21:46
bobweaveryeah Unoffical21:46
dcopehttps://github.com/simon-weber/Unofficial-Google-Music-API21:46
mhall119oh, unofficial, that's different21:46
mhall119requiring OAuth would be fine, we could make an Ubuntu Online Accounts provider21:46
dcopei'm so ready to get ubuntu tv installed on something to contribute and test21:49
bobweaverdcope,  I have a 3rd party ppa if you like21:50
bobweaverfor 12.0421:50
tgm4883bobweaver, is that on the wiki21:50
bobweaverNot this one21:50
dcopebobweaver: sure21:50
bobweaver ~u2t/bleedingedge21:50
bobweaverMust be 12.0421:50
dcopei'll get it in a vm now and then put it on a dedicated machine once i get one21:51
* tgm4883 sees the irony in that21:51
dcopetgm4883: ?21:51
bobweaverhttps://launchpad.net/~u2t/+archive/bleedingedge21:51
tgm4883bleedingedge21:51
tgm4883<bobweaver> Must be 12.0421:51
dcopeoh21:51
bobweaverwhat it is a move up from 11.1021:52
tgm4883true21:52
bobweavertgm4883,  even has settings and loves you orig scope :)21:53
tgm4883bobweaver, sweet21:53
bobweavertgm4883,  AORN http://www.youtube.com/watch?v=qb8s7pSBu30&feature=youtu.be21:53
tgm4883is it running up to date scope?21:53
bobweaverI just made that video 3 minutes ago or something like that21:54
tgm4883bobweaver, I've been working on the guide data scope, but I've got some issues to work out21:54
tgm4883too much data21:54
bobweaverII will be finishing up the settings and making more and more myth  stuff21:54
bobweavertgm4883,  dont worry about the guide if it is giving you that much trouble21:54
tgm4883bobweaver, nah, i've got it worked out I think with the help of mhall 119 jhod app and Sa viq21:55
bobweaverI can write a html5 app that connects to myth backend and read from that and launch also21:55
tgm4883I haven't done any lens work on it though, and IDK the status you got on the different layout21:56
bobweaverI have 6 different layouts now21:56
bobweaveronly 3 are stable at this point21:56
bobweaverI kinda got caught up doing opengl stuff last night and particals and shaders so that set me back a little21:57
tgm4883bobweaver, ok, i'm going to work on speeding this thing up with the fixes we discussed today21:58
tgm4883as it takes too long for search results right now21:58
mhall119bobweaver: I like the way you did the lightdm options22:00
bobweaverYeah that is what I got all caught up in lol22:01
bobweaverI am posting a video of some experamental stuff22:01
bobweaverTurn down Volume22:02
bobweaverhttp://www.youtube.com/watch?v=Acjb5fkiCB422:02
bobweaverbtw that reads the weather outside and returns icons that are preset for weather22:04
bobweaverI am going to remove it all22:04
bobweaverwell the weather part and what not and just have a weather app22:04
bobweaverBut yeah if it was sunny outside it would have shown little suns flaying around and not snow22:05
bobweaverbecause you can only call api so may times a day it uses cache for ever 6 hours22:06
bobweavermhall119,  do you think that it is a good idea to scale the icons in lightdm settings menu ?  maybe even pulse them ?22:07
mhall119bobweaver: I have no idea, maybe ask one of the design guys on G+?22:19
bobweaverthanks I am mhall119  :)22:27

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!