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 

Can't figure out how to push videos
Goto page Previous  1, 2
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support
 View previous topic :: View next topic  
Author Message
zigmo



Joined: 13 Aug 2008
Posts: 24

PostPosted: Sun Aug 17, 2008 10:22 am    Post subject: Reply with quote

Thanks for the help - here's the file.
I'll download another zip client and see if that makes a difference, too.



dirlist.txt
 Description:

Download
 Filename:  dirlist.txt
 Filesize:  23.7 KB
 Downloaded:  19 Time(s)

Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 463

PostPosted: Mon Aug 18, 2008 12:47 am    Post subject: Reply with quote

Wow. That directory listing is weird.

I'm not sure how, but I suspect Zip Genius has a bug with extracting tar gz files.

Specifically, the __init__.py files in plugins and each of the sub directories should be 0 bytes. However, your directory listing is showing them as 9,871,360 bytes each.

Definitely find a different extraction utility.
Back to top
View user's profile Send private message
windracer



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

PostPosted: Mon Aug 18, 2008 3:16 am    Post subject: Reply with quote

Try 7Zip.
_________________
pyTiVo on Ubuntu 8.10
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
zigmo



Joined: 13 Aug 2008
Posts: 24

PostPosted: Mon Aug 18, 2008 5:16 am    Post subject: Reply with quote

Hello 7zip, goodbye zipgenius. It looks like it did have a bug.
I re-extracted the archive, copied over the four files and ... it kinda works now.
When I run pyTivo console I get a new error message:

Code:
Checking to see if pyTivo is already running . . .

Starting pyTivo Server. Use ctrl+Break to exit.

INFO:pyTivo:pyTivo is ready.
C:\Program Files\pyTivo\Cheetah\Compiler.py:1508: UserWarning:
You don't have the C version of NameMapper installed! I'm disabling Cheetah's us
eStackFrames option as it is painfully slow with the Python version of NameMappe
r. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don't have the C version of NameMapper installed! "
192.168.0.101 - - [18/Aug/2008 09:00:32] "GET /TiVoConnect?Command=QueryContaine
r&Container=%2F HTTP/1.0" 200 -
192.168.0.101 - - [18/Aug/2008 09:01:07] "GET /TiVoConnect?Command=QueryContaine
r&Container=%2F HTTP/1.0" 200 -
192.168.0.101 - - [18/Aug/2008 09:01:10] "GET /TiVoConnect?Command=QueryFormats&
SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 404 -
192.168.0.101 - - [18/Aug/2008 09:01:10] "GET /TiVoConnect?Command=QueryContaine
r&Container=My%20Videos&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-contain
er%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.
1" 200 -


When I go to my Now Playing list on Tivo, I can see My Vidoes and I now have the push command I so sorely wanted! Pushing doesn't work yet, but I haven't yet added the tivo_username and tivo_password fields to my conf file. To do that, do I just edit the pytivo.conf file and add it under the [admin] section as:

Code:
tivo_username = {my username}
tivo_password = {my password}


BTW: you've all been extraordinary helpful - thank you very much.
Back to top
View user's profile Send private message
windracer



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

PostPosted: Mon Aug 18, 2008 6:24 am    Post subject: Reply with quote

That warning about Cheetah is normal, you can ignore it.

Once you add the tivo_username and tivo_password to your config, it should work.

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



Joined: 13 Aug 2008
Posts: 24

PostPosted: Mon Aug 18, 2008 8:32 am    Post subject: Reply with quote

Okay - I'll ignore it.
I added my Tivo username and password to the admin section, which didn't work. Next I moved it to the server section, which seemed to work, until I got the browser error message:
Code:

list index out of range

Traceback (most recent call last):
  File "C:\Program Files\pyTivo\plugins\video\video.py", line 493, in Push
    subtitle = file_info['name'])
  File "C:\Program Files\pyTivo\mind.py", line 41, in pushVideo
    pc_body_id = self.__pcBodySearch()[0]
IndexError: list index out of range


which shows up in the console as:

Code:
Exception happened during processing of request from ('127.0.0.1', 2774)
Traceback (most recent call last):
  File "C:\Python25\lib\SocketServer.py", line 464, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python25\lib\SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python25\lib\SocketServer.py", line 522, in __init__
    self.handle()
  File "C:\Python25\lib\BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "C:\Python25\lib\BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "C:\Program Files\pyTivo\httpserver.py", line 94, in do_GET
    method(self, query)
  File "C:\Program Files\pyTivo\plugins\video\video.py", line 493, in Push
    subtitle = file_info['name'])
  File "C:\Program Files\pyTivo\mind.py", line 41, in pushVideo
    pc_body_id = self.__pcBodySearch()[0]
IndexError: list index out of range
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 463

PostPosted: Mon Aug 18, 2008 2:22 pm    Post subject: Reply with quote

Double check your tivo username and password.

I think from looking at the code, it's trying to log into Tivo and not getting back the information that it's requesting.
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 514

PostPosted: Mon Aug 18, 2008 4:05 pm    Post subject: Reply with quote

Two things:

1. There seem to be a lot of transient errors with TiVo Inc.'s "mind" server (which is where it's trying to connect). If you try again later, with no changes, it may work.

2. It's not entirely clear whether the push feature will work for those who haven't bought a license for TiVo Desktop Plus, and/or used it to initially connect to the mind server -- the only people who I've seen report that push definitely works are those who already had TD+.

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



Joined: 06 Jan 2008
Posts: 261

PostPosted: Mon Aug 18, 2008 4:31 pm    Post subject: Reply with quote

FYI, I've never purchased TD+. The pytivo push feature works well for me when I push 1-2 files at a time. But if I try to queue up several files one after another it fails.
_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
zigmo



Joined: 13 Aug 2008
Posts: 24

PostPosted: Mon Aug 18, 2008 9:05 pm    Post subject: Reply with quote

I was making a stupid mistake on the last step - I had my password wrong. One simple correction, and it's working fine.
I had TD+ already, so I don't know if that's helping or not.
Thank you all who helped me. I truly appreciate it.
Back to top
View user's profile Send private message
baggsey



Joined: 16 Sep 2008
Posts: 3

PostPosted: Fri Sep 19, 2008 4:26 pm    Post subject: Cannot get Video Share to display list of videos Reply with quote

Having followed previous instructions to install WMCBRINE's fork of pytivo, with the intent of using the push feature, I get the following text returned when I select "My Videos" from the "Video Shares" item on the first page of the web configurator.

I have previously added by tivo_username and tivo_password into the Admin section. All help gratefully received.

Text returned in Internet Explorer :

FAMILY ROOM 0 1 x-container/tivo-videos x-container/folder 1 -884514289 video/x-tivo-mpeg video/x-ms-wmv 1553843520 2682200 0 0x48cd919f video/x-tivo-mpeg No /My%20Videos/Big%20Apple%20-%20Episode%20One%20remux.mpg video/* No urn:tivo:image:save-until-i-delete-recording text/xml No /TiVoConnect?Command=TVBusQuery&Container=My%20Videos&File=/Big%20Apple%20-%20Episode%20One%20remux.mpg My Videos \Big Apple - Episode One remux.mpg
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 463

PostPosted: Fri Sep 19, 2008 5:54 pm    Post subject: Re: Cannot get Video Share to display list of videos Reply with quote

baggsey wrote:
Having followed previous instructions to install WMCBRINE's fork of pytivo, with the intent of using the push feature, I get the following text returned when I select "My Videos" from the "Video Shares" item on the first page of the web configurator.

I have previously added by tivo_username and tivo_password into the Admin section. All help gratefully received.

Text returned in Internet Explorer :

FAMILY ROOM 0 1 x-container/tivo-videos x-container/folder 1 -884514289 video/x-tivo-mpeg video/x-ms-wmv 1553843520 2682200 0 0x48cd919f video/x-tivo-mpeg No /My%20Videos/Big%20Apple%20-%20Episode%20One%20remux.mpg video/* No urn:tivo:image:save-until-i-delete-recording text/xml No /TiVoConnect?Command=TVBusQuery&Container=My%20Videos&File=/Big%20Apple%20-%20Episode%20One%20remux.mpg My Videos \Big Apple - Episode One remux.mpg


The tivo_username and tivo_password settings belong in the Server section, not the Admin section. The tivo_mak goes in the Admin section if you want to use pyTivo to pull video off the Tivo.

Also, what you pasted looks like the raw XML output before the transform is applied to make it into a nice looking web page. Do you have any special developer addons installed for Internet Explorer? Maybe you should try Firefox.

That or you didn't do the update to wmcbrine's fork correctly and are missing some files?
Back to top
View user's profile Send private message
baggsey



Joined: 16 Sep 2008
Posts: 3

PostPosted: Fri Sep 19, 2008 7:28 pm    Post subject: Reply with quote

Sorry for the confusion - I meant to say that tivo_username and tivo_password are in the Server Section - my typo. I have no problem either pulling video from the PC to the Tivo with pytivo console running, or pulling content from TiVo to PC using pytivo.........the problem is the raw XML code which is displayed when I choose Share Videos from the main page.
I'll try Firefox as you suggest.
Back to top
View user's profile Send private message
baggsey



Joined: 16 Sep 2008
Posts: 3

PostPosted: Fri Sep 19, 2008 8:52 pm    Post subject: Reply with quote

I installed Firefox and the "Share Videos" page came up fine...must have been an Internet Explorer configuration problem. Thanks rdian06!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support All times are GMT - 8 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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.5200s ][ Queries: 15 (0.3566s) ][ Debug on ]