|
| Author |
Message |
zigmo
Joined: 13 Aug 2008 Posts: 24
|
Posted: Sun Aug 17, 2008 10:22 am Post subject: |
|
|
Thanks for the help - here's the file.
I'll download another zip client and see if that makes a difference, too.
| Description: |
|
 Download |
| Filename: |
dirlist.txt |
| Filesize: |
23.7 KB |
| Downloaded: |
19 Time(s) |
|
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 463
|
Posted: Mon Aug 18, 2008 12:47 am Post subject: |
|
|
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 |
|
 |
windracer

Joined: 04 Jan 2008 Posts: 157 Location: St. Pete, FL
|
Posted: Mon Aug 18, 2008 3:16 am Post subject: |
|
|
Try 7Zip.
_________________ pyTiVo on Ubuntu 8.10 |
|
| Back to top |
|
 |
zigmo
Joined: 13 Aug 2008 Posts: 24
|
Posted: Mon Aug 18, 2008 5:16 am Post subject: |
|
|
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 |
|
 |
windracer

Joined: 04 Jan 2008 Posts: 157 Location: St. Pete, FL
|
Posted: Mon Aug 18, 2008 6:24 am Post subject: |
|
|
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 |
|
 |
zigmo
Joined: 13 Aug 2008 Posts: 24
|
Posted: Mon Aug 18, 2008 8:32 am Post subject: |
|
|
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 |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 463
|
Posted: Mon Aug 18, 2008 2:22 pm Post subject: |
|
|
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 |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 514
|
Posted: Mon Aug 18, 2008 4:05 pm Post subject: |
|
|
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 |
|
 |
wgw
Joined: 06 Jan 2008 Posts: 261
|
Posted: Mon Aug 18, 2008 4:31 pm Post subject: |
|
|
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 |
|
 |
zigmo
Joined: 13 Aug 2008 Posts: 24
|
Posted: Mon Aug 18, 2008 9:05 pm Post subject: |
|
|
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 |
|
 |
baggsey
Joined: 16 Sep 2008 Posts: 3
|
Posted: Fri Sep 19, 2008 4:26 pm Post subject: Cannot get Video Share to display list of videos |
|
|
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 |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 463
|
Posted: Fri Sep 19, 2008 5:54 pm Post subject: Re: Cannot get Video Share to display list of videos |
|
|
| 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 |
|
 |
baggsey
Joined: 16 Sep 2008 Posts: 3
|
Posted: Fri Sep 19, 2008 7:28 pm Post subject: |
|
|
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 |
|
 |
baggsey
Joined: 16 Sep 2008 Posts: 3
|
Posted: Fri Sep 19, 2008 8:52 pm Post subject: |
|
|
| I installed Firefox and the "Share Videos" page came up fine...must have been an Internet Explorer configuration problem. Thanks rdian06!
|
|
| Back to top |
|
 |
|