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 

Release 2008.03.23, New Feature: ToGo
Goto page 1, 2  Next
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 412
Location: Los Angeles, CA

PostPosted: Sun Mar 23, 2008 5:12 pm    Post subject: Release 2008.03.23, New Feature: ToGo Reply with quote

I finally updated my release.

I added a feature to the admin plugin which allows pyTivo to download shows from the TiVo for you using the ToGo function. To use this you need to have the admin plugin installed.

I also added the ability to add a username and password to the service so that it can access network shares. It will default to the Local System Account if nothing is specified or if there is an error. This obviously only applies to the windows installer.

Finally I merged with wgw. Including the changes to the ffmpeg_prams setting which is now deprecated. For more information on the proper use of the new ffmpeg_tmpl and ffmpeg_pram setting see the admin help.

Download it from here: Download
Back to top
View user's profile Send private message Visit poster's website
wgw



Joined: 06 Jan 2008
Posts: 262

PostPosted: Sun Mar 23, 2008 5:34 pm    Post subject: Reply with quote

Thanks for the TTG feature! It worked perfectly on my S2 which only had 50 recordings.

One of my tivos has over 500 recordings and I have been waiting over 5 minutes for a list to appear. Of course it also takes Tivo Desktop just as long to display the list on this tivo. I was just wondering if I need to hit refresh on my browser occasionally or if I should just wait for the the list to appear?

_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 412
Location: Los Angeles, CA

PostPosted: Sun Mar 23, 2008 5:57 pm    Post subject: Reply with quote

Hmm, wow, I had not thought of that many recordings. I tested it up as high as 200 but that is all I had. Unfortunately TiVo is pretty slow. I can't say what the best course of action is. It sounds like I may have to program in an item count or something and use a next page option.
Back to top
View user's profile Send private message Visit poster's website
wmcbrine



Joined: 04 Jan 2008
Posts: 514

PostPosted: Sun Mar 23, 2008 9:11 pm    Post subject: Reply with quote

The TiVos themselves supposedly have a limit of 128 items that they'll return in one request, IIRC.

I tried this for the first time yesterday... got an error in the transfer, though I don't know if it would've been different with another method. (It's the first time that's happened for me, though.)

I guess the advantage of this over the HTML TTG interface built into the TiVo is that it automatically finds the addresses of the TiVos on your LAN?

You might want to read the MAK from tivodecode's config file, if available. I did that in my SeriesID lister:

Code:
def get_mak():
    "Return tivodecode's record of the MAK, if available; otherwise prompt"
    makfile = os.path.join(os.path.expanduser('~'), '.tivodecode_mak')
    if os.path.isfile(makfile):
        try:
            return open(makfile).read().strip()
        except:
            pass
    return raw_input('Media Access Key? ')


Edit: The error I get is:

Code:
...
  File "/home/wmcbrine/pyTivo.junk/krkeegan/plugins/admin/admin.py", line 327, in ToGo
    t.url = '/TiVoConnect?Command=NPL&Container=' + cname + '&TiVo=' + query['TiVo'][0] + '&Folder=' + query['Folder'][0]
KeyError: 'Folder'


That was actually accompanied by a complete transfer this time, though the error came up almost immediately. I think the partial transfer before was my own fault, for shutting down pyTivo after seeing the error message.

Anyway, like I say, this was with yesterday's version... I'll update and try again.

_________________
My pyTivo fork
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 412
Location: Los Angeles, CA

PostPosted: Mon Mar 24, 2008 7:01 am    Post subject: Reply with quote

Hmm, I will look into your issue this looks like a simple mistake I made in the redirect page.

The benefit I get from it is that pyTivo runs on a dedicated server in the closet. This allows me to download shows from the TiVo onto that machine. For others it also allows you to download in the background without the need of having a window open.

In the future I want to add some sort of queuing system.
Back to top
View user's profile Send private message Visit poster's website
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 412
Location: Los Angeles, CA

PostPosted: Mon Mar 24, 2008 9:03 am    Post subject: Reply with quote

Ok error with query['Folder'][0] is fixed in the windows download. I will post it to the repo as soon as I can get out of this restricted wireless network and get access to a port other than 80.
Back to top
View user's profile Send private message Visit poster's website
wmcbrine



Joined: 04 Jan 2008
Posts: 514

PostPosted: Mon Mar 24, 2008 9:26 am    Post subject: Reply with quote

BTW, something I'd been thinking about doing as a plugin was a "reflector", passing video from a TiVo back out through pyTivo, to allow transcoding HD from an S3 down to SD for an S2. I put the idea aside when I ran into audio sync problems... Anyway, your TTG code would cover a lot of the needed functionality.
_________________
My pyTivo fork
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 412
Location: Los Angeles, CA

PostPosted: Mon Mar 24, 2008 12:04 pm    Post subject: Reply with quote

Ahh yeah good idea. I haven't been able to get tivodecode to work on any of my hd content. It doesnt throw any errors, but the result is a clear video with patchy audio.
Back to top
View user's profile Send private message Visit poster's website
wmcbrine



Joined: 04 Jan 2008
Posts: 514

PostPosted: Mon Mar 24, 2008 1:28 pm    Post subject: Reply with quote

tivodecode works on HD for me (with MPlayer as the player), but, I often have trouble editing the results, and they never transfer back properly.
_________________
My pyTivo fork
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 412
Location: Los Angeles, CA

PostPosted: Mon Mar 24, 2008 1:47 pm    Post subject: Reply with quote

wmcbrine wrote:
and they never transfer back properly.


Ahh yeah that is where my issue is occuring. It used to transfer back fine on my SD TiVo. And I read in some other places that other users were having issues too. I guess the solution is to run tivodecode -> ffmpeg transcode?? Seems like a waste but I guess it would be necessary to reduce the video resolution and bit rate anyways.
Back to top
View user's profile Send private message Visit poster's website
netphoenix



Joined: 27 Mar 2008
Posts: 6

PostPosted: Thu Mar 27, 2008 3:25 pm    Post subject: Re: Release 2008.03.23, New Feature: ToGo Reply with quote

krkeegan wrote:
I finally updated my release.

I added a feature to the admin plugin which allows pyTivo to download shows from the TiVo for you using the ToGo function. To use this you need to have the admin plugin installed.


I got brave and did a new install with the windows installer. Slick and much easier than in the past!

I created .meta sub-folders inside my two movie subfolders. They worked fine, but they show up in my "Now Playing" list on the tivo. A minor annoyance. I'm just impressed that the subfolders worked so well. Especially since I have over 200 movies and over 300 tv shows on my server.

And the pre-cache makes me drool! Talk about speeding things up!!!

Now if you could move the music folder from that messy area that Tivo wants it in and just slap it into the "now playing" area..... Razz What a convoluted gawd-awful-painfully-slow area they've created with "music, photo's and everything to piss you off" section....

ohhh and the admin panel.... sweet Smile

Off to play some more,

[Later Edit] I removed the hack83 and the subshares and was able to navigate the subfolders w/o problems. Also, the .meta folders are not displayed this way. I don't recall being able to navigate subfolders in the past. Time to do some catching up on the boards...

-Chris


Here's my config (I love simple and subfolders did the trick!)

[Admin]
type = admin

[TV]
path = f:\Series
precache = True
type = video
auto_subshares = True

[Movies]
path = E:\movies
precache = True
auto_subshares = True
type = video

[Server]
port = 9032
hack83 = True
ffmpeg = C:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 412
Location: Los Angeles, CA

PostPosted: Thu Mar 27, 2008 5:16 pm    Post subject: Reply with quote

glad everything works for you.

hack83 and auto_subshares are generally mutually exclusive. They both provide different solutions to the same problem. You may want to read up on those settings.

It sounds like the .meta subfolders were showing up in your NPL because you were using the auto_subshares setting(which makes sense, I never excluded dot folders from that setting). I will look into fixing this, but it seems like most people have migrated to using the hack83 setting instead.
Back to top
View user's profile Send private message Visit poster's website
netphoenix



Joined: 27 Mar 2008
Posts: 6

PostPosted: Thu Mar 27, 2008 5:22 pm    Post subject: Reply with quote

krkeegan wrote:
I will look into fixing this, but it seems like most people have migrated to using the hack83 setting instead.


Everyone has a display method that should suite them now. I prefer to organize my folders and just navigate through them, keeping the NPL clutter to a minimum.

My thanks to you and the rest of those involved in keeping the development on track!
-Chris
Back to top
View user's profile Send private message
JonMikelV



Joined: 22 Feb 2008
Posts: 40

PostPosted: Thu Mar 27, 2008 9:24 pm    Post subject: Reply with quote

Very cool add ons! One very basic issue I bumped into that I expect will disappear as the admin GUI is tweak, I did a download in the TTG setion, then used my Back button to try to get to the 'main' menu ad the transfer started over again!

Like I said, not a big issue but I thought I'd mention it so it gets added somewhere on the to-do list.

Jon-Mikel
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 514

PostPosted: Fri Mar 28, 2008 8:00 am    Post subject: Re: Release 2008.03.23, New Feature: ToGo Reply with quote

netphoenix wrote:
I removed the hack83 and the subshares and was able to navigate the subfolders w/o problems.

The top level of subfolders (only) works now without hack83.

_________________
My pyTivo fork
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 -> pyTivo All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 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.3570s ][ Queries: 13 (0.2390s) ][ Debug on ]