1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    I am already capturing the episode number, but I don't think I am writing it out to the file.

    I am not sure if pyTivo allows you to use it yet...I'll have to look.

    Also, please read my post here. I am not capturing data from zap2it or IMDB. I don't believe I will be able to capture data from zap2it without screen scraping (which isn't a good thing to do) and IMDB is really weird about how to get their data (they want you to host your own data and only offer text files to create your DB)...so I found these two places which they seem to be a really good solution. A lot of HTCs are using these two places to get their data so it must be ok.

    If anyone else knows of a data source we can use (and how to get the data, not just saying IMDB is good) then I will definitely look at it....
     
  2. etsolow

    etsolow Don't Try

    1,554
    0
    Feb 8, 2001
    Wisconsin
    It was on a Humax DVDTiVo (model 595). I have another identical TiVo that I haven't tested yet, and an S3 that I haven't tested yet. I had to revert back to allow some movies to be watched! :) I've been using a previous version that doesn't have this problem, but I'm embarrassed to admit that I've lost track of what version it is, with all the fiddling around I've been doing. Is there a quick way to tell?

    ETA: Running on Windows Vista Ultimate.
     
  3. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    AFAIK, pyTivo does not handle the episode number.

    You could consider doing it the way my two programs (which read the metadata from .tivo files, see links below) do:

    I incorporate the seriesTitle, episode# (if it exists) and episodeTitle (if it exists) in the "title" metadata field, e.g.:

    title : CSI: Miami (#508) - High Octane

    This seems to work out well. To see how it displays, just mod one of your existing metadata files with dummy data in the title item and select the video from the NPL.
     
  4. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    Be curious to see what it does on the S3.

    Don't know any way to tell pyTivo versions.

    Hmmm... Vista. I wonder if another user could test this code on Vista and report whether they have the same problem. Are you running with Admin privileges?
     
  5. etsolow

    etsolow Don't Try

    1,554
    0
    Feb 8, 2001
    Wisconsin
    Yep.
     
  6. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    It would be interesting (if you're willing) to download wmcbrine's snapshot and see if it behaves the same way (i.e., to see if I corrupted it when I created the zip and added my two mods).

    One of the lucky 200 eh? That means lucky enough to pay $800, right? :rolleyes: (I'm just envious.) Looks like you're also an early TiVo adopter.
     
  7. etsolow

    etsolow Don't Try

    1,554
    0
    Feb 8, 2001
    Wisconsin
    OK, I downloaded that version and it works fine on both my 595 and the S3. So I went back to your version, and now it works fine on both too. Go figure! I'll stick with yours, as I prefer the way you handle files without metadata.

    Thanks!

    Yes I paid $800, but that's actually a reference to the 200 Tivo.com orders that were "lost" on day one of the S3's availability. The subsequent debacle almost made some of us rethink our relationship with TiVo.
     
  8. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    I updated the pyTivo wiki with information about the metadata feature. I created a metadata page that has all data from the notes that was created by Ruttmeister.

    The links for the pages is under the "Special Features" section of the home page.

    Hopefully this will help new people understand the whole metadata feature in pyTivo...

    pyTivo home page
     
  9. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    Good Job!

    I will be adding links and a description page for pyTivoMetaGen soon.

    I didn't see any basic description of how the metadata file system works (i.e., you need a text file named <video_file_name.ext>.txt in the same folder as the video file). Did I miss this?
     
  10. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    No you didn't, I forgot to put that :)

    I will add that into the MetaData folder right now before I forget.

    I am pretty sure that I will release a new version of the metagenerator today that will allow you to right-click an entire season, choose the correct seriesId, choose a destination directory and it will create all the metadata files for the entire season into that directory.

    I am naming the files like: 1x1.txt, 1x2.txt, 1x3.txt, 1x4.txt

    This way that hardest part is really just renaming them to your episode convention, which isn't that hard.

    I am NOT going to release the ratings-to-stars stuff we have been talking about until a new version of pyTivo is released with the ratings in there (dlfl made a hack, but it's not officially in there yet).
     
  11. Chew

    Chew New Member

    284
    0
    Jan 22, 2003
    Would updating a previously installed and running Windows version be as easy as copying the contents of your zip into the pytivo folder (and thus overlaying what's there)?
     
  12. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    Here is the latest version of the MetaGenerator.

    The only thing that I have added is the ability to choose a season and extract the entire season's episodes to a directory. This will name the episodes like: 1x1.txt, 1x2.txt, 1x3.txt, 1x4.txt

    Again, if you notice any bugs, let me know and I will try to send out an update for everyone.

    Enjoy!
     
  13. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    There's a new master version posted, and I've merged that and wgw's branch into mine.
     
  14. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    ^ Anyone know what's in the new version?
     
  15. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    Not a recommended procedure although it MIGHT work.

    Recommended: Make a new folder for the new version of pyTivo. There is no harm in having multiple pyTivo folders (with distinct names of course) -- just be sure the ffmpeg path is correct in the local pyTivo.conf file. This way you don't delete a version that, as you said, is "installed and running."

    If you still want to install on top, delete everything in the current pyTivo folder except your pyTivo.conf file, then copy the zip contents in.
     
  16. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    I found the easiest way to see the changes was via http://repo.or.cz/w/pyTivo.git . Basically it's most of my changes except for the plugins, along with dlfl's ticket #58.

    BTW, I see no problem with simply unzipping a new version over an old one.
     
  17. Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    I've been unzipping a new pyTivo over an old one for months and never have had any problem. You just have to make sure the directory names are the same obviously so it just takes some renaming. Mastercephus, I don't understand what is new with the new generator. How do you add series episode numbers?
     
  18. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    This seems to say your latest Git snapshot does NOT include your new plugins. However it looks like it does. (They don't match what's in the WiKi source and there is a photo module that isn't in the Wiki source).

    (And I can't imagine why you would exclude your plugins.)

    Please clarify??
    Thanks

    Edit: Sorry -- I was confused. The link above is to the "main" pyTivo code, not to wmcbrine's fork.
     
  19. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    Search for a TV series, then right click on a season...you can now batch save an entire season's worth of metadata to a directory.
     
  20. philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Hi Mcbrine.

    Did you see my debug output for the music section? FWIW, it looks like it was trying to do some kind of video stuff with it.

    Can you look at it, see if you see what is going on?

    Thanks
     

Share This Page