pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TiVo Desktop 2.6
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
windracer



Joined: 04 Jan 2008
Posts: 151
Location: St. Pete, FL

PostPosted: Wed Jun 25, 2008 5:35 am    Post subject: Reply with quote

Finally getting around to playing with the push feature ... very cool.

Is there a way to override the TSN display on the web admin page with a nicer name? Maybe using the TiVo-specific section of pytivo.conf? That way the TiVo list would show Office, Bedroom, etc. instead of 230xxxxxx, 648xxxxxx, etc.?

_________________
pyTiVo on Ubuntu 8.10
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
PaulS



Joined: 04 Jan 2008
Posts: 140

PostPosted: Wed Jun 25, 2008 5:36 am    Post subject: Reply with quote

Which branch are you using for "push" ?

I can't remember whose branch I'm using, but it's not working.
Back to top
View user's profile Send private message
windracer



Joined: 04 Jan 2008
Posts: 151
Location: St. Pete, FL

PostPosted: Wed Jun 25, 2008 5:52 am    Post subject: Reply with quote

I'm using wmcbrine's branch, and the last time I upgraded was on 6/13 so whatever his current build was at that time.

All I had to do was add tivo_username and tivo_password to my conf file and I was able to push an .AVI to my THD through the web interface. I haven't tried web video yet.

_________________
pyTiVo on Ubuntu 8.10
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
PaulS



Joined: 04 Jan 2008
Posts: 140

PostPosted: Wed Jun 25, 2008 5:55 am    Post subject: Reply with quote

I think I'm using krkeegan's latest branch, although I'm not sure since I'm not in front of my pyTivo server at the moment.
I have defined those values, and when I attempt to push a file to my S3, I'm presented with an error.

I'll give wmcbrine's branch a spin tonight and see if that clears things up. He's done quite a bit of merging/cleaning over the past week or so.
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 444

PostPosted: Wed Jun 25, 2008 2:17 pm    Post subject: Reply with quote

windracer wrote:
Is there a way to override the TSN display on the web admin page with a nicer name?

Currently, the list of TiVos is derived from those that connect to pyTivo once it broadcasts its availability. The http requests don't include the TiVo's name. To get it, pyTivo would either have to connect back to the connecting TiVos on port 2190, or wait, and collect the TiVos' own announcements. The former is what I do in my TiVo Remote program, and I'm thinking of adapting that to pyTivo. (Waiting for the announcements is really slow.)

_________________
My pyTivo fork
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 444

PostPosted: Sun Jun 29, 2008 1:33 pm    Post subject: Reply with quote

OK, I've implemented the name-instead-of-tsn thing and put it in my repo. Note that this causes some extra requests, and you may see some error messages, but they're harmless.

Edit: Got those suppressed.

_________________
My pyTivo fork
Back to top
View user's profile Send private message
jcthorne



Joined: 30 Jan 2008
Posts: 22
Location: Houston, TX

PostPosted: Tue Jul 01, 2008 9:20 am    Post subject: Reply with quote

I just downloaded WMCs latest snapshot 7/1 and unpacked it. Used the web admin tool to add tivo_username and tivo_password to my server section.

Then went to the videos section and selected one by name and the clicked send to tivo

pytivo waited a while and the localhost screen came back. No errors on the web browser screen or the pytivo window. The tivo is not transferring the file. What am I doing wrong? Did I miss some setting or other to get this up and running. Never used push before, now just looked like a good time to jump in and try.

Thanks!

OK, I got this one figured out. Had to change the mind.tivo server name in mind.py file to stagingmind.tivo due to the version of the tivo software I am not allowed to talk about.

Anyway the push worked....sort of.


Last edited by jcthorne on Thu Jul 10, 2008 5:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
PaulS



Joined: 04 Jan 2008
Posts: 140

PostPosted: Tue Jul 01, 2008 9:38 am    Post subject: Reply with quote

Same here with a 6/30 wmcbrine snapshot. Lots of console output, but the file never gets transferred to the TiVo.
I'm not in front of my pyTivo right now, but can provide output later on tonight if needed.
Back to top
View user's profile Send private message
jcthorne



Joined: 30 Jan 2008
Posts: 22
Location: Houston, TX

PostPosted: Thu Jul 10, 2008 5:25 pm    Post subject: Reply with quote

The pushed video ignored the seriesname and seriesid in the metadata file and placed the file in the now playing list rather than the folder for the series where it belongs. I see from reading this thread that others have seen the same behaviour. Wish I could help fix it. Perhaps WMcBrine will have some time for coding pytivo things this weekend......I REALLY like where this is headed though. The push feature works pretty slick!
Back to top
View user's profile Send private message
windracer



Joined: 04 Jan 2008
Posts: 151
Location: St. Pete, FL

PostPosted: Fri Jul 11, 2008 5:08 am    Post subject: Reply with quote

wmcbrine wrote:
OK, I've implemented the name-instead-of-tsn thing and put it in my repo.

I missed this while I was away on vacation last week ... it's great, thanks!

edit: wait, it's not working. When I try to send a file, pyTivo crashes. It looks like it's sending the NAME of the TiVo in the request instead of the TSN:

Quote:
127.0.0.1 - - [11/Jul/2008 10:30:24] "GET /TiVoConnect?Command=Push&Container=Video+Library&File=%2FMovies%2Fhome-movie.avi&tsn=Family+Room HTTP/1.1" 302 -
Traceback (most recent call last):
File "/usr/lib/python2.5/SocketServer.py", line 464, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
self.handle()
File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
self.handle_one_request()
File "/usr/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
method()
File "/usr/local/tivo/pyTivo/httpserver.py", line 94, in do_GET
method(self, query)
File "/usr/local/tivo/pyTivo/plugins/video/video.py", line 502, in Push
handler.send_response(302)
File "/usr/lib/python2.5/BaseHTTPServer.py", line 370, in send_response
self.send_header('Server', self.version_string())
File "/usr/lib/python2.5/BaseHTTPServer.py", line 376, in send_header
self.wfile.write("%s: %s\r\n" % (keyword, value))
File "/usr/lib/python2.5/socket.py", line 262, in write
self.flush()
File "/usr/lib/python2.5/socket.py", line 249, in flush
self._sock.sendall(buffer)
error: (32, 'Broken pipe')

_________________
pyTiVo on Ubuntu 8.10


Last edited by windracer on Fri Jul 11, 2008 6:35 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
windracer



Joined: 04 Jan 2008
Posts: 151
Location: St. Pete, FL

PostPosted: Fri Jul 11, 2008 5:21 am    Post subject: Reply with quote

Is there a way to cancel a push?

I initiated a push through the web admin page but apparently the file has an invalid audio codec so ffmpeg can't process it. In my pytivo.log I see the request just looping over and over again as the TiVo requests the file and pyTivo tries to send it.

I did this remotely, so I'm not near my TiVo. Can this only be cancelled from the To Do List of the box? I tried restarting pyTivo but of course that didn't help since it's the TiVo itself initiating the request.

edit: nevermind, it looks like after 30 attempts it gave up. Whew.

_________________
pyTiVo on Ubuntu 8.10
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
wmcbrine



Joined: 04 Jan 2008
Posts: 444

PostPosted: Fri Jul 11, 2008 1:31 pm    Post subject: Reply with quote

windracer wrote:
edit: wait, it's not working. When I try to send a file, pyTivo crashes. It looks like it's sending the NAME of the TiVo in the request instead of the TSN:

Yeah, that's normal now -- it doesn't make it crash. But I can't really tell what the problem is there.

Assuming it's repeatable, you may have to turn on debug to see what's happening.

_________________
My pyTivo fork
Back to top
View user's profile Send private message
windracer



Joined: 04 Jan 2008
Posts: 151
Location: St. Pete, FL

PostPosted: Sat Jul 12, 2008 7:20 pm    Post subject: Reply with quote

Ok, it must have been a fluke 'cause it's working now.

Here's some strangeness though: how does pyTivo decide on the name of the folder used for pushed videos? For some reason, when I transfer multiple videos they are ending up in a folder called "Dick Clark's New Years Rocking Eve 2008" which happens to be the name of the first video I tried pushing several weeks back. Is there any way to reset this?

Also, once all the recordings are in that folder, the titles just say "" so you have to go into the program details to see which one is which.

_________________
pyTiVo on Ubuntu 8.10
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
wmcbrine



Joined: 04 Jan 2008
Posts: 444

PostPosted: Sat Jul 12, 2008 11:19 pm    Post subject: Reply with quote

See wgw's comments on the previous page. Yeah, I know, this needs fixing.
_________________
My pyTivo fork
Back to top
View user's profile Send private message
windracer



Joined: 04 Jan 2008
Posts: 151
Location: St. Pete, FL

PostPosted: Sun Jul 13, 2008 8:45 am    Post subject: Reply with quote

Excellent, I'll try that ... thanks again.

edit: worked perfectly!

_________________
pyTiVo on Ubuntu 8.10
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT - 8 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
Page 8 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO
[ Time: 0.4803s ][ Queries: 13 (0.3623s) ][ Debug on ]