|
| Author |
Message |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Wed Feb 06, 2008 7:27 am Post subject: |
|
|
| smack000 wrote: | I'm curious - what's the root of the 2-level limitation? |
Hell if I know. The limitation is on the Tivo side. It just starts sending bogus requests at that point (same as the previous subfolders problem, just one level lower). Like I say, it's correctable with hack83 (i.e. there's no such limit).
| Quote: | Is the URL too long? |
No.
The Tivo actually makes one request for the full URL, and then one for the parent, which (in the absence of hack83) essentially overrides the correct request. _________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
windracer

Joined: 04 Jan 2008 Posts: 219 Location: St. Pete, FL
|
Posted: Wed Feb 06, 2008 1:46 pm Post subject: |
|
|
| wmcbrine wrote: | OK, so this doesn't quite obsolete hack83, because of the two-level limitation. |
So wait, does that mean hack83 is supposed to allow more than two levels?
edit: doh, hadn't finished reading ... so the answer is yes, it's supposed to. Guess I need to re-test that. _________________ pyTiVo on Ubuntu 11.10 (Oneiric) |
|
| Back to top |
|
 |
reneg
Joined: 04 Jan 2008 Posts: 160
|
Posted: Wed Feb 06, 2008 2:24 pm Post subject: |
|
|
This is nice step forward, thank you Smack000.
Just throwing this out there, is it possible that <UniqueId> needs to be applied recursively to folders to get past the 2 folder limit? |
|
| Back to top |
|
 |
smack000
Joined: 05 Feb 2008 Posts: 10
|
Posted: Wed Feb 06, 2008 3:39 pm Post subject: |
|
|
| reneg wrote: | This is nice step forward, thank you Smack000.
Just throwing this out there, is it possible that <UniqueId> needs to be applied recursively to folders to get past the 2 folder limit? |
Well looking at the way the actual Tivos report guide data, UniqueId actually changes for the sub folders.
On the now Playing screen, UniqueId will be ###, but in the subfolder, it'll be /NowPlaying/###, so I'm going to try to emulate that. In addition, I noticed a few other things, like <Title> may not need to contain full paths, as they don't on the Tivo.
I really wish there were a way to do a request for something two levels deep n the Tivo's Now Playing menu.
I imagine what's going on here is not "limits" in the Tivo, but rather the Tivo seeing what it thinks is malformed data and punting back to a folder it "knows" works. Of course, then hack83 comes in and resubmits it malformed data, which is probably causing the wonderful crashes. |
|
| Back to top |
|
 |
TreborPugly
Joined: 05 Jan 2008 Posts: 55
|
Posted: Wed Feb 06, 2008 3:56 pm Post subject: |
|
|
I haven't grabbed this yet, but in the diff smack000 gave, I notice one line:
| Code: | + video['small_path'] = subcname + '/' + video['name'] |
is that '/' the sort of slash vs. backslash that causes problems in Windows? |
|
| Back to top |
|
 |
smack000
Joined: 05 Feb 2008 Posts: 10
|
Posted: Wed Feb 06, 2008 4:56 pm Post subject: |
|
|
| TreborPugly wrote: | I haven't grabbed this yet, but in the diff smack000 gave, I notice one line:
| Code: | + video['small_path'] = subcname + '/' + video['name'] |
is that '/' the sort of slash vs. backslash that causes problems in Windows? |
Well, being that I'm developing in Windows, nope. I'm just using it as the key to send to the crc and is based on the urls sent to the Tivos. |
|
| Back to top |
|
 |
windracer

Joined: 04 Jan 2008 Posts: 219 Location: St. Pete, FL
|
|
| Back to top |
|
 |
krkeegan Site Admin

Joined: 04 Jan 2008 Posts: 458 Location: Los Angeles, CA
|
Posted: Wed Feb 06, 2008 7:41 pm Post subject: |
|
|
This is cool, it works very well for the first level of folders. I have been tinkering trying to solve the deeper folder problem.
So i noticed on TiVo the unique IDs of folders looked like this:
/NowPlaying/9930
However smack000 mod creates unique IDs that look like this
93949858
I tried modifying the code so that unique IDs in folders were continuations of their parent unique IDs such as this:
/94959885/93949858
But this didn't seem to do anything.
Anyone else have any other suggestions. |
|
| Back to top |
|
 |
smack000
Joined: 05 Feb 2008 Posts: 10
|
Posted: Wed Feb 06, 2008 7:59 pm Post subject: |
|
|
| krkeegan wrote: |
Anyone else have any other suggestions. |
If someone has a hacked Tivo, a look at the log files could be illuminating. |
|
| Back to top |
|
 |
TreborPugly
Joined: 05 Jan 2008 Posts: 55
|
Posted: Wed Feb 06, 2008 9:03 pm Post subject: |
|
|
I haven't tried this new version on my Tivo yet, but using my web browser to run queries, I see that I can actually use queries for subdirectories and have it work. In previous versions that caused crashes, I would get a blank web page if I tried to do anything other than:
http://localhost:9032/TiVoConnect?Command=QueryContainer
So this might be a way to test some of the crashy versions without crashing my Tivo. |
|
| Back to top |
|
 |
polarweasel
Joined: 07 Feb 2008 Posts: 9
|
Posted: Thu Feb 07, 2008 3:12 am Post subject: How to get latest version with fixed subfolders? |
|
|
I've been watching the subfolders discussion for a while and trying to keep track of the various forks and download locations, but I'm having a hard time keeping up.
I have an S3 running the latest software rev (9.2?) connected via a wired network to an XP Professional system that I can use to help test. I'm also a professional C/C++ software developer with a decent amount of Python experience (none of it involving http or other network protocols, unfortunately, but at least a good basic understanding of Python).
What is the best way for me to download the latest version of pyTivo containing smack000's subfolders fix? I'd like to start contributing somehow. It would be fantastic if that version also included the music plugin and wmcbrine's photo plugin, as my family depends heavily on those two as well as pyTivo's video-serving ability.
I'm familiar with the pyTivo Trac site (http://pytivo.armooo.net/) as well as this one and, of course, the pyTivo thread at tivocommunity.com -- what is the best of these to monitor for status, updates, information, and download pointers for the latest version of pyTivo?
Kudos to everyone who's been working so hard for so long on pyTivo with so little active support from TiVo, Inc. -- it's fantastic, very useful software.
-polarweasel |
|
| Back to top |
|
 |
wgw
Joined: 06 Jan 2008 Posts: 284
|
|
| Back to top |
|
 |
polarweasel
Joined: 07 Feb 2008 Posts: 9
|
Posted: Thu Feb 07, 2008 12:36 pm Post subject: |
|
|
| wgw wrote: | wmcbrines fork is currently the only branch including smack000's update.
http://repo.or.cz/w/pyTivo.git
The various forks are at the bottom of the page. |
Thanks, I'll pull that version from repo.or.cz. Looks like I'd better start familiarizing myself with git.
-polarweasel |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Thu Feb 07, 2008 1:20 pm Post subject: |
|
|
| polarweasel wrote: | Thanks, I'll pull that version from repo.or.cz. Looks like I'd better start familiarizing myself with git. |
You don't have to use git. You can just pull the snapshot .tar.gz from the "snapshot" link. _________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
polarweasel
Joined: 07 Feb 2008 Posts: 9
|
Posted: Fri Feb 08, 2008 4:41 am Post subject: |
|
|
| wmcbrine wrote: | | polarweasel wrote: | Thanks, I'll pull that version from repo.or.cz. Looks like I'd better start familiarizing myself with git. |
You don't have to use git. You can just pull the snapshot .tar.gz from the "snapshot" link. |
OK, that works. Perhaps I should start familiarizing myself with the http traffic between my S3 and pyTivo?
What can I do that would be most helpful at this point? Offering my S3 system as a test platform, actively pursuing existing trouble tickets, or really trying to dig in to what's going on to get up to speed?
Unfortunately, I have a 2-year-old daughter and a 4-year-old son, so the amount of time I get to myself these days is limited. I'd like to optimize my efforts as much as possible, and I figure as a TiVo enthusiast who's familiar with Python, I can at least do *something*.
I'm running pyTivo as a service right now, but that seems to limit the options for debugging output. Would it be more helpful if I started it explicitly in a command shell, or is setting debug=true in pytivo.conf enough?
Sorry to be asking such basic questions, but until a few days ago I was using TiVo Desktop because it was barely good enough, so I'm way behind the rest of you.
-polarweasel |
|
| Back to top |
|
 |
|