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. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Somebody decided that theTVDB was supposed to be using the EP# and did a mass update.
     
  2. innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Right I get that. My question is this why the shows are no longer grouping for me?
     
  3. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    That I don't know unless the TiVo treats the EP prefix differently.

    What I do know is the mass update was made by an administrator based on the input of one user, aptly named "fiasco". I have expressed my displeasure by a posting in the thread on the tvDB forum that led to it.
     
  4. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Where exactly on the zap2it website do you see the series ID?
     
  5. wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    Yes.
     
  6. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    That thread is here:
    http://forums.thetvdb.com/viewtopic.php?f=5&t=7819
    for those who want to follow the gory details.

    Going to be interesting to see how the theTVDB.com operators respond to the complaint. It appears that tivo metadata still uses the SH numbers, or will this change for series that originate after the change? Or is the SH number only retained on YOUR tivo if it established the ID number for a group PRIOR to the zap2it change? (i.e., if you start a group now, will it use the EP number?)
     
  7. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    If there is a simple answer to this, I don't know it. I did some searching and all I came up with was the (very old) post on this forum:
    http://www.tivocommunity.com/tivo-vb/showthread.php?p=5740125#post5740125

    It appears this info is still correct, however. I went to zap2it.com and brought up the data for an episode of hawaii-five-0. The url included:

    EP012800630031

    If you apply the rule suggested by the linked post (remove the last four numerals), you get: EP01280063

    If you strip the leading zero this is a 7-digit number. The pyTivo wiki says for seriesId:
    Thus the question still remains: How many of the leading zeros do you strip from the EP number to get the SH number TiVo will like? It would be nice if the answer is: "all of them".

    I'm still curious where TiVo gets the SH numbers?
     
  8. audiodane

    audiodane New Member

    127
    0
    Oct 28, 2009
    Do you mean by that statement that even if you have recorded items within your Tivo to a "valid show", once that show is no longer in the listing data, you can no longer group to it?

    For instance, "A Night At the Movies" is currently hosted on TCM. I'm recording one tonight on each Tivo to get it's SHxxxxx in each Tivo. Then I plan on doing PULLs of various recordings I have to taht SHxxxx number to group. I will then delete the originally recorded episode.

    If in a few months that show is nowhere in sight within the listing, will I be able to PULL new content into that group?

    thanks in advance,
    ..dane
     
  9. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    The fact that the EP number has four additional digits makes it even more likely that this is an episode ID and that SH is still the correct prefix for a series ID. Although it appears that the URL for the general show data is also EP. So now the questions become - is this a recent change in zap2it, is it internal only, is the SH prefix added by TiVo or is it in the data that TiVo gets from Tribune?

    Grimm, which premiered on Friday, got an SH series ID on the TIVo. I would be shocked if TiVo ever started using the EP prefix for series ID. If you read the entire thread, initially Mr. fiasco was complaining about missing series IDs. Then he didn't like the fact that the SH ids didn't match what he was seeing on zap2it and convinced the admin that EP was the correct prefix.

    Another thing about this change is that there was NO announcement of it in the announcements section of the tvDB forum.

    This is probably not the proper thread for this discussion. Maybe some TCF admin should start a new thread somewhere and move the relevant posts.

    There are two things relevant to this thread:

    1. I pushed two episodes of a series to my THD and they are grouped together. However, the series ID is neither SH nor EP. It is BS. No, really.:) And the numeric part bears no resemblance to anything I see on tvDB.

    2. A pull gets them in the correct group if the metadata has an SH series ID and the TiVo recognizes it or it is a Premiere. On the THD, I'm seeing some ..odd.. behavior on groupings for pulls.
     
  10. innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    So on your push you had only a number and no SH or EP? If so their proposal of using only the number would work since grouping is my main intention.
     
  11. audiodane

    audiodane New Member

    127
    0
    Oct 28, 2009
    FWIW, years ago I did PUSH grouping and indeed I could make up anything I wanted to. I think one of my first seriesId's was "TestID" and things grouped to it perfectly fine (on a push). Of course, not a Pull. This was on an old S2 (540), back in the 2008 timeframe.

    I didn't like how little metadata was coming through on a Push, so I started doing Pull's instead. Limits my grouping capability, but gets more metadata. I've long since forgotten the seriesId I used back then, so I can't get any more files into that group. Thus my question above- if I get a new one for Pull's, in three years can I continue adding to it even if the original show is long-since-dead, or will I be out of luck then too?

    thanks,
    ..dane
     
  12. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    It was "BS" followed by numbers. And it doesn't appear to me that it is coming from tvDB.

    Example:

    BS589177614 Revenge
     
  13. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    It isn't coming from theTVDB. Using metagenerator 3 you can see theTVDB is returning EP01419525 for Revenge.
     
  14. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Yes, I knew that. It also doesn't look like anything else in the theTVDB record.
     
  15. Nov 1, 2011 #3255 of 5684
    kellyet

    kellyet New Member

    3
    0
    Oct 21, 2011
    Hi everybody..

    .. on the german wiki page the program transcode server from realtek is mentioned. It should decode files in order to view it with the media player (via stream). I downloaded this peace of software, but I don´t know how to use it and I couldn´t find any documention. Does someone have experince with it or knows another tool which supports that feature?

    Thanks a lot for your help..
     
  16. Nov 2, 2011 #3256 of 5684
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    I'd think that the TiVo would keep the cached seriesIds for any recordings that were still on the drive, but I wouldn't swear to that. I have seen old recordings lose some of their metadata IIRC.
     
  17. Nov 2, 2011 #3257 of 5684
    audiodane

    audiodane New Member

    127
    0
    Oct 28, 2009
    Yea, I realized yesterday that I could just pull the seriesId values on that Tivo, try to PULL something else with that same ID, and see if it still groups. I know for a fact that that ID value is no longer on the air (for several years now).

    When I have a chance to test, I'll report back.

    ..dane
     
  18. Nov 2, 2011 #3258 of 5684
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    My old S2 had Barney Miller episodes on it since 2007. I haven't seen them in the guide since then. Now that I've moved them the folder on my TivoHD doesn't have a title. Just the number of episodes in the folder. I suspect you're correct...
     
  19. Nov 2, 2011 #3259 of 5684
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    I have added code to my copy of pyTiVoMetaThis that will hopefully handle the series ID issue in theTVDB whether they leave them EP, change to all numeric, or change back to SH.

    The code I added is:

    Code:
                            
                            if ( tvTag == 'seriesId' ):
                                    if ( text.startswith('EP') ):
                                            text = text.lstrip('EP') # strip off leading 'EP' if there is one
                                    if (len(text) == 10):
                                            if ( text.startswith('SH00') ):
                                                    text = text.lstrip('SH00') # for 'SH00nnnnnn'
                                    if ( str(text).isdigit() ): # if remaining is numeric
                                            textint = int(text)
                                            if ( textint <= 1026171 ): # not 8 digit format (unknown if this upper bound is correct)
                                                    text = text.lstrip('0') # strip leading zeros
                                                    if ( textint < 1000000 ): # must be at least 6 digits
                                                            text = text.zfill(6)
                                            text = "SH" + text # add leading 'SH' to numeric ID
    I added it after:
    Code:
                            
                            if ( tvTag == 'time' ):
                                    text = 'time: OAD'
    Note: In Python, leading spaces in the code are significant.

    While it appears to work correctly and should handle any of the three formats they are considering, I can't guarantee that it's the best way to do it. I haven't written any code in years and have never done any Python.

    I also don't know if the upper bound for less than 8-digit ids is correct nor if there are exceptions.
     
  20. Nov 2, 2011 #3260 of 5684
    dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    So your assuming that:

    1. All theTVDB.com ID's are two letters ("SH" or "EP") followed by 8 digits.
    2. ID's that start with "SH" and 2 leading zeros, should be converted to "SH" followed by 6 digits (i.e., removing the 2 leading zeros)

    Is that correct? (Ignoring the "upper limit" issue for now.)
    If so, how did you deduce this from that thread in theTVDB forum? It wasn't clear to me that they had finalized on anything.

    Also, I'm wondering whether the case of "EP" followed by two leading zeros shouldn't receive the same treatment as "SH" followed by two leading zeros?
     

Share This Page