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

=== zz_chihchun is now known as chihchun
=== Jim_Lahey is now known as bobweaver
=== chihchun is now known as zz_chihchun
bobweaverping Saviq12:08
=== zz_chihchun is now known as chihchun
=== chihchun is now known as zz_chihchun
mhall119tgm4883: bobweaver: are we doing this meeting on IRC or G+ Hangout?17:50
bobweaverI was wondering how many people are going to show up17:50
bobweaveror if they want to ask us questions there is one dude that I think should talk to you17:50
bobweaverhe was asking about nameing and grammer and stuff like that That I just can not handle17:51
bobweaverbecause I do not know17:51
bobweaverlet me get you link17:51
mhall119we can do an on-air hangout, so it'll be recorded on youtube17:51
mhall119especially if you want to screen-share or something17:51
mhall119either way it fine by me17:52
bobweaveryeah that would be cool lets see how many people would like that17:52
bobweaverdude's Lp https://launchpad.net/~rewarp17:52
bobweaverlink to post17:53
bobweaverhttps://plus.google.com/104659991254860976283/posts/Qoz92Y6PBpo17:53
bobweaverHis name is +Rewarp sudo make install17:54
tgm4883mhall119, bobweaver so.. meeting?18:01
mhall119yes18:02
mhall119tgm4883: bobweaver asked about doing a G+ Hangout, can you join one?18:02
tgm4883nope18:02
mhall119ok, better to do it on IRC then18:03
mhall119bobweaver: okay by you?18:03
bobweaversure18:03
tgm4883mhall119, it's not even that, for some reason this scope isn't starting on boot :/19:00
bobweavertgm4883,  what is in services file19:00
mhall119tgm4883: I don't think it usually gets started until you open the dash the first time19:00
tgm4883bobweaver, http://bazaar.launchpad.net/~mythbuntu/mythbuntu/unity-scope-mythtv/view/head:/mythtv.scope19:01
tgm4883mhall119, well it doesn't show up in the dash either19:01
tgm4883the filters19:01
tgm4883which indicate it's not running19:01
tgm4883oh wait19:02
tgm4883I think I see the issue, let me test19:02
CrestedNewttgm4883 plugs computer into mains socket :D19:02
mhall119it should show up in the dash if your .lens file is correct, even if the process can't load19:02
tgm4883mhall119, that has never been what I've experienced in my testing19:03
tgm4883scope only, no lens19:03
mhall119tgm4883: oh, ok, so are you using the videos lens, or a hidden lens?19:03
tgm4883videos19:03
mhall119ok19:04
mhall119so then you have your .scope in /usr/share/unity/lenses/video/19:04
CrestedNewtguys I have gtg - need to finish off dinner19:06
CrestedNewtand then eat it19:06
tgm4883hmm19:07
tgm4883mhall119, so thought I fixed it, turns out that my scope now crashes the desktop19:07
tgm4883mhall119, that seems like a bug that shouldn't happen19:07
tgm4883I think it's crashing X19:07
tgm4883oh nice, causing dbus-daemon to segfault19:08
mhall119ouch, how's it doing that?19:08
mhall119oh, wow19:08
tgm4883causes crash to login screen19:09
mhall119it really shouldn't be able to do that.... :(19:09
tgm4883yea19:09
tgm4883thats what I think as well19:09
mhall119are you still using the Dee package from 12.10?19:09
tgm4883I'm on 12.1019:09
mhall119oh19:09
tgm4883sec, let me do a quick pastebin so you can see what I changed19:10
mhall119can you file a bug for this against the unity project, and try and narrow down the cause?19:10
tgm4883or rather19:10
tgm4883[Scope]19:10
tgm4883DBusName=net.launchpad.scope.video.mythtv19:10
tgm4883DBusPath=/net/launchpad/scope/video/mythtv19:10
tgm4883is that a valid scope file19:10
tgm4883mhall119, I'll have to see if I can reproduce it in a VM before I do that19:12
tgm4883since I am running 2 packages that have an additional patch for xserver19:12
mhall119ah, ok19:12
tgm4883does that scope file look ok though?19:13
mhall119tgm4883: looks okay, what does the .service file look like?19:14
mhall119tgm4883: it should have a Name= field too19:14
mhall119your .scope file19:14
tgm4883hmm19:14
mhall119and Description=19:14
tgm4883service file looks bad19:14
mhall119I don't not if those are required or optional19:14
tgm4883somehow an extra o got in there19:14
tgm4883o[D-BUS Service]19:14
tgm4883Name=net.launchpad.scope.video.mythtv19:14
tgm4883Exec=/usr/lib/unity-scope-mythtv/unity-scope-mythtv19:14
mhall119tgm4883: that might do it19:15
* tgm4883 tests19:15
tgm4883well nothing blew up that time19:16
tgm4883it doesn't appear to be running though19:16
mhall119Name=Locoteams Scope19:16
mhall119ignore that19:17
mhall119/usr/lib/unity-scope-mythtv/unity-scope-mythtv is where your script is?19:17
tgm4883mhall119, had to logout/login19:18
tgm4883seems like there should be some trigger to load new scopes19:18
mhall119no, it only loads them on Unity startup19:18
tgm4883yea I know19:18
mhall119there's been a bug to fix that for a while now19:18
tgm4883I'm saying it "should" have a trigger to load new ones on install19:18
mhall119I agree19:19
tgm4883mhall119, I am going to ask you about data files though in setup.py19:19
mhall119I tried to implement that once, but C kicked my butt and I gave up19:19
tgm4883mhall119, here is a little secret about my packaging. I pretty much don't know how to package things at all19:19
tgm4883The best I can do is python installs19:20
tgm4883and even then, it's pretty basic stuff19:20
tgm4883so if I have to touch debian/rules, i'm pretty lost19:20
tgm4883mhall119, so i've got this http://pastebin.ubuntu.com/1598279/19:22
tgm4883but it doesn't install the image19:22
mhall119tgm4883: http://paste.ubuntu.com/1598284/ is one of mine that I'm pretty sure worked19:23
tgm4883mhall119, yea, it's this part19:24
tgm4883    cmdclass={"build":  build_extra.build_extra, },19:24
tgm4883I need something in debian/rules for that right?19:24
mhall119I don't think so...19:24
tgm4883hmm, it complains when I have it in there19:24
mhall119what's in your rules file?19:24
mhall119tgm4883: actually it might be easier ot just get a branch of your code19:26
mhall119is it on LP?19:26
tgm4883http://bazaar.launchpad.net/~mythbuntu/mythbuntu/mythtvservices/view/head:/debian/rules19:27
tgm4883mhall119, you might still have the branch :)19:27
mhall119tgm4883: that doesn't have the scope though19:44
mhall119only ./src/mythtvservices.py19:44
tgm4883mhall119, true, we're moved away from talking about the scope after we fixed the bug19:45
tgm4883for this package, I just need to install the svg so we have a nice icon for notifications19:45
tgm4883the scopes depend on this package19:45
tgm4883mhall119, oh, it's missing the svg though from the branch, just uploaded it19:47
mhall119ok20:03
bobweavertgm4883,  you have schedulesdirect ?20:19
tgm4883bobweaver, yes20:20
bobweavercool20:20
bobweaveris there any way that I could get you to post a xml file from20:20
bobweaverhttp://<YouR Backend>:6544/Guide/GetProgramGuide?StartTime=2013-01-31T19:00:00&EndTime=2013-02-01T20:00:0020:21
tgm4883why?20:21
bobweaverso I can compair someone that has that and free stuff over the net20:21
bobweavercompare20:21
tgm4883compare what?20:21
bobweaverI do not have SD20:21
bobweaverso Like SubTitle Cat Type Category20:22
bobweavernone of thouse things come in for me20:22
tgm4883bobweaver, sec20:23
bobweaverthansk20:23
tgm4883bobweaver, do you really want 25 hours worth?20:23
bobweavernah20:23
bobweaverbut it loads in real fast20:24
bobweaverI think that you can limit channel numbers and also start channels you know better then I do20:24
tgm4883well, it should be 4 hour blocks probably20:25
tgm4883for viewing20:25
tgm4883but we'll need to load the entire guide I think20:25
tgm4883for searching20:25
bobweaverI am working on gathering info for previews of Channel20:26
bobweaverlike recored20:27
bobweaverhttp://imagebin.org/24509320:27
bobweaverStartTime , EndTime,Title,Repeat,SubProps  so far20:28
mhall119tgm4883: bzr merge lp:~mhall119/mythbuntu/mythtvservices-packaging20:29
tgm4883bobweaver, what is your email so I can send you this file20:33
bobweaverhttps://launchpad.net/~josephjamesmills20:34
bobweaver sorry but it is my name with a @ubuntu.com20:34
tgm4883bobweaver, https://docs.google.com/file/d/0B2CFu7s2X8OuSkE5M3Q1aFcxVGM/edit?usp=sharing20:36
bobweaverthanks :)20:36
tgm4883bobweaver, let me know if that isn't what you want20:37
bobweaverhow long should I scan for ?20:37
tgm4883I think that is 4 hours20:37
bobweavercool, No I was saying How Long sould the guide look for ?20:37
bobweaverright now 25 hours20:37
tgm4883bobweaver, for display or searching?20:38
bobweaverLike how big should the guide be ?20:38
bobweaveryeah20:38
tgm4883for display, it should be probably 4 hours wide20:38
bobweaverhow many of them should there be ?20:38
tgm4883how many channels tall?20:38
tgm4883However many you can load in the space and make it look reasonable20:39
bobweaverwhat ever fits on to the screen kinda hard to say because it depends on how big the screen is20:39
bobweaverLet me check what it is on mine20:39
bobweaverIn Tv mode it is like 720:40
bobweaver6 1/2 but on the 7th one it adjusts it self20:40
bobweaverOn desktop mode it shows all my channels but I only have 1420:41
bobweaverthat is like 1280 - lensbar at bottom and panel and about 100 px of headerspace20:42
tgm4883couldn't you do "show up to 15 channels" and set a minimum pixel height based on resolutions20:42
bobweaverI dont know every time I try to do that something errors out20:43
bobweaverlike the font for the "title" will crap out20:43
tgm4883mhall119, awesome, that works20:43
bobweaverthere is some javascript that I did not right I have used it in the past but does not work so well20:44
tgm4883now I can package up the guide scope, work out lintian errors and push to PPA20:44
bobweaver/ 1080p on a 42" screen20:45
bobweaveris what they had it set too20:45
bobweaverthanks again tgm4883  that is 100% what I was looking for20:49
tgm4883bobweaver, so is there something you can point me to as an example of working ubuntu tv previews?23:42
tgm4883I mean, I can't fix these previews if I don't know what I'm aiming for23:42
bobweavertgm4883,  what do you mean ?23:42
bobweaverlike example ?23:43
tgm4883is there a working python preview that you can show me?23:43
bobweaverso I guess that I shoudl tell you how they use to work in Ubuntu TV and what I have done23:47
bobweaverso before they everytime that a program was clicked it would run a Function that would check to see if the mimetype was = video23:48
bobweaverif it was then it automaticly brought up the previews23:48
bobweaverSo What I did was rewrite so that if left clicked  and checks after that to see what type it is or maybee looks at uri or a part of a uri Let me show you a example it is the only way that I can explain23:50
bobweaverBut It is imporant to note that there are to functions23:50
bobweaveractivatePreviews()  and deactivatePreviews()23:51
bobweaverso23:51
bobweaverelse if (mimeType.substring(mimeType.lastIndexOf("/")+1) === "x-desktop")23:51
bobweaverlooks at mimetpe and cus the sting (javascript) and sees if it is   x-desktop     inother words it takes applications/x-desktop mimetype and turns it into     just x-desktop     if this is true we assign a preview page to this23:53
bobweaver                        return "ApplicationPreview.qml"23:53
bobweaverNow for yours23:53
bobweaver   else if (mimeType.indexOf("video/") == 0)23:53
bobweaver                        return "MythTvPreview.qml"23:53
bobweaverso if you change the mimetype in your scope to say "myth"   that would be great and it would always know this23:54
bobweaverif we open up "MythTvPreview.qml23:54
bobweaverhttp://bazaar.launchpad.net/~josephjamesmills/u2t/dailybuilds/view/head:/shell/dash/previews/MythTvPreview.qml23:55
bobweaverIf you look there is a thing at the top called VideoPreview (line 8 )23:56
bobweaverthis is where the binding happens with unity and scopes and previews23:56
bobweaverso ANYTHING that you want to pass to previews you just give it a name and tell me and I add to the list23:57
bobweaverthe list is23:57
bobweaver   property string uri23:57
bobweaver    property int category23:57
bobweaver    property variant nfo23:57
bobweaver    property variant buttons23:57
bobweaver    property string name23:57
bobweaver    property string iconHint23:57
bobweaver    property string comment23:57
bobweaver    property string lens: dashLoader.item.lenses23:57
bobweaveras you set them in the lens they can be read over unity so to say23:58
bobweaverso if you look there is a whole folder that is for Mythtv that will go in Ubuntu SDK Well I hope23:58
bobweaverhttp://bazaar.launchpad.net/~josephjamesmills/u2t/dailybuilds/files/head:/shell/dash/previews/Mythtv/23:59

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