Where would I insert the print line, assuming I am in the correct section?

You would need to add the print statement immediately before if(self.resolutions[0][0] == 640):
It would also need to be indented using tabs to the same depth as the if statement (this is my ONLY complaint with python - indentation defines program structure)

This line is what I'm looking for. So your optimal resolution is 720x480.

With my new logic, it will choose the second entry and operate in 1280x720 resolution.

I'm not sure what the 3 and 4 are - I think they define the pixel aspect ratio, and I'm also thinking that since it is not 1:1 (like it is in my case) that things might be slightly distorted???? If so, it probably wouldn't effect the text too much - the only thing that might be obvious would be the artwork.

I'm attaching a new version of metadata.py (you will need to rename the file from metadata.txt to metadata.py). Replace the same named file in the pyhme directory (one dir above vidmgr) and see if it solves your problem. If so, I will commit the change and update the repository.

Quick question is there any way to customize the font size? I find on my plasma the show descriptions are pretty tiny and wouldn't mind being able to make the show names larger also. Of course this may interfere with the images though.

Also my format is laid out tvshows/series name/season#/episodes
Is there a way to display show art when I am at the series name folder? I can't think of a way but thought I would throw it out there in case.

__________________
1 - TiVo Roamio Pro
2 - TiVo Premiere XL

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

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.

Thanks for the suggestion.

jbernardis--Thanks for sharing your work. Great tool. I may go back to the SD version. The font size is too small for me to read on a 42" LCD. I suspect you have better eyesight then some of us.

If you go into the .py file, the font sizes and colors are easily adjusted. Jbernardis did a great job of documenting the code throughout.

Any one here want to tackle a project converting meta data in an xml or ifo file to a pytivo compatible .txt file? I'd like to get the data from thumbgen to the tivo but not sure where to start with this.

__________________
Current : Roamio Base with 2TB drive and 2 Premieres and a mini. OTA. kmttg, pyTivo, running with a 78TB Synology 1511 NAS....serving up the world.

Setup help for pytivo under windows: To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Well, "xml" isn't a format -- you'll have to be more specific. jbernardis' metadata.py is borrowed from pyTivo, although he's trimmed it down. My version already supported importing data from TiVo-style XML (two different kinds just for that), as well as EyeTV (which uses plists, which use XML). But I assume none of those are what you want.

"ifo", I'm not even sure what you mean. There are .IFO files that come as part of a DVD structure, but they don't contain (this kind of) metadata. And then I see ".nfo" files, but those seem to be plain text in no fixed format.

__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Version 0.2c is now in the repository. A new option has been added to the config.ini file.

descsize=<size of the font for descriptive text>

For example

descsize=20

If omitted, it will default to its present value of 16.

BTW - I don't think my 54 year old eyes are any better than anyone elses - I chose the 16 point font because I needed it to fit the larger descriptions on screen.

Also note - if you choose a large font, the image will not be overwritten. The description view does NOT overlap the view for the image. What this means is that is the descriptive font is too large for the text, the text will simply be truncated.

Well, "xml" isn't a format -- you'll have to be more specific. jbernardis' metadata.py is borrowed from pyTivo, although he's trimmed it down. My version already supported importing data from TiVo-style XML (two different kinds just for that), as well as EyeTV (which uses plists, which use XML). But I assume none of those are what you want.

"ifo", I'm not even sure what you mean. There are .IFO files that come as part of a DVD structure, but they don't contain (this kind of) metadata. And then I see ".nfo" files, but those seem to be plain text in no fixed format.

I should have been more specific. I will try and attach an .nfo file generated by thumbgen here for example. Since thumbgen webscrapes the data and images for both movies and tv shows and is actively being developed, being able to use this data for tivo would prove useful.

Just FYI, the author of Thumbgen just messaged me and has agreed to look at adding direct support of pyTivo metadata .txt files to the program. I sent him a link to the wiki site http://pytivo.sourceforge.net/wiki/index.php/Metadata
and an example of one of my files.

__________________
Current : Roamio Base with 2TB drive and 2 Premieres and a mini. OTA. kmttg, pyTivo, running with a 78TB Synology 1511 NAS....serving up the world.

Setup help for pytivo under windows: To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Is there an option in config.ini to hide directories? For pyTivo, I use the .meta subfolder to keep all the metadata files. pyTiVo hides this folder but vidmgr does not.

This capability doesn't exist now, but theres no reason I couldn't implement it. Let me think about how it should be designed.

One question - should I ignore all directories below the meta directory? I knew this isn't the way meta directories are used, but it's a possibility my logic needs to consider. Initially my thought is to eliminate any directory that has a node named meta somewhere in the path name beneath the rout.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Yes, a leading period is the Unix convention for hidden files and directories, which is why pyTivo uses it. It pays no special attention to "meta". You probably want the same behavior as pyTivo, since this is a front-end for it.

Code:

if f.startswith('.'):
continue

__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.