/srv/irclogs.ubuntu.com/2012/08/27/#ubuntu-tv.txt

=== chihchun-afk is now known as chihchun
=== jussio1 is now known as jussi
smartboyhwo/ bobweaver12:43
cob-olpwhat are the different components of ubuntu tv called lenses?12:59
bobweaverHello13:31
smartboyhwo/ bobweaver: How are ya:)13:31
bobweavercomponents13:31
bobweaverAlot better then yesterdat smartboyhw13:32
smartboyhw:)13:32
bobweaveryou see my new videos up on youtube ?13:32
smartboyhwNo, give me the links:)13:32
bobweaverhttp://www.youtube.com/watch?v=VlOacuIldM813:32
bobweaverthat is unity 3d13:33
bobweaverstandalone form-factor TV13:33
bobweaveropengl es is not working all the way13:33
ogra_bobweaver, push the destop guys to upload the latest compiz ;)13:34
ogra_arm is waiting for GLES too13:34
ogra_(they somehow omitted it even though their package was created a day after gles was added upstream)13:35
bobweaverI treied but It is concept code13:35
ogra_it will go into quantal really soon13:35
ogra_its a requirement of arm desktop13:35
smartboyhwGod job, bobweaver13:35
bobweaverYeah I would love to but I can not get a stright anwser13:35
bobweaverabout naming conventions and files13:36
bobweaverso I just over wrote the whole dash folder13:36
ogra_well, i'm responsible for the arm port images ... be assured the gles bits will land :)13:36
ogra_*when* is in the hands of the desktop team though13:36
bobweaverLike I do not know if I should use case statements or just make new {cpp,h} files13:37
bobweaverI asked that question like 5 days ago13:37
ogra_there should be a PPA somewhere that builds directly from upstream iirc13:37
bobweaverbrb I will pastebin it13:37
smartboyhw:)13:37
ogra_you should ask in #ubuntu-desktop i'm sure they can oint you to it13:38
ogra_*point13:38
bobweaverThis is my rock and hardplace13:38
bobweaverhttp://paste.ubuntu.com/1169843/13:38
bobweaverwill do thansk ogra_13:39
smartboyhw:)13:40
smartboyhwo/ bobweaver13:53
smartboyhwbobweaver: Will try to compile the Ubuntu TV source code in 12.04:)13:53
bobweaversmartboyhw,  which one ?13:54
bobweaveruse saviqs code for that13:54
smartboyhwbobweaver: What do you mean by which one?13:54
bobweaverSaviq,  Code the one htat says persice merdge13:55
smartboyhwHow?13:55
bobweaverthe same way that you build all the oter ones but with his code13:56
bobweaverping Saviq  ^^^^^^^^^^^^^^^^13:56
Saviqwassup?13:57
smartboyhwSaviq: I want to compile your Ubuntu TV code of Precise:)13:57
smartboyhwBut then how?13:57
bobweaverHi Saviq  can you help smartboyhw  with 12.04 and me with this  http://www.youtube.com/watch?v=VlOacuIldM813:57
bobweaverer wrong link13:58
bobweaversorry13:58
bobweaverSaviq,  Sorry this is what I am talking about http://paste.ubuntu.com/1169843/13:58
Saviqsmartboyhw, everything you need is here https://wiki.ubuntu.com/UbuntuTV/Contributing13:58
bobweaverthanks13:58
Saviqbobweaver, there's a bunch of stuff there, you'll have to be patient before I respond to all of that13:59
smartboyhwOK13:59
bobweaverThanks Saviq  the main thing I guess if should I make case statements or new files .14:00
smartboyhwSaviq: I mean compiling Ubuntu TV code in 12.04. I can't run the code14:07
smartboyhwI can't cmake, it has "unity-core-4.0" not found14:08
Saviqsmartboyhw, as bobweaver said, the closest thing is the precise_merge branch14:08
Saviqsmartboyhw, lp:~saviq/ubuntutv/precise_merge14:08
smartboyhwThanks14:08
Saviqthat's not to say that's in any way complete14:08
Saviqthere's all kinds of bugs14:08
smartboyhwSaviq: It works at least.14:19
bobweaverSaviq,  yeah when 12.04 started using sturt manager in qt everything for the tv went down the tubes (QT)14:21
tgm4883Saviq, can I PM?14:33
Saviqtgm4883, sure14:34
bobweaverSaviq,  tgm4883  popey  mhall119  jhodapp       How to get this more popular  ?   http://www.youtube.com/watch?v=VlOacuIldM8&feature=g-upl14:36
bobweaveralso tgm4883  when you get a chance what is up with you  scope ? did you upgrade it ?14:38
tgm4883bobweaver, I just made it work in 12.10, although I don't think I commited those changes to the branch yet14:38
tgm4883I haven't added any preview stuff yet14:38
bobweavertgm4883,  I will take care of previes if you like14:40
bobweavershould almost be pplug and play after what I did to the previews on my test unity 3d last night14:40
tgm4883If you want to add previews and submit a merge request I'll take a look14:40
bobweavertgm4883, it is not in the scope it is in unity its self14:41
bobweaverunity/dash/previews14:41
bobweaverthat is where all the code14:41
bobweaveris14:41
bobweaver!enter | bobweaver14:41
tgm4883well the lens has to support previews though right?14:41
bobweaveris there support for images14:42
bobweavermeaning does the lens read the image ?14:42
bobweaverand the name of the file14:42
bobweaverif so14:42
bobweaverthen there is no need to make previews in the scope its self14:42
tgm4883if the scope/lens doesn't do anything with previews, then what does the preview show?14:43
bobweaverlook14:43
bobweaverhttp://paste.ubuntu.com/1169958/14:43
bobweaverit shows what it is told to show that is Moviepreview.cpp14:44
bobweaverthe previews are a framework all in them selfs14:44
tgm4883right, but what is moviepreview?14:45
tgm4883does it just do partial playback?14:45
bobweaverit is what is called to get the data from the scope14:45
bobweavernot yet ;)14:45
bobweaverI am trying to rip open gnome-shushi and add that to it14:45
bobweaverso that spacebar in the lens loads gnomesushi stuff14:46
tgm4883I get that if the scope doesn't do previews it will still work, but I don't get what would happen if you right click a recording in there14:46
bobweaversorry in the dash that is .14:46
bobweaverNot sure push the scope and lets find out :)14:46
tgm4883it's at home14:46
tgm4883and I don't think I can SSH in14:47
bobweaverahh cool14:47
tgm4883let me check14:47
tgm4883oh nm, it's on my netbook, which is at home and off :(14:47
smartboyhwUH oh14:48
bobweaverahh too bad well when you get home ....14:48
bobweaverI am going to play with the old one and see what I can do14:48
bobweaverjust as a test14:48
smartboyhwbobweaver: http://pastebin.com/rzWwjd9814:48
bobweaverwhat is branch ?14:49
tgm4883bobweaver, I think I'm going to have to make a lens anyway14:49
smartboyhwA readable version:)14:49
bobweavertgm4883,  ^^14:49
tgm4883https://code.launchpad.net/~mythbuntu/mythbuntu/unity-scope-mythtv14:49
bobweaverthanks tgm4883  and smartboyhw14:49
tgm4883bobweaver, I'm going to have to make a lens I think so I can have it do the right stuff with the previews14:49
tgm4883so I can return show titles, and drill down to episodes14:49
bobweavertgm4883,  so you mind if I help ?14:50
tgm4883sure14:50
bobweaverOk give me like 3 hours and I will report back :)14:50
tgm4883bobweaver, heh, OK14:50
bobweaveralright here goes nothing15:12
bobweaverbrb15:13
smartboyhwbrb15:13
bobweaverok looking at error log15:16
smartboyhwo/ bobweaver, you're back:)15:16
bobweavertgm4883,  I have asked davidcalle to take a look at it we will see what happens15:20
bobweaverbut it looks like something is timming out either that or my back end is messy15:21
bobweavertvtgm4883,  <bobweavertv> davidcalle,  that did the trick thanks a ton15:48
bobweavertv<davidcalle> bobweavertv, no problem ;)15:48
bobweavertv<bobweavertv> I now have mythtv in my unity 3d TV15:48
bobweavertvbut It is not showing any videos15:49
bobweavertvmaybe backend ?15:49
bobweavertvyeah tgm4883  I am going to need help setting up a frontend  to my backend15:51
smartboyhwBye bobweavertv and all16:24
bobweavertvcya smartboyhw16:24
tgm4883bobweavertv,17:37
tgm4883bobweavertv, ok17:37
bobweavertvhey tgm4883  sorry I was walkiing my dog17:41
tgm4883no worries17:41
bobweavertvbut when you get a chance maybe you can help me with myth so I can test this thng on previews ?17:41
tgm4883so you aren't getting anything from the backend?17:42
bobweavertvno17:42
tgm4883ok17:42
bobweavertvI have team viewer on both boxs17:42
tgm4883so that is easy enough to test with how I did the scope17:42
bobweavertvyeah the scope works17:42
bobweavertvneed to add a line of code17:42
bobweavertvto myth.py17:43
bobweavertvor what ever17:43
bobweavertvunder lib david callee helped17:43
tgm4883mythtvapi.py?17:43
bobweavertvbut I can not connect to backend on 12.10 box17:43
bobweavertvyes that file line 31 I will push code17:44
bobweavertv<davidcalle> bobweavertv, http://bazaar.launchpad.net/~josephjamesmills/+junk/mythtv-scope/view/head:/lib/mythtvapi.py your issue is here, findBE () returns MYTHPROTOCOLPORT, but if  results is empty, MYTHPROTOCOLPORT doesn't exist. You need to declare MYTHPROTOCOLPORT before the loop on line 32, MYTHPROTOCOLPORT=None on line 31 for example17:44
tgm4883hmm17:46
tgm4883Does it work with that set to None?17:46
bobweavertvso I did what he said17:46
tgm4883because I don't think it would17:46
bobweavertvYes it works great17:46
tgm4883ok17:46
bobweavertvI see all the stuff in the filters17:46
tgm4883bobweavertv, well, it "works great" but you can't see anything from your backend17:46
tgm4883so maybe it isn't "working great"17:46
bobweavertvthere error I get is that I can not connect to back end17:47
bobweavertvyes it still needs love17:47
bobweavertvbut it is a start17:47
tgm4883bobweavertv, probably because the port is set to None ;)17:47
bobweavertveven in frontend I can not connect to back17:48
tgm4883is the backend started?17:48
bobweavertvon 12.10 machine I just purged and re-installed everything17:48
bobweavertvI mean everything mysql the works17:48
bobweavertvI am just getting back to the 12.10 machine17:48
bobweavertvYes17:49
bobweavertvit is working now17:49
tgm4883everything works?17:49
bobweavertvI hade to set both the ip's to be the same in backend17:49
bobweavertvtesting brb17:49
tgm4883what were they set to before17:50
bobweavertvyes I aam now connected testing scope now17:50
tgm4883ok17:50
bobweavertvnothing so far :(17:51
bobweavertvrebooting17:51
tgm4883nothing in previews, or getting nothing from backend?17:51
bobweavertvdo I need to export anything17:51
bobweavertvbackend is now working and connected17:52
bobweavertvbut I am not getting anything from the api17:52
bobweavertvgoing to restart unity17:52
tgm4883ok try this17:52
tgm4883http://backendserverip:6544/Dvr/GetRecordedList17:52
tgm4883put that in a web browser17:52
bobweavertvyeah xml is comming in17:54
tgm4883bobweavertv, ok, so that link works?17:54
tgm4883that means the backend is working properly17:54
bobweavertvyes sir17:54
tgm4883so change that line you added17:55
bobweavertvno the back ed is def now working17:55
tgm4883set it to 6544 instead of None17:55
bobweavertvwill do17:55
bobweavertvthanks17:55
bobweavertvis there a way to scan for that open port then assign ? ?17:55
bobweavertvlike a function to a var ?17:55
bobweavertvI am not that good at oython17:55
tgm4883it does that already17:55
bobweavertvpython *17:56
tgm4883your backend for some reason apparently isn't responding with that info17:56
tgm4883bobweavertv, actually do this17:56
tgm4883after  results = elem.find("Settings")17:56
tgm4883add this17:56
tgm4883print results17:56
tgm4883then just run that from the command line17:57
tgm4883it should print everything your backend returns regarding configuration17:57
bobweavertvtake out the port stuff ?17:58
tgm4883nah, you can leave that in17:58
bobweavertvcool17:58
tgm4883this will show us if it's returning the port though17:58
bobweavertvcool one sec17:58
bobweavertvI like you install script17:58
tgm4883actually that might just return an object17:58
tgm4883bobweavertv, yea, that's just for testing ;)17:59
tgm4883bobweavertv, also, rather than set that to None or the default 6544, it might be better to exit and log an error18:01
bobweavertvok its running18:01
tgm4883also, at the very bottom you can see              results = mt.search('house')18:02
tgm4883that is faking a unity search term "house" and printing all Title+SubTitle that the backend returns18:02
tgm4883so you can just run that mythtvapi.py file and it will do a search for you18:03
bobweaverOk it is throwing errors18:03
tgm4883pastebin18:03
bobweaverWill paste18:03
bobweaverhttp://paste.ubuntu.com/1170329/18:04
tgm4883bobweaver, did you remove the line you added?18:04
bobweaverNo Just made it to the port Id18:04
bobweaverwill paste lines changed18:05
bobweaverline 31             MYTHPROTOCOLPORT = 654418:06
bobweaverwell18:06
bobweaver31 - 3418:06
bobweaver MYTHPROTOCOLPORT = 654418:06
bobweaver            results = elem.find("Settings")18:06
bobweaver            print results18:06
bobweaverbut I left what was under "print results "18:07
bobweavershould I comment out ?18:07
tgm4883where is  for l in results:18:08
bobweaverOo18:09
bobweaverdo int need to have "" around them in python ?18:09
bobweaverfoo = "6780"18:09
bobweaveror18:09
bobweaverfoo = 678918:09
tgm4883no18:09
tgm4883but let me check if it is expecting a string18:10
tgm4883can you push your changes to your branch so I can see everything?18:11
bobweaveryup18:11
bobweaverhttps://code.launchpad.net/~josephjamesmills/+junk/mythtv-scopes18:13
bobweaverall is in commit message18:14
bobweaveralso in cchangelog well not the lib/myth stuff but that is in the bzr commit mssage18:14
tgm4883meh, looking at this it probably needs a rewrite. Can you just comment out link 34 (put # at the beginning) and run it again18:16
tgm4883bobweaver, laso, how about this in a web browser   http://backendserverip:6544/Myth/GetSetting?Key=MasterServerPort18:18
bobweaver<Key>MasterServerPort</Key>18:19
bobweaver<Value>6543</Value>18:19
tgm4883ok18:19
tgm4883so it does return the port18:20
tgm4883that is what you should set it to18:20
tgm4883so 31 needs to have 654318:20
tgm4883commend out 3418:20
tgm4883comment*18:20
bobweaverahh one int of :)18:21
tgm4883It's probably looking for a string there ( I don't have a backend to test ), but that won't matter until you try to do playback18:22
bobweaverstill getting same error18:23
bobweaveryou want me to comment ouyt the for loop ?18:24
bobweaveror print results18:24
bobweaverI see how this is working this is cool tgm488318:24
tgm4883bobweaver, push changes18:24
bobweaverwill do18:24
bobweaverhttps://code.launchpad.net/~josephjamesmills/+junk/mythtv-scopes118:25
tgm4883why do you keep pushing to new branches?18:26
bobweaverbecause I dont have time to break locks at the moment18:26
tgm4883You didn't comment out line 3418:27
bobweaverI forgot to commit 1st before pushing18:27
bobweaverline 34                for l in results:18:27
bobweaverthat is what I see18:27
tgm4883http://bazaar.launchpad.net/~josephjamesmills/+junk/mythtv-scopes1/view/head:/lib/mythtvapi.py18:28
tgm4883Line 3418:28
tgm4883                MYTHPROTOCOLPORT = l.findtext('Value')18:28
tgm4883should be18:28
tgm4883#                MYTHPROTOCOLPORT = l.findtext('Value')18:28
bobweaverthanks18:28
tgm4883also the port is still 6544 in this18:28
tgm4883I'm not sure this is the latest changes you made18:29
bobweaveryeah I def changed that18:29
bobweaverer18:29
bobweaverbzr18:29
bobweaversame thing line 3918:31
bobweavercan pull back the info gathered18:31
bobweavercan;y*18:31
bobweaverer18:32
bobweavercan't *18:32
bobweaverUnboundLocalError: local variable 'MYTHPROTOCOLPORT' referenced before assignment18:32
bobweaverand then when I comment out18:33
bobweaverNameError: global name 'MYTHPROTOCOLPORT' is not defined18:33
tgm4883bobweaver, ok, I'll look into that, lets try to bypass that for now18:37
bobweaverok18:37
bobweaverhard code in the port ?18:37
tgm4883do you have ~/.mythtv-scope-location.conf"18:37
tgm4883do you have ~/.mythtv-scope-location.conf18:37
bobweaverno sir18:37
tgm4883ok, create one18:38
bobweaverok18:38
tgm4883bobweaver, it should look like http://pastebin.ubuntu.com/1170389/18:38
tgm4883replace <BACKENDIP> with the IP address of your backend18:39
tgm4883hm18:39
bobweaverok18:39
tgm4883this would be easier if I had a backend here to test with :/18:39
tgm4883bobweaver, can you insert a line before 'if NEW:' that says 'print BACKENDLOCATION'18:40
tgm4883then run it to find out what that prints18:41
bobweaversame deal18:45
bobweaverlet me make sure I spelled everything righ t18:45
tgm4883bobweaver, yea it should print the same error18:49
tgm4883but before that it should print something extra18:49
bobweavernothing18:49
tgm4883pm18:49
bobweaveryou18:49
bobweavertup18:49
bobweaverlol18:50
bobweavertgm4883,  http://imagebin.org/22607319:47
bobweaver Woot Woot19:47
bobweavernow to test with TV19:49
bobweaverhttp://imagebin.org/22607419:56

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