/srv/irclogs.ubuntu.com/2012/10/24/#ubuntu-tv.txt

=== chihchun is now known as zz_chihchun
bobweaverpnig tgm4883  have you seen this ? http://www.nfl.com/videos/the-shame-report/0ap2000000084476/The-Shame-Report-Week-715:00
bobweaverI rotflol at the part about DVR15:00
bobweaverGlad I am not on the plane (UDS) is not on Sunday, I would rip that kids head off then his parents for raising a spoiler .15:02
tgm4883bobweaver, I didn't see it.  Cliff notes?15:06
bobweaverSo he is praising DVR and says that the devil makes smart phones. He was at a game(OAK vs JAK) and had used DVR at home for the PIT game. But on his flight back there was a kid on the plane. That said "steelers win twenty-"blah blah blah.  I just thought that it was a nice place to see dvr things15:10
bobweaverbecause the kid was using smart phone to look at scores. And he wants to watch dvr of game after flight. Suggestion: make phone interface for Ubuntu TV so you can watch TV. But Chrooted envo that are also using open vnc are one not safe and two. Can not play videos that well15:12
bobweaveresp. at airports15:14
tgm4883no need to make do VNC, just share the files somehow15:14
tgm4883but yea, airport wifi is terrible15:14
bobweaverto get to interface vnc is used with Ubuntu Phone15:14
bobweaver?15:14
tgm4883and also, you'll need to transcode the videos on the fly15:14
bobweaverchroot armel then vnc to get gui ?15:15
tgm4883bobweaver, why do you need to VNC home from your phone to watch your shows?15:15
bobweavertalking about DVR15:15
bobweaverNO15:15
bobweaverOk so the only way that I know how to install Ubuntu onto phoines goes like this15:15
bobweaverRoot the phone15:15
bobweaverusb storage on15:16
bobweaveradd armel IMG and add vnc or ssh15:16
bobweaverboth15:16
bobweaverthen chroot the armel Ubutnu15:16
bobweaverthen VNC to local host(phone) to get interface of Ubuntu15:17
bobweaverthen you have Ubuntu tv/ all of it15:17
bobweaverOnly works *tested* for me Unity2d15:17
tgm4883well lets not talk about getting Ubuntu on a phone ATM, lets either pretend you have a Ubuntu on the phone already or you have a Ubuntu TV app for android15:17
bobweaverthen you are golden you can connect to myth15:18
tgm4883exactly15:18
bobweaverthen you are spoiler that is what my suggestion was15:18
tgm4883:)15:18
bobweavercan myth DL to cache ?15:18
bobweaverLike computer to computer ?15:19
tgm4883well it would be the frontend (android app) that would need to have the caching built in15:19
bobweavercall backend >> cache or save to phone frontend15:19
tgm4883from the backend perspective, it's just sending a file to whatever asked for it15:19
bobweaverso that way no  Network or "plained networking "15:19
tgm4883plained networking?15:20
bobweaverlike a cron job thta works with calender15:20
tgm4883so on the cron job, it would upload the file to the remote frontend so it could playback off the network?15:21
bobweaverlike I am at office and I do X and Phone does nothing. I am going to plain some thing on a calender that says get these movies for flight home. Or shows15:21
bobweaverwell not cron job But something to do with a calender schedule15:22
tgm4883bobweaver, again, that sound more like functionality that would be in the android app15:22
bobweaverOr built into Unity15:22
tgm4883well yea, any of the frontends15:23
bobweavertgm4883,  will you teach me more about securing Myth at UDS ?15:24
tgm4883heh, securing myth.  hmm15:25
tgm4883There isn't a ton to securing mythtv. Just stick it inside your network. If you want to access it remotely you should use an SSH tunnel15:25
tgm4883There is barely more to securing mythweb, which you can just do a basic apache password on15:26
tgm4883Security in Mythtv has traditionally been "if you're on the local network, you're already trusted"15:26
tgm4883thus the need for an ssh tunnel15:27
bobweaverscp to copy files. What about things like opening myth up to *New* Interface that listen with anon proxy15:27
bobweaverlet me explain15:27
tgm4883rhpot1991 could probably talk more about that15:27
tgm4883if he's around15:27
rhpot1991I am, let me read backlog15:27
tgm4883he's on the team that built the MythTV android app15:27
tgm4883which can stream remotely15:27
bobweaverah cool rhpot1991  if you have the time. How does app listen to backend? this is first time hearing about this for me.15:29
* bobweaver is looking for source 15:29
rhpot1991bobweaver: it uses the service APIS15:29
rhpot1991bobweaver: one second15:29
tgm4883https://play.google.com/store/apps/details?id=org.mythtv&feature=search_result#?t=W251bGwsMSwyLDEsIm9yZy5teXRodHYiXQ..15:29
bobweaverso you are still calling a api with Ip15:29
tgm4883https://play.google.com/store/apps/details?id=org.mythtv&feature=search_result#?t=W251bGwsMSwyLDEsIm9yZy5teXRodHYiXQ..15:29
bobweaveryou set with user ?15:30
rhpot1991https://github.com/MythTV-Clients/MythTV-Android-Frontend15:30
tgm4883https://github.com/MythTV-Clients/MythTV-Android-Frontend/wiki/Access-MythTV-Master-Backend-via-SSH15:30
rhpot1991bobweaver: yep via IP, you can set a home and away profile15:30
tgm4883bammo, how to set it up15:30
tgm4883rhpot1991, hostname would work as well right?15:30
rhpot1991yep15:30
* tgm4883 hasn't setup the remote access15:30
rhpot1991use something like dyndns15:30
rhpot1991ssh tunnel is the secure way to do it15:30
rhpot1991or you can open up port 6544 directly15:31
rhpot1991but there is no security on that15:31
bobweaverCool this is java15:32
rhpot1991yep15:32
rhpot1991so its a frontend android app, and then a java library to do the service api calls15:32
rhpot1991currently runs on tablets and phones, google tv interface is in the works15:33
bobweaverrhpot1991,  you will be at UDS ?15:33
rhpot1991nope :(15:33
bobweaverdan g15:33
rhpot1991one of these times I'll go15:34
rhpot1991generally doesn't work well with work15:34
rhpot1991as far as offline viewing, it cannot do that currently15:35
rhpot1991we have the idea of a playlist feature developing now, something like that could be an option there15:35
rhpot1991bobweaver: I wrote mythexport which will transcode mythtv recordings into a mobile format and then provide a rss feed for them15:35
bobweaverthat is cool15:36
bobweaverI was thinking of making google calender plugin for qml then use that to run jobs for dl to a tmp dir15:37
bobweaverJust a idea though no code for it .. yet ;)15:37
bobweaverBut this is real real cool stuff right here. Great job15:38
rhpot1991mythexport was designed around your plane idea15:42
rhpot1991I had a friend who wanted to watch recordings on his ipod while flying15:42
rhpot1991it has since been ignored in favor of the android app15:42
rhpot1991and the fact that I no longer use iDevices15:43
rhpot1991but it should help or point you in a direction if you wanted to go that sort of rout15:43
bobweaverI see that it prints out xml15:45
bobweaverthat is very useful15:45
rhpot1991bobweaver: http://www.mythtv.org/wiki/Services_API15:52
bobweaverJust seems like whatever I do I am going to have to open up my backend to the public. If I want to use myth from devices. this is where security comes in. I do not think that have that under control15:52
bobweaveryeah that is how I made qml program for myth tv15:52
bobweaverwell in Unity 2d in the dash15:52
bobweaverfor the schedual and using tgm4883  scope and also calling TVDB and also TMDB and not services15:54
rhpot1991bobweaver: ya so the best way to do that is to ssh tunnel15:54
rhpot1991so your remote devices acts as if it is on the local network15:54
rhpot1991https://github.com/MythTV-Clients/MythTV-Android-Frontend/wiki/Access-MythTV-Master-Backend-via-SSH15:54
rhpot1991is how you'd do it in android15:54
bobweaverthanks, here is a testing thingy that I was working on. http://paste.ubuntu.com/1302864/15:56
bobweaverjust like reading the services and printing to screen15:56
bobweaveruseless atm but not for long15:56
bobweaverthere are some global vars that I Must take care of15:57
tgm4883bobweaver, I rewrote the mythtv scope last weekend. It's still alpha, but works again and also cleaned up quite a bit15:57
bobweaverCalender, I will javascript to get time, ip: I will use tgm4883  file and read from that15:58
bobweaveraka ~/.mythtv-scope-location.conf15:58
bobweavertgm4883,  that is for 12.10 ?16:09
tgm4883yea16:09
bobweaverI will test it brb have to boot up 12.1016:10
bobweaverOk so testing results, first thing I noticed is that it is not launching on its own so I launched it (could be unity cache) , after getting it running. tv shows still do not show up in previews(Ones from DVR), Side note: Things that are TV shows that one may have moved over to backend via dvd, are not showing up in previews, But are there and fan art is working for view one of the dash(aka not previews)  Here is a paste of the log http://16:29
bobweaverpaste.ubuntu.com/1302937/16:29
tgm4883bobweaver, is your backend 0.25 or 0.26?16:31
bobweaverSecond testing results: 'player' is not loading, It is loading in browser on click to open movie from dash (view one) testing view 2 : same deal also blah button :)16:31
bobweaverlet me check I think that it is 2516:31
bobweaver0.25.316:33
bobweavertgm4883,  you tested on 25 or 26 ?16:35
tgm48830.2616:35
bobweaverOk I will install 0.26 thanks16:36
tgm4883that is why you are getting the timestamp error16:36
tgm4883which I'll want to fix16:36
tgm4883because 0.26 changes to UTC time in the db16:36
bobweaverI see16:36
bobweaverand that is also player thingy too I see in log16:37
bobweaverFailed to parse release_date since it was not in format: YYYY-MM-DDTHH:MM:SSZ16:37
bobweaverTraceback (most recent call last):16:37
bobweaver  File "./unity-scope-mythtv", line 243, in play_video16:37
bobweaver    return self.on_activate_uri (action, uri)16:37
bobweaver  File "./unity-scope-mythtv", line 247, in on_activate_uri16:37
bobweaver    if not self.player == "/usr/bin/mythavtest":16:37
bobweaverAttributeError: Daemon instance has no attribute 'player'16:37
tgm4883bobweaver, ok, just fixed that16:42
tgm4883it's hardcoded to use VLC right now, so you'll need that installed for playback16:42
bobweavercool16:43
bobweaverI can not seem to find 26 for 11.10 so I think I am going to have to compile16:43
tgm4883bobweaver, sec, let me fix that as well16:45
tgm4883bobweaver, ok, should work with 0.25 now16:46
tgm4883revision 4916:46
bobweaverOk testing16:46
bobweaverstill no deals, http://paste.ubuntu.com/1303050/17:03
bobweaverI am un-sure why it is launching it in browser . I tried to start link ( via vlc ) that is posted in browser but there was a error. Link is http://paste.ubuntu.com/1303085/ wonder if this has to do with the adds ? I mean shooping lens17:12
bobweavernope17:14
bobweaverSeems like lens-meta://MOVIElens-meta://10543lens-meta://NULLlens-meta://NULL  is not suppose to be there17:19
bobweavermaybe line 79 needs to strip the meta info ?  GLib.spawn_async([str(self.player), playuri])17:23
bobweaverOh I think I see because playuri = uri.split('lens-meta://')[0]   is jamming up against the exstion to the video17:25
bobweaverextension *17:25
bobweaverThat is it17:34
bobweaverHow to add to the uri in python ?  like      foo = uri.add(.avi)17:57
tgm4883bobweaver, sorry, had a SAN causing me some trouble at work17:58
tgm4883bobweaver, so what are you trying to di17:58
tgm4883do*17:58
bobweaveror can I add three to this ?   that is fine this is fun !17:58
bobweaverso 2 options17:58
bobweaver('.avilens-meta://')[0]17:58
bobweavercan I use 3 or 4 to move four steps up the string ?17:59
bobweaver('.avilens-meta://')[4]17:59
bobweaverlet me paste what I am testing for avi17:59
tgm4883whats with the .avi part17:59
bobweaverOh I think I see because playuri = uri.split('lens-meta://')[0]   is jamming up against the extension to the video18:00
bobweaverhttp://paste.ubuntu.com/1303189/18:01
bobweaversome reason gnome is not running "Player" from deamon18:01
bobweaverI think18:01
tgm4883so if you look at line 111, you can see it create that string with lens-meta://18:02
tgm4883something odd is  happening, as http://192.168.1.21:6544/Content/GetFile?StorageGroup=Videos&FileName=rented/Beverly%20Hills%20Cop%201/Beverly%20Hills%20Cop%201.avilens-meta://MOVIElens-meta://10857lens-meta://NULLlens-meta://NULL18:03
tgm4883isn't valid18:03
tgm4883actually, no, that looks ok18:04
bobweaveryeah there "Jamming up "18:04
bobweaverso playuri is not working18:04
tgm4883but this def isn't valid18:04
tgm4883playuri = uri.split('.avilens-meta://MOVIElens-meta://10543lens-meta://NULLlens-meta://NULL')[0]18:04
bobweaveryeah that is me learning python :)18:04
tgm4883 so on that code you added, can you put a 'print uri' before your18:05
tgm4883'playuri = ...'18:05
bobweaverit works for only one movie but I do not know wild card for python18:05
bobweaverso I am testing on only avi and only one movie18:05
bobweaversure  I can do that and that is how I debuged18:06
bobweaverso        self.player = '/usr/bin/vlc'           not working so I made into var     it is the exstention's that I am having trouble with. It now launchs vlc but can not get string right due to exstention18:07
bobweaverextension *18:08
tgm4883bobweaver, ok, do this. On the code you posted. replace line 2 with18:12
tgm4883playuri = uri.split('lens-meta://')18:12
tgm4883print  playuri18:12
tgm4883then run that and see what it prints out18:13
bobweaverhttp://192.168.1.21:6544/Content/GetFile?StorageGroup=Videos&FileName=purchased/21 Jump Street/21 Jump Street.avilens-meta://MOVIElens-meta://10543lens-meta://NULLlens-meta://NULL18:15
bobweavereet.avilens-meta:    << need to remove that or put space at line 111 ?18:15
tgm4883bobweaver, from what you posted here http://paste.ubuntu.com/1303189/18:16
tgm4883just commend out line 2, and add the two things I posted above18:16
tgm4883it should print out a list of the items18:16
tgm4883not sure why it isn't working for you, if I just make a simple python script using your uri, it works her18:17
tgm4883here*18:17
bobweaverOk here is paste it is still not removing exstentions and it is not adding so I will try to fix line 111 and make like this18:20
bobweaverpasteing error ^^^^ http://paste.ubuntu.com/1303234/18:21
tgm4883You added the two lines I specified above?18:22
tgm4883what is the output of 'python --version'18:22
bobweaverYes that was OO @ python know. So I put a space in URI  var and give's back correct string. also takes care of line 79  here is paste of lines changed, http://paste.ubuntu.com/1303259/18:27
bobweaverpython version is Python 2.7.318:27
bobweaverNow it is the white space in the names of the movie string(uri )18:30
bobweaverI am tring with cvlc and that is what it is telling me.  Maybe make a function to make spaces in uri be \ instead of just whitespace ? Know how to do that. also tgm4883  answer these questions when ever you can, I understand working18:32
bobweaverTotem Is working !!!!!18:42
tgm4883bobweaver, to use \, you would need to do \\19:02
tgm4883bobweaver, I'm wondering if we can just pass a list instead of a string19:02
tgm4883I pulled that from the remote-videos scope, I don't recall if I had tried passing a list19:03
bobweaverYeah also coupe other things I put notes in the code, Do you have older contril logs and debian files ? I am going to package this thing up19:03
tgm4883bobweaver, I'm going to model it after the packaging in the remote video scope19:04
tgm4883which is why there is a setup.py now19:04
bobweaverWhy not Make ?19:05
tgm4883cause it's all python?19:05
bobweaverI am py noob :)19:06
bobweaverhere is idea's  http://paste.ubuntu.com/1303339/19:06
tgm4883it's going to detect your default video player19:07
bobweaverhttp://www.youtube.com/watch?v=kfrm117Ukr0    Time Index 8:1619:09
bobweaverthat is what I am talking about. maybe even blah button turns into .....19:09
bobweaverwhats idea with blah button ?19:09
puneriQUESTION : How to get involved in Ubuntu TV ?19:10
tgm4883bobweaver, that button is just so I can easily check if a particular issue was fixed. It means nothing right  now19:10
bobweaverpuneri,  have you read the wiki ?19:10
tgm4883puneri, depends on what you want to do, there are many ways to get involved19:11
bobweavertgm4883,  cool any thoughts for future ?19:11
tgm4883puneri, http://www.doadjustyourset.com/2012/10/18/call-for-more-active-community-participation/19:11
puneribobweaver : yes I have, I found launhpad and it advises to join mailing list.19:11
puneritmg4883 : Want to be more on hardware side.19:12
bobweaverpuneri,  you hav installed or played with it ? what do you want to do with it? arm ?19:12
tgm4883mhall119, who would he talk to for that ^19:12
puneribobweaver : No. Will do it. As of now don't have proper board for ARM to port. Earlier had ported other DVR to DM6446.19:13
bobweaverso yeah tgm I am looking for that code. will paste link. could use the button to change player ?19:13
bobweaverpuneri,  I also do not have a arm board :(19:14
bobweavermaybe case statements ? python has case statements correct lol19:14
puneribobweaver : Any list of tested platforms ?19:14
bobweaverI have tested on like 6 different machines have not made a list yet. But that is a good idea19:15
puneribobweaver : Then we should edit the wiki and add it. Am I allowed to do so ?19:16
bobweaverpuneri,  yes but you might want to wait around and also talk to mhall11919:17
tgm4883we should probably wait to update that until some actual Ubuntu TV (Unity 3D) code has been tested19:17
punerihas anyone tried it on DM6446 : http://www.dm6446.com/ ?19:18
bobweavertgm4883,  http://bazaar.launchpad.net/~josephjamesmills/ubuntutv/unity-scope-youtube-tv/files/head:/usr/lib/unity-scope-youtube/19:18
bobweaverthat is code I am talking about19:19
bobweaverpuneri,  not sure. I have seen some videos on panda boards and cell phones (droid atrix) but that is it for arm19:20
puneribobweaver : As per my understanding any DVR needs proper signal processing that would mean good DSP. Not sure about panda & beagle.19:21
puneriSuggest me something which I may contribute to now ?19:23
tgm4883bobweaver, I've added the packaging back in now r5019:24
tgm4883puneri, I'm not sure there is anything you can contribute to hardware-wise right now19:25
bobweaverpuneri,  yeah I am also unsure. as I can not afford that stuff :( , But I do have it running real well on system 76 notebook I will post specs. It is small not arm small but notebook small19:27
bobweaverthis thing has a Intel Atom  1.5GHz  and runs real well19:31
tgm4883bobweaver, he left19:33
bobweaverI am also giving away a old computer that I painted at linux users group in Nov after talking about Ubuntu TV. Here are Pictures :)    http://imagebin.org/233135    http://imagebin.org/233136        I will present My modifed version of Unity 2d on it then give it away at the end of the night after presenting on it19:41
mhall119bobweaver: has tgm4883 filled you in on the changes to the way community works on TV?19:50
tgm4883mhall119, I've done no such thing19:50
tgm4883figured we'd discuss it a bit in 3 days19:50
tgm4883err, 4 days19:50
mhall119I wanted to give him the info ahead of time19:51
tgm4883good idea19:51
tgm4883if you want to fill him in, I'm going to go grab lunch19:51
tgm4883or just find the appropriate logs19:51
mhall119I'm about to head to sleep, it's getting late here and I only got a few hours on the plane19:51
mhall119bobweaver: PM me your email address, I'll write it all up in the morning (Copenhagen time)19:52

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