TiVo Community Forum banner
  • TiVoCommunity.com Ambassador Program Now Open! >>> Click Here

PyTivo Video Manager HME App for pyhme

174K views 734 replies 39 participants last post by  lew 
#1 ·
This app has been discussed in another thread in this forum, but it was suggested that I start my own thread, and so I am.

There is no new version of the code, but I am reposting the link here.

In recent discussion, I learned that the HME does indeed support an HD interface. based on suggestions from wmcbrine, I have figured out how to do this and decided that it is not all that difficult to have a dual-personality app that will work in either SD or HD mode. I am currently working on it - give me a couple of weeks or so.

Obviously there are differences in screen geometry between HD and SD, and there is also additional screen real estate. I could simply increase the size of lists, etc - and that is indeed how I am starting. But in the HD version, I am trying to figure out if I can add additional information as well - such as the recently requested thumbnails.

I have to admit that when I answered the posts earlier this afternoon, I was not into it at all. But since getting home, firing up eclipse, and starting to work on the code, I got right back into the mood.

One question I have for now - does the HME simulator support HD? I can't find out how. I don't have an HD tivo near the computer. Every time I make a change, I have to walk across the house to try it out. It gets tiresome. If the sim supported HD, I could do a lot of debugging there. Also, the sim lets me see the safe areas of the screen (as pointed out by wmcbrine)

Thanks
 
See less See more
#2 ·
The standard simulator doesn't do HD. There have been at least a couple of modified versions that do... but as I look at it, of the two I have here, one doesn't run, and the other is half-assed.

For my apps, I mostly just scaled everything up 50% (since 720/480 = 1.5), and then adjusted for the extra horizontal space.
 
#3 ·
I understand this is the developers thread but there doesn't seem to be a support thread. I'm not sure if there is an issue with the way I'm configured or if I'm doing something wrong.

I'm running pyTivo with the start on console batch file.

The error message on the pyTivo console says:

Cannont find accountId for TSN 652-0001-8037-XXXX The TSN is correct

Do I need to list the TSN in the configuration file for pyTivo? Doesn't seem to be an option to do so.
 
#6 ·
Just for the record in case anyone else has the problem, The TSN needs to be listed without the dashes in the config file. I had the same errors before trying that.
 
#7 ·
I never even considered that dashes might be in the TSN.

I can easily parse them out when I read in the config.

BTW - The coding is essentially done on the HD version of the program. No real changes to the SD version except to try a bit more to stay in the TV safe zones. But the HD version will display thumbnails if you have them.

Just a bit more testing before I release it. Also, I need to make sure that I haven't broken the SD version.
 
#9 ·
could you tell me where to get the pytivo from? I mean i have been running stream baby and HME/VLC...and tried using the HME/VLC folder to copy vidmgr folder...but the following section turned out to be a bummer..help pls

[pytivos]
pytivo1.config=\\dl380-server\pyTivo Production\pyTivo.conf
pytivo1.ip=DL380-Server
pytivo1.port=9033
pytivo1.sep=\

[/CODE][/QUOTE]
 
#10 ·
I'm not enough of a tivo "geek" to have memorized my TSNs :).

I logged on to my account at tivo.com and used copy and paste to put the numbers in the configuration file. Tivo listed the number with dashes so I assumed that's the way tivo wanted the numbers.

I suggest you either parse out the - or update the readme file. Whatever is easier for you.

Looks like using our tivo name as our TSN works. Is there any reason why you don't just automatically do that and not even ask for our TSN?
 
#11 ·
Tivo name works only by virtue of the fact that tivo mind obviously accepts it. I did not know that and do not process the tivo name in any way.

I have made the change to the code to parse out the - from the entered value. I'm sure there will be somebody who has a dash in the middle of their tivo name and won't like the fact that I do that. I am actually indifferent to it, and will remove this logic if that is what the concensus is here.
 
#12 ·
A new version of the app is available at the same github location.

This version - 0.2 - supports HD. It still works on an SD tivo as well, but SD does not give you much in the way of new functionality.

New for HD is artwork - you can have a jpg for each file, or a single jpg for the folder/directory. Processing these images slows thing down a bit, but not unacceptably so. The jpg can be up to 320x444. This is a good aspect ratio for DVD case artwork which is why I chose it.

There are a couple of other new features too - see the README file.
 
#14 ·
A new version of the app is available at the same github location.

This version - 0.2 - supports HD. It still works on an SD tivo as well, but SD does not give you much in the way of new functionality.

New for HD is artwork - you can have a jpg for each file, or a single jpg for the folder/directory. Processing these images slows thing down a bit, but not unacceptably so. The jpg can be up to 320x444. This is a good aspect ratio for DVD case artwork which is why I chose it.

There are a couple of other new features too - see the README file.
Thank you! :up:

Edit: I like the exts= option. I'm converting my videos to mp4, so this will be a nice filter for natively accepted videos that don't need transcoding. Nice. :)
 
#17 ·
Thank you everybody. Please let me know if you discover any issues. I tested it quite a bit, but it's impossible to catch everything.

Orangeboy:

What do you mean - did you change the code, or did you have to rename your files. I can add logic to also check for <filename>.jpg if <filename>.<extension>.jpg doesn't exist, but of course each file name check adds a bit to the processing time. wmcbrine also suggested I use the image attribute in the meta file, but I am presently not doing this.
 
#18 ·
I just renamed the files. As far as adding logic, I don't think it's necessary. The current implementation follows meta data file naming conventions. Speaking of meta data, I did change some code though to increase the font size relating to meta data description. I bumped up from 16 (or was it 20?) to 24. It made it a little easier to read in HD mode.

Edit: What's an image attribute in the meta file? I usually go by this wiki: http://pytivo.sourceforge.net/wiki/index.php/Metadata, but didn't see "image" included.
 
#19 ·
Yeah - I'm not too happy with the fonts as they currently exist. I wish there was a way to enumerate the fonts so that I could choose something better - who knows, maybe there is. I have some videos that have long descriptions that fill up the view with the small font I have in place now, but it's not so much the size that bothers me - I can see staircasing and other artifacts in there. It doesn't look like a nicely scalable font, and at the size I have chosen, the quality is not great.
 
#20 ·
Just installed, updated a directory of covers to the file name and size requirements and viola!

WOW.

SUPER!

Very nice work indeed. I plan to do a bit of customizing of the design elements to fit our decor and theater theme. I already got thumbgen configured to generate the requred thumnail cover images, going to work on getting it to generate .txt files with meta data.

This is great. THANKS!
 
#22 ·
What exactly is this program? I am trying to figure it out by reading this thread but it doesnt tell alot.
pytivo provides the ability to "push" videos to your tivo through its web interface rather than going to your tivo and "pulling" them. The advantage to pushing is that if the file is in a compatible format (basically mp4 with H.264 video encoding and either AC3 or AAC audio encoding) the file is transfered as is without transcoding. This saves considerable time and space. The problem is that pushing can only be done from your PC.

With this app, you can request pushes from the tivo interface (hence from the TV with your peanut remote control). You are presented with the same directory structure that pytivo knows about. You select which videos you want, and then request that that video be pushed to your tivo. While I was at it, I also added the ability to delete videos since pytivo doesn't have that capability natively.
 
#24 ·
I'm using MetaGenerator V2. It displays a copy of the DVD cover and a picture for most TV series. Does anyone know if there is a way to save the image so it can be used with PyTivo Video Manager?

I'm not sure if MetaGenerator is open source. Doesn't look like it's been updated recently.
 
#25 ·
I'm using MetaGenerator V2. It displays a copy of the DVD cover and a picture for most TV series. Does anyone know if there is a way to save the image so it can be used with PyTivo Video Manager?

I'm not sure if MetaGenerator is open source. Doesn't look like it's been updated recently.
Metagenerator did not do it for me - the images seemed too small.

I was able to get most of my images from amazon.com. Where they didn't adhere to the 320x444 size, I used irfanview to resize them while maintaining aspect ratio - simple.
 
#26 ·
Try a utility called thumbgen. It will web scrape images from many sources including amazon, netflix, imdb and tvdb. It will also automaticly resize the image to your specs. It does alot more but I have not figured out how to format its metadata into pytivo compatible format yet.
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top