=== chihchun-afk is now known as chihchun | ||
=== jussio1 is now known as jussi | ||
smartboyhw | o/ bobweaver | 12:43 |
---|---|---|
cob-olp | what are the different components of ubuntu tv called lenses? | 12:59 |
bobweaver | Hello | 13:31 |
smartboyhw | o/ bobweaver: How are ya:) | 13:31 |
bobweaver | components | 13:31 |
bobweaver | Alot better then yesterdat smartboyhw | 13:32 |
smartboyhw | :) | 13:32 |
bobweaver | you see my new videos up on youtube ? | 13:32 |
smartboyhw | No, give me the links:) | 13:32 |
bobweaver | http://www.youtube.com/watch?v=VlOacuIldM8 | 13:32 |
bobweaver | that is unity 3d | 13:33 |
bobweaver | standalone form-factor TV | 13:33 |
bobweaver | opengl es is not working all the way | 13:33 |
ogra_ | bobweaver, push the destop guys to upload the latest compiz ;) | 13:34 |
ogra_ | arm is waiting for GLES too | 13:34 |
ogra_ | (they somehow omitted it even though their package was created a day after gles was added upstream) | 13:35 |
bobweaver | I treied but It is concept code | 13:35 |
ogra_ | it will go into quantal really soon | 13:35 |
ogra_ | its a requirement of arm desktop | 13:35 |
smartboyhw | God job, bobweaver | 13:35 |
bobweaver | Yeah I would love to but I can not get a stright anwser | 13:35 |
bobweaver | about naming conventions and files | 13:36 |
bobweaver | so I just over wrote the whole dash folder | 13: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 though | 13:36 |
bobweaver | Like I do not know if I should use case statements or just make new {cpp,h} files | 13:37 |
bobweaver | I asked that question like 5 days ago | 13:37 |
ogra_ | there should be a PPA somewhere that builds directly from upstream iirc | 13:37 |
bobweaver | brb I will pastebin it | 13:37 |
smartboyhw | :) | 13:37 |
ogra_ | you should ask in #ubuntu-desktop i'm sure they can oint you to it | 13:38 |
ogra_ | *point | 13:38 |
bobweaver | This is my rock and hardplace | 13:38 |
bobweaver | http://paste.ubuntu.com/1169843/ | 13:38 |
bobweaver | will do thansk ogra_ | 13:39 |
smartboyhw | :) | 13:40 |
smartboyhw | o/ bobweaver | 13:53 |
smartboyhw | bobweaver: Will try to compile the Ubuntu TV source code in 12.04:) | 13:53 |
bobweaver | smartboyhw, which one ? | 13:54 |
bobweaver | use saviqs code for that | 13:54 |
smartboyhw | bobweaver: What do you mean by which one? | 13:54 |
bobweaver | Saviq, Code the one htat says persice merdge | 13:55 |
smartboyhw | How? | 13:55 |
bobweaver | the same way that you build all the oter ones but with his code | 13:56 |
bobweaver | ping Saviq ^^^^^^^^^^^^^^^^ | 13:56 |
Saviq | wassup? | 13:57 |
smartboyhw | Saviq: I want to compile your Ubuntu TV code of Precise:) | 13:57 |
smartboyhw | But then how? | 13:57 |
bobweaver | Hi Saviq can you help smartboyhw with 12.04 and me with this http://www.youtube.com/watch?v=VlOacuIldM8 | 13:57 |
bobweaver | er wrong link | 13:58 |
bobweaver | sorry | 13:58 |
bobweaver | Saviq, Sorry this is what I am talking about http://paste.ubuntu.com/1169843/ | 13:58 |
Saviq | smartboyhw, everything you need is here https://wiki.ubuntu.com/UbuntuTV/Contributing | 13:58 |
bobweaver | thanks | 13:58 |
Saviq | bobweaver, there's a bunch of stuff there, you'll have to be patient before I respond to all of that | 13:59 |
smartboyhw | OK | 13:59 |
bobweaver | Thanks Saviq the main thing I guess if should I make case statements or new files . | 14:00 |
smartboyhw | Saviq: I mean compiling Ubuntu TV code in 12.04. I can't run the code | 14:07 |
smartboyhw | I can't cmake, it has "unity-core-4.0" not found | 14:08 |
Saviq | smartboyhw, as bobweaver said, the closest thing is the precise_merge branch | 14:08 |
Saviq | smartboyhw, lp:~saviq/ubuntutv/precise_merge | 14:08 |
smartboyhw | Thanks | 14:08 |
Saviq | that's not to say that's in any way complete | 14:08 |
Saviq | there's all kinds of bugs | 14:08 |
smartboyhw | Saviq: It works at least. | 14:19 |
bobweaver | Saviq, yeah when 12.04 started using sturt manager in qt everything for the tv went down the tubes (QT) | 14:21 |
tgm4883 | Saviq, can I PM? | 14:33 |
Saviq | tgm4883, sure | 14:34 |
bobweaver | Saviq, tgm4883 popey mhall119 jhodapp How to get this more popular ? http://www.youtube.com/watch?v=VlOacuIldM8&feature=g-upl | 14:36 |
bobweaver | also tgm4883 when you get a chance what is up with you scope ? did you upgrade it ? | 14:38 |
tgm4883 | bobweaver, I just made it work in 12.10, although I don't think I commited those changes to the branch yet | 14:38 |
tgm4883 | I haven't added any preview stuff yet | 14:38 |
bobweaver | tgm4883, I will take care of previes if you like | 14:40 |
bobweaver | should almost be pplug and play after what I did to the previews on my test unity 3d last night | 14:40 |
tgm4883 | If you want to add previews and submit a merge request I'll take a look | 14:40 |
bobweaver | tgm4883, it is not in the scope it is in unity its self | 14:41 |
bobweaver | unity/dash/previews | 14:41 |
bobweaver | that is where all the code | 14:41 |
bobweaver | is | 14:41 |
bobweaver | !enter | bobweaver | 14:41 |
tgm4883 | well the lens has to support previews though right? | 14:41 |
bobweaver | is there support for images | 14:42 |
bobweaver | meaning does the lens read the image ? | 14:42 |
bobweaver | and the name of the file | 14:42 |
bobweaver | if so | 14:42 |
bobweaver | then there is no need to make previews in the scope its self | 14:42 |
tgm4883 | if the scope/lens doesn't do anything with previews, then what does the preview show? | 14:43 |
bobweaver | look | 14:43 |
bobweaver | http://paste.ubuntu.com/1169958/ | 14:43 |
bobweaver | it shows what it is told to show that is Moviepreview.cpp | 14:44 |
bobweaver | the previews are a framework all in them selfs | 14:44 |
tgm4883 | right, but what is moviepreview? | 14:45 |
tgm4883 | does it just do partial playback? | 14:45 |
bobweaver | it is what is called to get the data from the scope | 14:45 |
bobweaver | not yet ;) | 14:45 |
bobweaver | I am trying to rip open gnome-shushi and add that to it | 14:45 |
bobweaver | so that spacebar in the lens loads gnomesushi stuff | 14:46 |
tgm4883 | I 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 there | 14:46 |
bobweaver | sorry in the dash that is . | 14:46 |
bobweaver | Not sure push the scope and lets find out :) | 14:46 |
tgm4883 | it's at home | 14:46 |
tgm4883 | and I don't think I can SSH in | 14:47 |
bobweaver | ahh cool | 14:47 |
tgm4883 | let me check | 14:47 |
tgm4883 | oh nm, it's on my netbook, which is at home and off :( | 14:47 |
smartboyhw | UH oh | 14:48 |
bobweaver | ahh too bad well when you get home .... | 14:48 |
bobweaver | I am going to play with the old one and see what I can do | 14:48 |
bobweaver | just as a test | 14:48 |
smartboyhw | bobweaver: http://pastebin.com/rzWwjd98 | 14:48 |
bobweaver | what is branch ? | 14:49 |
tgm4883 | bobweaver, I think I'm going to have to make a lens anyway | 14:49 |
smartboyhw | A readable version:) | 14:49 |
bobweaver | tgm4883, ^^ | 14:49 |
tgm4883 | https://code.launchpad.net/~mythbuntu/mythbuntu/unity-scope-mythtv | 14:49 |
bobweaver | thanks tgm4883 and smartboyhw | 14:49 |
tgm4883 | bobweaver, I'm going to have to make a lens I think so I can have it do the right stuff with the previews | 14:49 |
tgm4883 | so I can return show titles, and drill down to episodes | 14:49 |
bobweaver | tgm4883, so you mind if I help ? | 14:50 |
tgm4883 | sure | 14:50 |
bobweaver | Ok give me like 3 hours and I will report back :) | 14:50 |
tgm4883 | bobweaver, heh, OK | 14:50 |
bobweaver | alright here goes nothing | 15:12 |
bobweaver | brb | 15:13 |
smartboyhw | brb | 15:13 |
bobweaver | ok looking at error log | 15:16 |
smartboyhw | o/ bobweaver, you're back:) | 15:16 |
bobweaver | tgm4883, I have asked davidcalle to take a look at it we will see what happens | 15:20 |
bobweaver | but it looks like something is timming out either that or my back end is messy | 15:21 |
bobweavertv | tgm4883, <bobweavertv> davidcalle, that did the trick thanks a ton | 15:48 |
bobweavertv | <davidcalle> bobweavertv, no problem ;) | 15:48 |
bobweavertv | <bobweavertv> I now have mythtv in my unity 3d TV | 15:48 |
bobweavertv | but It is not showing any videos | 15:49 |
bobweavertv | maybe backend ? | 15:49 |
bobweavertv | yeah tgm4883 I am going to need help setting up a frontend to my backend | 15:51 |
smartboyhw | Bye bobweavertv and all | 16:24 |
bobweavertv | cya smartboyhw | 16:24 |
tgm4883 | bobweavertv, | 17:37 |
tgm4883 | bobweavertv, ok | 17:37 |
bobweavertv | hey tgm4883 sorry I was walkiing my dog | 17:41 |
tgm4883 | no worries | 17:41 |
bobweavertv | but when you get a chance maybe you can help me with myth so I can test this thng on previews ? | 17:41 |
tgm4883 | so you aren't getting anything from the backend? | 17:42 |
bobweavertv | no | 17:42 |
tgm4883 | ok | 17:42 |
bobweavertv | I have team viewer on both boxs | 17:42 |
tgm4883 | so that is easy enough to test with how I did the scope | 17:42 |
bobweavertv | yeah the scope works | 17:42 |
bobweavertv | need to add a line of code | 17:42 |
bobweavertv | to myth.py | 17:43 |
bobweavertv | or what ever | 17:43 |
bobweavertv | under lib david callee helped | 17:43 |
tgm4883 | mythtvapi.py? | 17:43 |
bobweavertv | but I can not connect to backend on 12.10 box | 17:43 |
bobweavertv | yes that file line 31 I will push code | 17: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 example | 17:44 |
tgm4883 | hmm | 17:46 |
tgm4883 | Does it work with that set to None? | 17:46 |
bobweavertv | so I did what he said | 17:46 |
tgm4883 | because I don't think it would | 17:46 |
bobweavertv | Yes it works great | 17:46 |
tgm4883 | ok | 17:46 |
bobweavertv | I see all the stuff in the filters | 17:46 |
tgm4883 | bobweavertv, well, it "works great" but you can't see anything from your backend | 17:46 |
tgm4883 | so maybe it isn't "working great" | 17:46 |
bobweavertv | there error I get is that I can not connect to back end | 17:47 |
bobweavertv | yes it still needs love | 17:47 |
bobweavertv | but it is a start | 17:47 |
tgm4883 | bobweavertv, probably because the port is set to None ;) | 17:47 |
bobweavertv | even in frontend I can not connect to back | 17:48 |
tgm4883 | is the backend started? | 17:48 |
bobweavertv | on 12.10 machine I just purged and re-installed everything | 17:48 |
bobweavertv | I mean everything mysql the works | 17:48 |
bobweavertv | I am just getting back to the 12.10 machine | 17:48 |
bobweavertv | Yes | 17:49 |
bobweavertv | it is working now | 17:49 |
tgm4883 | everything works? | 17:49 |
bobweavertv | I hade to set both the ip's to be the same in backend | 17:49 |
bobweavertv | testing brb | 17:49 |
tgm4883 | what were they set to before | 17:50 |
bobweavertv | yes I aam now connected testing scope now | 17:50 |
tgm4883 | ok | 17:50 |
bobweavertv | nothing so far :( | 17:51 |
bobweavertv | rebooting | 17:51 |
tgm4883 | nothing in previews, or getting nothing from backend? | 17:51 |
bobweavertv | do I need to export anything | 17:51 |
bobweavertv | backend is now working and connected | 17:52 |
bobweavertv | but I am not getting anything from the api | 17:52 |
bobweavertv | going to restart unity | 17:52 |
tgm4883 | ok try this | 17:52 |
tgm4883 | http://backendserverip:6544/Dvr/GetRecordedList | 17:52 |
tgm4883 | put that in a web browser | 17:52 |
bobweavertv | yeah xml is comming in | 17:54 |
tgm4883 | bobweavertv, ok, so that link works? | 17:54 |
tgm4883 | that means the backend is working properly | 17:54 |
bobweavertv | yes sir | 17:54 |
tgm4883 | so change that line you added | 17:55 |
bobweavertv | no the back ed is def now working | 17:55 |
tgm4883 | set it to 6544 instead of None | 17:55 |
bobweavertv | will do | 17:55 |
bobweavertv | thanks | 17:55 |
bobweavertv | is there a way to scan for that open port then assign ? ? | 17:55 |
bobweavertv | like a function to a var ? | 17:55 |
bobweavertv | I am not that good at oython | 17:55 |
tgm4883 | it does that already | 17:55 |
bobweavertv | python * | 17:56 |
tgm4883 | your backend for some reason apparently isn't responding with that info | 17:56 |
tgm4883 | bobweavertv, actually do this | 17:56 |
tgm4883 | after results = elem.find("Settings") | 17:56 |
tgm4883 | add this | 17:56 |
tgm4883 | print results | 17:56 |
tgm4883 | then just run that from the command line | 17:57 |
tgm4883 | it should print everything your backend returns regarding configuration | 17:57 |
bobweavertv | take out the port stuff ? | 17:58 |
tgm4883 | nah, you can leave that in | 17:58 |
bobweavertv | cool | 17:58 |
tgm4883 | this will show us if it's returning the port though | 17:58 |
bobweavertv | cool one sec | 17:58 |
bobweavertv | I like you install script | 17:58 |
tgm4883 | actually that might just return an object | 17:58 |
tgm4883 | bobweavertv, yea, that's just for testing ;) | 17:59 |
tgm4883 | bobweavertv, also, rather than set that to None or the default 6544, it might be better to exit and log an error | 18:01 |
bobweavertv | ok its running | 18:01 |
tgm4883 | also, at the very bottom you can see results = mt.search('house') | 18:02 |
tgm4883 | that is faking a unity search term "house" and printing all Title+SubTitle that the backend returns | 18:02 |
tgm4883 | so you can just run that mythtvapi.py file and it will do a search for you | 18:03 |
bobweaver | Ok it is throwing errors | 18:03 |
tgm4883 | pastebin | 18:03 |
bobweaver | Will paste | 18:03 |
bobweaver | http://paste.ubuntu.com/1170329/ | 18:04 |
tgm4883 | bobweaver, did you remove the line you added? | 18:04 |
bobweaver | No Just made it to the port Id | 18:04 |
bobweaver | will paste lines changed | 18:05 |
bobweaver | line 31 MYTHPROTOCOLPORT = 6544 | 18:06 |
bobweaver | well | 18:06 |
bobweaver | 31 - 34 | 18:06 |
bobweaver | MYTHPROTOCOLPORT = 6544 | 18:06 |
bobweaver | results = elem.find("Settings") | 18:06 |
bobweaver | print results | 18:06 |
bobweaver | but I left what was under "print results " | 18:07 |
bobweaver | should I comment out ? | 18:07 |
tgm4883 | where is for l in results: | 18:08 |
bobweaver | Oo | 18:09 |
bobweaver | do int need to have "" around them in python ? | 18:09 |
bobweaver | foo = "6780" | 18:09 |
bobweaver | or | 18:09 |
bobweaver | foo = 6789 | 18:09 |
tgm4883 | no | 18:09 |
tgm4883 | but let me check if it is expecting a string | 18:10 |
tgm4883 | can you push your changes to your branch so I can see everything? | 18:11 |
bobweaver | yup | 18:11 |
bobweaver | https://code.launchpad.net/~josephjamesmills/+junk/mythtv-scopes | 18:13 |
bobweaver | all is in commit message | 18:14 |
bobweaver | also in cchangelog well not the lib/myth stuff but that is in the bzr commit mssage | 18:14 |
tgm4883 | meh, looking at this it probably needs a rewrite. Can you just comment out link 34 (put # at the beginning) and run it again | 18:16 |
tgm4883 | bobweaver, laso, how about this in a web browser http://backendserverip:6544/Myth/GetSetting?Key=MasterServerPort | 18:18 |
bobweaver | <Key>MasterServerPort</Key> | 18:19 |
bobweaver | <Value>6543</Value> | 18:19 |
tgm4883 | ok | 18:19 |
tgm4883 | so it does return the port | 18:20 |
tgm4883 | that is what you should set it to | 18:20 |
tgm4883 | so 31 needs to have 6543 | 18:20 |
tgm4883 | commend out 34 | 18:20 |
tgm4883 | comment* | 18:20 |
bobweaver | ahh one int of :) | 18:21 |
tgm4883 | It'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 playback | 18:22 |
bobweaver | still getting same error | 18:23 |
bobweaver | you want me to comment ouyt the for loop ? | 18:24 |
bobweaver | or print results | 18:24 |
bobweaver | I see how this is working this is cool tgm4883 | 18:24 |
tgm4883 | bobweaver, push changes | 18:24 |
bobweaver | will do | 18:24 |
bobweaver | https://code.launchpad.net/~josephjamesmills/+junk/mythtv-scopes1 | 18:25 |
tgm4883 | why do you keep pushing to new branches? | 18:26 |
bobweaver | because I dont have time to break locks at the moment | 18:26 |
tgm4883 | You didn't comment out line 34 | 18:27 |
bobweaver | I forgot to commit 1st before pushing | 18:27 |
bobweaver | line 34 for l in results: | 18:27 |
bobweaver | that is what I see | 18:27 |
tgm4883 | http://bazaar.launchpad.net/~josephjamesmills/+junk/mythtv-scopes1/view/head:/lib/mythtvapi.py | 18:28 |
tgm4883 | Line 34 | 18:28 |
tgm4883 | MYTHPROTOCOLPORT = l.findtext('Value') | 18:28 |
tgm4883 | should be | 18:28 |
tgm4883 | # MYTHPROTOCOLPORT = l.findtext('Value') | 18:28 |
bobweaver | thanks | 18:28 |
tgm4883 | also the port is still 6544 in this | 18:28 |
tgm4883 | I'm not sure this is the latest changes you made | 18:29 |
bobweaver | yeah I def changed that | 18:29 |
bobweaver | er | 18:29 |
bobweaver | bzr | 18:29 |
bobweaver | same thing line 39 | 18:31 |
bobweaver | can pull back the info gathered | 18:31 |
bobweaver | can;y* | 18:31 |
bobweaver | er | 18:32 |
bobweaver | can't * | 18:32 |
bobweaver | UnboundLocalError: local variable 'MYTHPROTOCOLPORT' referenced before assignment | 18:32 |
bobweaver | and then when I comment out | 18:33 |
bobweaver | NameError: global name 'MYTHPROTOCOLPORT' is not defined | 18:33 |
tgm4883 | bobweaver, ok, I'll look into that, lets try to bypass that for now | 18:37 |
bobweaver | ok | 18:37 |
bobweaver | hard code in the port ? | 18:37 |
tgm4883 | do you have ~/.mythtv-scope-location.conf" | 18:37 |
tgm4883 | do you have ~/.mythtv-scope-location.conf | 18:37 |
bobweaver | no sir | 18:37 |
tgm4883 | ok, create one | 18:38 |
bobweaver | ok | 18:38 |
tgm4883 | bobweaver, it should look like http://pastebin.ubuntu.com/1170389/ | 18:38 |
tgm4883 | replace <BACKENDIP> with the IP address of your backend | 18:39 |
tgm4883 | hm | 18:39 |
bobweaver | ok | 18:39 |
tgm4883 | this would be easier if I had a backend here to test with :/ | 18:39 |
tgm4883 | bobweaver, can you insert a line before 'if NEW:' that says 'print BACKENDLOCATION' | 18:40 |
tgm4883 | then run it to find out what that prints | 18:41 |
bobweaver | same deal | 18:45 |
bobweaver | let me make sure I spelled everything righ t | 18:45 |
tgm4883 | bobweaver, yea it should print the same error | 18:49 |
tgm4883 | but before that it should print something extra | 18:49 |
bobweaver | nothing | 18:49 |
tgm4883 | pm | 18:49 |
bobweaver | you | 18:49 |
bobweaver | tup | 18:49 |
bobweaver | lol | 18:50 |
bobweaver | tgm4883, http://imagebin.org/226073 | 19:47 |
bobweaver | Woot Woot | 19:47 |
bobweaver | now to test with TV | 19:49 |
bobweaver | http://imagebin.org/226074 | 19:56 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!