 |
pyTivo Discussion Forum Answers and the development of pyTivo a TiVo transcoding server
|
|
| Author |
Message |
TreborPugly
Joined: 05 Jan 2008 Posts: 55
|
Posted: Wed Jan 30, 2008 5:06 am Post subject: Trying to get the latest and greatest to work |
|
|
I've tried a couple of times to update to a more recent version, and each time I've had problems, and just reverted to what was working, something from early December I think, with the patch that Kevin posted for fixing ticket 67.
I tried again today, using a snapshot from wmcbrine, which is supposed to be a merge of the master and sub-folders branches, with the latest and greatest of everything else I believe:
wmcbrine-7a95873d1ae5488b8c059dbebe10d25ab4500ccc.tar.gz (Who comes up with these filenames? )
The behavior I'm seeing is that the first folder I went into sort of worked - it used metadata for two videos in the folder, and didn't list anything else at all for two other videos in that folder. Now whenever I go into any folder, it tells me it is empty.
Config file is:
| Code: | [Music]
type = music
path = c:\personal\audio
[Video]
type = video
auto_subshares = False
path = c:\personal\video
[OnMini]
type = video
path = \\EDMini\video
[Server]
ffmpeg = C:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
video_br = 1024K
width = 544
debug = true
hack83=True
port = 9032
|
Here's the errors pytivo reports when I go into a subfolder.
| Code: |
=========================================================================
Tivo said: Video/RandomStuff || Hack said: Video/RandomStuff
1=92.168.0.199 - - [29/Jan/2008 23:52:12] "GET /TiVoConnect?Command=QueryContain
er&Container=Video%2FRandomStuff&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tiv
o-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F
* HTTP/1.1" 200 -
========================================================================
----------------------------------------
Exception happened during processing of request from ('192.168.0.199', 1620)
Traceback (most recent call last):
File "C:\Program files\Python25\lib\SocketServer.py", line 463, in process_req
uest_thread
self.finish_request(request, client_address)
File "C:\Program files\Python25\lib\SocketServer.py", line 254, in finish_requ
est
self.RequestHandlerClass(request, client_address, self)
File "C:\Program files\Python25\lib\SocketServer.py", line 521, in __init__
self.handle()
File "C:\Program files\Python25\lib\BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "C:\Program files\Python25\lib\BaseHTTPServer.py", line 310, in handle_on
e_request
method()
File "C:\Program Files\pyTivo\httpserver.py", line 78, in do_GET
method(self, query)
File "C:\Program Files\pyTivo\plugins\video\video.py", line 298, in QueryConta
iner
query, hackPath = self.hack(handler, query, subcname)
File "C:\Program Files\pyTivo\plugins\video\video.py", line 61, in hack
(leftAnchor, rightAnchor) = queryAnchor.rsplit('/', 1)
ValueError: need more than 1 value to unpack
---------------------------------------- | [/code] |
|
| Back to top |
|
 |
billdog79
Joined: 05 Jan 2008 Posts: 57 Location: Gulf Breeze, FL
|
Posted: Wed Jan 30, 2008 6:07 am Post subject: |
|
|
Try this>
First, I will assume that you have groups enabled on the Tivo itself. Simply go to the NPL and enter any group folder that the tivo has automatically grouped. For ex. if you have 2 episodes of family guy that you recorded from cable and they were grouped automatically, simply enter that folder, come back out and then try to browse your pyTivo folders. I have to do this occasionally to keep things running smooth. Its almost like it clears some log inside the Tivo or something. Hope this helps. |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2010 Location: Maryland
|
Posted: Wed Jan 30, 2008 1:02 pm Post subject: Re: Trying to get the latest and greatest to work |
|
|
| TreborPugly wrote: | wmcbrine-7a95873d1ae5488b8c059dbebe10d25ab4500ccc.tar.gz |
That version is no good (for Windows). You just missed getting the fix. Try again with b1ea... _________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
TreborPugly
Joined: 05 Jan 2008 Posts: 55
|
Posted: Wed Jan 30, 2008 2:47 pm Post subject: |
|
|
Is there a way to test out folder listings without being around my Tivo? Ie, can I use my web browser to do things beyond:
http://localhost:9032/TiVoConnect?Command=QueryContainer
And see anything useful?
If I try to do: http://localhost:9032/TiVoConnect?Command=QueryContainer&Container=Video
I just get a blank page, and my pyTivo process gives out errors like this:
| Code: | ----------------------------------------
127.0.0.1 - - [30/Jan/2008 09:43:43] "GET /TiVoConnect?Command=QueryContainer HT
TP/1.1" 200 -
=========================================================================
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 59727)
Traceback (most recent call last):
File "C:\Program files\Python25\lib\SocketServer.py", line 463, in process_req
uest_thread
self.finish_request(request, client_address)
File "C:\Program files\Python25\lib\SocketServer.py", line 254, in finish_requ
est
self.RequestHandlerClass(request, client_address, self)
File "C:\Program files\Python25\lib\SocketServer.py", line 521, in __init__
self.handle()
File "C:\Program files\Python25\lib\BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "C:\Program files\Python25\lib\BaseHTTPServer.py", line 310, in handle_on
e_request
method()
File "C:\Program Files\pyTivo\httpserver.py", line 78, in do_GET
method(self, query)
File "C:\Program Files\pyTivo\plugins\video\video.py", line 306, in QueryConta
iner
print 'Tivo said: ' + subcname + ' || Hack said: ' + "/".join(hackPath)
TypeError
---------------------------------------- |
|
|
| Back to top |
|
 |
TreborPugly
Joined: 05 Jan 2008 Posts: 55
|
Posted: Thu Jan 31, 2008 4:35 am Post subject: |
|
|
Still seriously messed up - Tivo crashed three times on me tonight, just trying to look at listings. I'm using the b1ea... one, with the config file I already posted.
First crash happened after backing out of a sub folder. Second crash happened when scrolling down a list of shows in a sub folder. It was about to page down - Tivo started showing me the contents of the top level Video directory before the crash.
pyTivo didn't report any errors.
I just tried a completely fresh install of the b1ea snapshot, in it's own folder, but with the same config file, and got a crash when exiting the description of a show.
I then tried the config file changed slightly to the way I used to have it ( below) - Auto sub shares is on for my local share, and I didn't have the line about the hack. (No line before meant it would be on anyway - I thought the default behavior was changed, which is why I changed the line). Browsing through the auto sub shares works without crashes. But browsing sub folders seems to be operating without the hack - it has the problem of all subfolders looking like the first sub folder you look at.
So my guess is that the merge with the sub-folders branch has not worked. I'd use the auto-share version technique and forget about sub-folders, but one of my shares is on a NAS drive, and it is a bit slow, and it breaks pyTivo somehow if I do autosubshares for it. If I browse it with the working subfolders version, it is quite slow, but doable if I'm patient.
| Code: | [Music]
type = music
path = c:\personal\audio
[Video]
type = video
auto_subshares = True
path = c:\personal\video
[OnMini]
type = video
path = \\EDMini\video
[Server]
ffmpeg = C:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
video_br = 1024K
width = 544
debug = true
port = 9032 |
|
|
| Back to top |
|
 |
geranimo1
Joined: 16 Jan 2008 Posts: 11
|
Posted: Sat Feb 02, 2008 4:18 am Post subject: b1ea problems here too |
|
|
| I'm using it on Windows. Subfolders work, but I can't get more than one page. When I page down, it bounces back up a level. |
|
| Back to top |
|
 |
TreborPugly
Joined: 05 Jan 2008 Posts: 55
|
|
| Back to top |
|
 |
philhu
Joined: 04 Jan 2008 Posts: 474
|
Posted: Sat Feb 02, 2008 3:09 pm Post subject: |
|
|
Don't forget, with subfolders code, you need to wait 2 seconds between file commands in npl, or the TIVO will reboot.
That is a know restriction when using the subfolders kludges. |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2010 Location: Maryland
|
Posted: Sat Feb 02, 2008 4:50 pm Post subject: |
|
|
I believe I've fixed the problem. Sorry for the delay.
However, repo.or.cz is not responding right now. I'll post the changes as soon as I'm able... I'd attach an updated version here, but that's not working anymore either. _________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2010 Location: Maryland
|
|
| Back to top |
|
 |
TreborPugly
Joined: 05 Jan 2008 Posts: 55
|
Posted: Mon Feb 04, 2008 12:55 am Post subject: |
|
|
| okay - we're in business! Thanks. |
|
| Back to top |
|
 |
TreborPugly
Joined: 05 Jan 2008 Posts: 55
|
Posted: Tue Feb 05, 2008 3:09 pm Post subject: |
|
|
| TreborPugly wrote: | okay - we're in business! Thanks. |
Well, I'm in business, but I still get crashes, even following "careful" folder navigation. I think I'm going to be going without the hack, doing auto-subshares for my local directories, and manually creating subshares for my networked directory. |
|
| Back to top |
|
 |
|
|
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
|
|