TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 11-25-2007, 12:41 AM   #1
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,080
List series ID's

In case anyone's interested, here's a little Python program I wrote to dump the list of series ID's currently in your Now Playing list. More of a programming exercise for myself, but anyway...

Code:
#!/usr/bin/env python

''' 
Grabs the Series IDs of current recordings from your TiVo and lists 
them, together with the titles of the series. You need your Media Access 
Key and the IP address of your TiVo.
'''

def open_tivo(address, mak):
    "Open the Now Playing page at 'address', with Media Access Key 'mak'"
    import urllib2
    url = 'https://%s/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes'
    pm = urllib2.HTTPPasswordMgrWithDefaultRealm()
    pm.add_password(None, address, 'tivo', mak)
    opener = urllib2.build_opener(urllib2.HTTPDigestAuthHandler(pm))
    return opener.open(url % address)

def get_mak():
    "Return tivodecode's record of the MAK, if available; otherwise prompt"
    import os.path
    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? ')

def get_id_list(source):
    "XML -> dict of titles and series ID's"
    from xml.dom import minidom
    xmldoc = minidom.parse(source)
    items = xmldoc.childNodes[0].getElementsByTagName('Item')

    # Build a dictionary of the titles and series ID's for every item
    # that has a series ID.

    return dict([
           (i.getElementsByTagName('Title')[0].childNodes[0].data,
            i.getElementsByTagName('SeriesId')[0].childNodes[0].data)
            for i in items if i.getElementsByTagName('SeriesId')
        ])

def report(ids):
    "Print a title-sorted list from a dict of titles and series ID's"
    titles = ids.keys()
    titles.sort()

    for i in titles:
        print ids[i].ljust(9), i

if __name__ == '__main__':
    print __doc__

    tivoaddress = raw_input('TiVo address? ')
    tivomak = get_mak()

    print '\nOpening...'

    source = open_tivo(tivoaddress, tivomak)

    print 'Parsing...\n'

    series_ids = get_id_list(source)
    source.close()

    report(series_ids)
If you like, post your lists in this thread. I'm a little curious if the IDs are the same for all boxes or not...
Attached Files
File Type: zip seriesids.zip (1.0 KB, 107 views)
wmcbrine is offline   Reply With Quote
Old 11-25-2007, 12:45 AM   #2
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,080
Example of using this as a module -- merged list from two Tivos:

Code:
import seriesids

mak = seriesids.get_mak()
s1 = seriesids.open_tivo('dhcp2', mak)
list1 = seriesids.get_id_list(s1)
s1.close()
s2 = seriesids.open_tivo('dhcp4', mak)
list2 = seriesids.get_id_list(s2)
s2.close()

seriesids.report(dict(list1.items() + list2.items()))

wmcbrine is offline   Reply With Quote
Old 11-25-2007, 01:04 AM   #3
Enrique
Registered User
 
Join Date: May 2006
Location: San Antonio,Tx
Posts: 4,995
TC CLUB MEMBER
I am not 100% how to do this, but I did put in my Tivo IP then Tivo mak then it show this:

SH963097 A Shot at Love With Tila Tequila
SH753786 Ghost Whisperer
SH797834 Is It Real?
SH931008 K-Ville
SH931177 Moonlight
SH930981 Pushing Daisies
SH696201 The Biggest Loser
SH951139 The Steve Wilkos Show
SH767257 The Tyra Banks Show

I am only missing one show off of that list.

Last edited by Enrique : 11-25-2007 at 01:13 AM.
Enrique is online now   Reply With Quote
Old 11-25-2007, 01:42 AM   #4
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
Excellent!

Quote:
Originally Posted by wmcbrine View Post
In case anyone's interested, here's a little Python program I wrote to dump the list of series ID's currently in your Now Playing list. More of a programming exercise for myself, but anyway...

......................

If you like, post your lists in this thread. I'm a little curious if the IDs are the same for all boxes or not...
Works as advertised, thanks! I just hard-coded in my IP and MAK in the main function.

Here's my list:

SH818666 10 Days That Unexpectedly Changed America
SH524061 CSI: Miami
SH079723 Civil War Journal
TS1318011 Cranky Geeks
SH017479 Great Performances
SH726133 The Office

Note the Cranky Geeks ID is one char longer than the others. This is a TiVo Cast program which is protected.

And thanks for the great example for learning http access via Python.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


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

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is offline   Reply With Quote
Old 11-25-2007, 02:27 AM   #5
armooo
pyTivo Developer
 
Join Date: Feb 2003
Posts: 79
SH457051 Access Granted
SH575702 America's Next Top Model
SH550252 America's Test Kitchen From Cook's Illustrated
SH593047 Animal Cops Houston
SH710749 Battlestar Galactica
SH910397 Blood Plus
SH237920 Champions of the Wild
SH597231 Clean Sweep
TS1318011 Cranky Geeks
SH929309 Critical Situation
SH959565 Death Note
SH753529 Decoding the Past
SH625603 Designed to Sell
SH611442 Dirty Jobs
SH927779 Ergo Proxy
SH867320 Everest: Beyond the Limit
SH679852 Exploraciones
SH667618 Find & Design
SH303483 Futurama
SH838748 Gokusen
SH273928 Good Eats
SH137975 H.G. Wells' Invisible Man
SH848361 Heroes
SH625051 How Do I Look?
SH277665 If Walls Could Talk
SH647153 Iron Chef America
SH017617 Law & Order
SH726130 Law & Order: Trial by Jury
SH337496 Lexx
SH400025 MTV Cribs
SH552974 Made
SH769884 Mirage of Blaze
SH103115 Modern Marvels
SH960782 Moonphase
SH557678 MythBusters
SH683074 Naked Science
SH003138 Nightline
SH925647 Noein
SH807675 Parental Control
SH899881 Planet Earth
SH593272 Profiles of Nature
SH705529 Project Runway
SH767508 Rezoned
SH864685 Saiyuki Reload
SH814966 Samurai 7
SH760882 Small Space, Big Style
SH003985 Star Trek
SH446583 Star Trek: Enterprise
SH685627 Survivorman
SH598805 Tactical to Practical
SH927781 Tenjho Tenge
SH508952 The Dead Zone
SH380343 The District
SH211446 The Practice
SH052522 The Real World
SH290992 The Sopranos
SH711080 The Ultimate Fighter
SH919501 The Universe
SH080955 The X-Files
SH393384 Trading Spaces
SH231685 Trauma: Life in the ER
SH848057 Trinity Blood
SH645952 Untold Stories of the E.R.
SH446477 Unwrapped
SH962738 Virus Buster Serge
SH476707 What Not to Wear
__________________

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

A python real time video transcoding server for TiVo.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
armooo is offline   Reply With Quote
Old 11-25-2007, 12:04 PM   #6
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,080
Quote:
Originally Posted by dlfl View Post
Note the Cranky Geeks ID is one char longer than the others. This is a TiVo Cast program which is protected.
Yeah, the regular series ID's are "SH" followed by six digits, and the TivoCasts are "TS" followed by seven digits. I was surprised that they seem to have reserved ten times as much space for TivoCast ID's.

Anyway, here are mine:

SH848357 30 Rock
SH445113 Alias
SH466293 Aqua Teen Hungerforce
SH393237 At the Movies With Ebert & Roeper
SH062528 Beavis and Butt-head
SH506521 Blue Gender
TS1000631 CNET
SH380341 CSI: Crime Scene Investigation
SH524061 CSI: Miami
SH679714 CSI: NY
SH658623 Case Closed
TS2060461 Channel Frederator
SH019177 Charlie Rose
TS1002251 Circuits
TS1317131 DL.TV
SH649011 Danny Phantom
SH672318 Desperate Housewives
SH686098 Drawn Together
TS1014971 El Callejon de los Milagros
SH665420 Entourage
SH840179 Eureka
SH296001 Family Guy
SH945608 Flash Gordon
SH018042 Frank TV
SH303483 Futurama
SH842020 Galaxy Railways
SH732283 Grey's Anatomy
SH860665 Hidden Potential
SH415402 How It's Made
TS1014971 Inspiracion
SH926063 Live From Abbey Road
SH154796 MAD TV
SH962243 Mars Rising
SH657011 Mike and Mike in the Morning
SH669838 NFL Total Access
SH585876 Reno 911!
SH899947 Robin Hood
SH003732 Scientific American Frontiers
SH446160 Scrubs
SH016916 Seinfeld
SH586790 Sell This House!
SH229827 South Park
SH432225 Special Unit 2
SH578678 Sports Reporters
SH003985 Star Trek
SH666541 Stargate Atlantis
SH579364 Subterranean
SH846730 Tenchi Muyo! GXP
SH277598 That '70s Show
SH684279 The Batman
SH508952 The Dead Zone
SH424998 The Fairly OddParents
SH155564 The NewsHour With Jim Lehrer
SH726133 The Office
SH018693 The Simpsons
SH451469 The Suze Orman Show
SH019110 The Twilight Zone
SH476707 What Not to Wear
SH004762 Wheel of Fortune
SH827464 Wild Things
SH882710 Wired Science
SH524080 Without a Trace
SH854373 Yin Yang Yo!
TS1007411 wmcbrine's TiVo Channel

...and I see that "Futurama", "Star Trek" and "What Not to Wear" match armoo's ID's, "The Office" matches dlfl's, and armoo and dlfl's "Cranky Geeks" match. So I guess we can safely say that they're universal.

Last edited by wmcbrine : 11-25-2007 at 12:13 PM.
wmcbrine is offline   Reply With Quote
Old 11-25-2007, 12:23 PM   #7
greg_burns
Now in HD
 
greg_burns's Avatar
 
Join Date: May 2004
Location: Slower Lower Delaware
Posts: 6,376
SH586260 48 Hours Mystery
SH931010 Back to You
SH930788 Bionic Woman
TS1007641 Break.com
SH861889 CBS Evening News With Katie Couric
TS1000631 CNET
SH380341 CSI: Crime Scene Investigation
SH524061 CSI: Miami
SH679714 CSI: NY
SH592727 Cold Case
SH508651 Cold Case Files
SH753791 Criminal Minds
TS1317131 DL.TV
SH019155 Dateline NBC
SH796119 Deal or No Deal
SH517851 Dr. Phil
SH848361 Heroes
SH688359 House
MV009888 House on Haunted Hill
SH930774 Journeyman
SH931618 Kid Nation
SH932409 Kitchen Nightmares
SH592616 Las Vegas
SH076838 Late Show With David Letterman
SH672362 Lost
SH681911 NCIS
SH536592 Paula's Home Cooking

MV must be Amazon Unbox.

Wondering why this skipped a lot of my shows?
greg_burns is offline   Reply With Quote
Old 11-25-2007, 12:51 PM   #8
wgw
Registered User
 
Join Date: May 2007
Posts: 217
thanks for the utility. I manually built a series id list yesterday, but this is sooooo much easier.

I have an MV as well but Broken Trail was recorded from AMC.

SH930788 Bionic Woman
SH672369 Boston Legal
SH930987 Cavemen
SH930779 Chuck
SH672318 Desperate Housewives
SH225826 Dharma & Greg
SH848361 Heroes
SH930774 Journeyman
SH173109 Kindred: The Embraced
SH484723 Last Call With Carson Daly
SH080187 Late Night With Conan O'Brien
SH076838 Late Show With David Letterman
SH932208 Life Is Wild
SH931177 Moonlight
SH380827 Movies
SH681911 NCIS
SH712872 NUMB3RS
SH963115 Pageant Place
SH754199 Prison Break
SH733773 Ready, Set, Change!
SH932210 Reaper
SH446160 Scrubs
SH848759 Shark
SH754231 Supernatural
SH931182 The Big Bang Theory
SH004397 The Tonight Show With Jay Leno
SH753792 The Unit
SH592733 Two and a Half Men
SH931169 Viva Laughlin
SH930986 Women's Murder Club
SH790978 All Star Workouts
SH898877 Blood Ties
SH960717 Blue Planet
SH480422 Blue Planet: Seas of Life
MV178361 Broken Trail
SH830603 Brotherhood
TS1000631 CNET
SH378317 Coupling
TS1318011 Cranky Geeks
SH391978 Curb Your Enthusiasm
TS1317131 DL.TV
SH388853 Dark Angel
SH225330 Dead Man's Gun
SH750178 Doctor Who
SH960860 Five Days
SH945608 Flash Gordon
SH469459 Forecast Earth
SH868991 It's All Geek to Me
SH762956 It's Always Sunny in Philadelphia
SH859980 Man vs. Wild
SH511651 Monk
SH380827 Movies
SH002995 Murder, She Wrote
SH712872 NUMB3RS
SH683074 Naked Science
SH003134 Night Court
SH837834 Psych
SH899947 Robin Hood
TS1002401 Rocketboom
SH432225 Special Unit 2
SH446583 Star Trek: Enterprise
SH666541 Stargate Atlantis
SH685627 Survivorman
SH665214 The 4400
SH508952 The Dead Zone
SH004279 The Gene Autry Show
SH453168 The Office
SH019110 The Twilight Zone
SH947230 Torchwood
SH679777 Vacation Home Search
SH759395 Weeds
wgw is offline   Reply With Quote
Old 11-25-2007, 03:17 PM   #9
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,080
Quote:
Originally Posted by greg_burns View Post
MV must be Amazon Unbox.
I have a couple of Unbox entries in my list (free "purchases"), and they're both "TS1014971". I hadn't seen "MV" before. I'd guess that "MV" is for "Movie", "SH" for "Show", and "TS" maybe for "TivoCast Show"? But I have several movies in my Now Playing list, and they don't have any ID's.

Hmm... I wonder if it could be that an "MV" entry will hang around as long as the movie is in the guide data, and then disappear?

Quote:
Wondering why this skipped a lot of my shows?
It only covers shows that are currently in the Now Playing list (not shows that you just have Season Passes for); some entries don't have Series ID's; and I've read that the "&Recurse=Yes" lookup will stop after 128 entries, which I didn't bother to work around. If it's not one of those reasons, I don't know.
wmcbrine is offline   Reply With Quote
Old 11-25-2007, 03:42 PM   #10
wgw
Registered User
 
Join Date: May 2007
Posts: 217
I did a Universal Swivel on Broken Trail and found that it is also available as an Unbox download. The relation to Unbox may be why the cable recording has the MV ID.
wgw is offline   Reply With Quote
Old 11-25-2007, 05:04 PM   #11
greg_burns
Now in HD
 
greg_burns's Avatar
 
Join Date: May 2004
Location: Slower Lower Delaware
Posts: 6,376
Quote:
Originally Posted by wmcbrine View Post
It only covers shows that are currently in the Now Playing list (not shows that you just have Season Passes for); some entries don't have Series ID's; and I've read that the "&Recurse=Yes" lookup will stop after 128 entries, which I didn't bother to work around. If it's not one of those reasons, I don't know.
Yeah, I thought about the 128 issue. But I have less than 100 in my NPL.

Guess I should take a look a python. Is this an interpreted language (ie, not complied). How do you look at the source? Is PythonWin the editor? When I try to run that I get an error about MFC71.DLL not being found. Time to reinstall.

don't go to python.com!

http://www.python.org/

Last edited by greg_burns : 11-25-2007 at 05:09 PM.
greg_burns is offline   Reply With Quote
Old 11-25-2007, 06:42 PM   #12
CuriousMark
Forum Denizen
 
CuriousMark's Avatar
 
Join Date: Jan 2005
Location: SoCal
Posts: 2,555
Quote:
Originally Posted by greg_burns View Post
Guess I should take a look a python. Is this an interpreted language (ie, not complied). How do you look at the source? Is PythonWin the editor?
Unlike languages that use beginning and ending delimiters for nesting and allow you to add indenting, python uses the indenting explicitly for nesting. This makes it cleaner and easier to read.

It is interpreted, but does "compile" the raw code to tokens in a PYC file that it can run a bit faster. That feature can be turned off if desired.

The source is the *.py file. You can edit it with any text editor. There are many that are python aware. I currently use Textpad, but PyWin and about a dozen others are good too. I personally prefer the active state version for installation on a PC since it includes PyWin and a couple of other additions that you will always end up getting on your own anyway. It also includes the complete Python docs in a nice windows help file.

Since Python is fully interactive, you can simply start the interpreter and type python directly into and it will run, just like Basic did in my youth.

Last edited by CuriousMark : 11-25-2007 at 06:47 PM.
CuriousMark is offline   Reply With Quote
Old 11-25-2007, 07:05 PM   #13
greg_burns
Now in HD
 
greg_burns's Avatar
 
Join Date: May 2004
Location: Slower Lower Delaware
Posts: 6,376
Quote:
Originally Posted by CuriousMark View Post
I currently use Textpad
Thanks Mark. Tried at first with Notepad and it didn't recognize the CR LF. Scared me, thought I was looking at a binary.
greg_burns is offline   Reply With Quote
Old 11-26-2007, 02:32 AM   #14
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,080
Quote:
Originally Posted by greg_burns View Post
Thanks Mark. Tried at first with Notepad and it didn't recognize the CR LF.
Indeed, there are no CRLF sequences -- just LF's. That's because I typed it in nano, under Linux, where plain LF is the standard line ending. Sorry.

I think most editors nowadays will recognize CRLF, LF, or even CR (old Mac standard) as line endings, but notepad is an annoying CRLF-only holdout, even as it's gained the ability to read UTF-8, UTF-16, and huge files.
wmcbrine is offline   Reply With Quote
Old 11-26-2007, 10:54 AM   #15
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,243
Wow, pretty cool. I've got to jump back into the pyTiVo thread ... I've been watching (but not really reading) all the progress being made over there.

Here's my list:

SH847517 Ace of Cakes
SH445113 Alias
SH565783 American Chopper
SH317395 Angel
SH598470 Arrested Development
SH710749 Battlestar Galactica
SH876404 Challenge
SH550283 Chappelle's Show
SH446167 Crossing Jordan
SH380341 CSI: Crime Scene Investigation
SH679714 CSI: NY
SH649011 Danny Phantom
SH203444 Denise Austin's Daily Workout
SH291777 Denise Austin's Fit & Lite
SH225826 Dharma & Greg
SH883566 Dinner: Impossible
SH611442 Dirty Jobs
SH115131 ER
SH840179 Eureka
SH190061 Everybody Loves Raymond
SH633487 Extreme Makeover: Home Edition
SH296001 Family Guy
SH841570 Feasting on Asphalt
SH524463 Firefly
SH115127 Friends
SH303483 Futurama
SH720935 Go Baby
SH273928 Good Eats
SH963734 Gourmet Next Door
SH732283 Grey's Anatomy
SH835935 Guy's Big Bite
SH848361 Heroes
SH298935 Home Movies
SH415402 How It's Made
SH084554 How to Boil Water
SH778976 I Love the '80s: 3D
SH358427 Inhale
SH647153 Iron Chef America
SH762956 It's Always Sunny in Philadelphia
SH002348 Jeopardy!
SH508607 Kim Possible
SH207002 King of the Hill
SH080187 Late Night With Conan O'Brien
SH017617 Law & Order
SH446173 Law & Order: Criminal Intent
SH316978 Law & Order: Special Victims Unit
SH925303 Lil' Bush
SH836453 Lou and Lou: Safety Patrol
SH859980 Man vs. Wild
SH713516 Medium
SH851909 Metalocalypse
SH511651 Monk
SH557678 MythBusters
SH173694 Nash Bridges
SH338961 NewsChannel 8 Today
SH003134 Night Court
SH589658 Nip/Tuck
SH899881 Planet Earth
SH930971 Private Practice
SH837834 Psych
SH610633 Repo Men: Stealing for a Living
SH725962 Robot Chicken
SH003650 Rockford Files
MV024517 Rosencrantz and Guildenstern Are Dead
SH003710 Saturday Night Live
SH446160 Scrubs
SH462576 Sealab 2021
SH265438 Sex and the City
SH003837 Simon & Simon
SH438626 Six Feet Under
SH229827 South Park
SH446583 Star Trek: Enterprise
SH666541 Stargate Atlantis
SH225421 Stargate SG-1
SH661415 Stroker and Hoop
SH753827 Surface
SH685627 Survivorman
SH775388 The Boondocks
SH293053 The Daily Show With Jon Stewart
SH453168 The Office
SH492273 The Shield
SH018693 The Simpsons
SH681066 The Soup
SH004397 The Tonight Show With Jay Leno
SH560454 The Venture Brothers
SH317016 Third Watch
SH947230 Torchwood
SH446477 Unwrapped
SH273673 Whose Line Is It Anyway?

There's the MV prefix for an Unbox movie again. Obviously a lot of those listed above are Suggestions ... I don't have that many SPs.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

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.
windracer is offline   Reply With Quote
Old 11-29-2007, 08:32 AM   #16
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 583
Just thinking out loud here...

Wouldn't you think that there would be a way to glean these values from TiVo's on-line scheduling web site ? It just makes too much sense to me.

[edit]

YES! Although not where I was expecting it to be. If you look up a show in zap2it.com (not tivo.com), you'll see the SeriesID embedded in the URL. Examples :


SH830603 Brotherhood
http://tvlistings.zap2it.com/tvlisti...ail&pgmId=EP008306030022

SH303483 Futurama
http://tvlistings.zap2it.com/tvlisti...ail&pgmId=EP003034830015

SH611442 Dirty Jobs
http://tvlistings.zap2it.com/tvlisti...ail&pgmId=EP006114420016

Last edited by PaulS : 11-29-2007 at 08:58 AM.
PaulS is offline   Reply With Quote
Old 11-29-2007, 09:06 AM   #17
HDTiVo
Not so Senior Member
 
Join Date: Nov 2002
Posts: 5,556
What ID do you get if the recording is from a Wishlist? Say "Movies & Lassie" ...

Wondering about WL grouping vs. Series grouping ...


Also, I downloaded the file, but I don't have whatever it is that it runs in, python?
HDTiVo is offline   Reply With Quote
Old 11-29-2007, 12:01 PM   #18
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 583
Quote:
Originally Posted by HDTiVo View Post
What ID do you get if the recording is from a Wishlist? Say "Movies & Lassie" ...

Wondering about WL grouping vs. Series grouping ...
That would be an interesting test to try out.

Quote:
Originally Posted by HDTiVo View Post
Also, I downloaded the file, but I don't have whatever it is that it runs in, python?
You need to install python : DOWNLOAD PYTHON
PaulS is offline   Reply With Quote
Old 12-08-2007, 09:30 AM   #19
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 583
Here are the complete SeriesID lists, sorted by name and by ID. Enjoy!
Attached Files
File Type: zip SeriesID-by-ID.zip (42.4 KB, 39 views)
File Type: zip SeriesID-by-Name.zip (42.7 KB, 53 views)
PaulS is offline   Reply With Quote
Old 12-12-2007, 07:45 PM   #20
billb914
Registered User
 
Join Date: Jan 2005
Posts: 58
I'm and old perl hack but know nothing of python. I think I did something wrong:

Opening...
Traceback (most recent call last):
File "seriesids.py", line 60, in ?
source = open_tivo(tivoaddress, tivomak)
File "seriesids.py", line 16, in open_tivo
return opener.open(url % address)
File "c:\Python22\lib\urllib2.py", line 333, in open
'unknown_open', req)
File "c:\Python22\lib\urllib2.py", line 307, in _call_chain
result = func(*args)
File "c:\Python22\lib\urllib2.py", line 837, in unknown_open
raise URLError('unknown url type: %s' % type)
urllib2.URLError: <urlopen error unknown url type: https>
billb914 is offline   Reply With Quote
Old 12-12-2007, 09:26 PM   #21
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 9,080
Yeah, you might want to upgrade your Python; I don't think it will run on 2.2. I have 2.5, and I made no effort at backwards-compatibility.
wmcbrine is offline   Reply With Quote
Old 12-20-2007, 06:22 AM   #22
reneg
Registered User
 
Join Date: Jun 2002
Posts: 457
Attached is a link to additional Series IDs I was able to gleam off the Internet. This list is a superset of the list posted earlier by PaulS. There are over 10,000 Series in this list. The linked zip file contains a comma separated text file.

Download Series IDs from here.

In addition, I did a rudimentary mapping between the Series IDs that Tivo recognizes and the TVDB IDs. There are over 2,000 series that map directly on title compares. The linked zip file is also a comma separated text file.

Download TVDBMap here
reneg is offline   Reply With Quote
Old 12-20-2007, 07:28 AM   #23
MasterCephus
Registered User
 
MasterCephus's Avatar
 
Join Date: Jan 2005
Location: Hueytown, Alabama
Posts: 309
Just so everyone knows, I am using PaulS's list of series IDs in the MetaGenerator I wrote for pyTivo. There are some missing IDs, but I think PaulS said it was about 90% complete.
MasterCephus is offline   Reply With Quote
Old 12-20-2007, 08:20 AM   #24
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 583
Quote:
Originally Posted by MasterCephus View Post
Just so everyone knows, I am using PaulS's list of series IDs in the MetaGenerator I wrote for pyTivo. There are some missing IDs, but I think PaulS said it was about 90% complete.
Well, that 90% was a guestimate, which appears to be FAR off the mark in comparison to reneg's list. I have no idea why my searches didn't turn up more entries.

It looks like reneg's list is a far more comprehensive listing. Well done!
PaulS is offline   Reply With Quote
Old 12-20-2007, 08:26 AM   #25
MasterCephus
Registered User
 
MasterCephus's Avatar
 
Join Date: Jan 2005
Location: Hueytown, Alabama
Posts: 309
so then I should produce an update with Reneg's list then?

I think you are right...I am going to make an update with this list instead of what I am using now...I have some other things that I am going to add to it as well so it might take me a couple of days...
MasterCephus is offline   Reply With Quote
Old 12-20-2007, 08:34 AM   #26
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 583
Quote:
Originally Posted by MasterCephus View Post
so then I should produce an update with Reneg's list then?

I think you are right...I am going to make an update with this list instead of what I am using now...I have some other things that I am going to add to it as well so it might take me a couple of days...
Why can't you make a slight modification that will allow a user to specify a text file (or files) that contains a list of SeriesID's, to supplement or replace your current db3 file ? Or, include a tool to allow a user to generate the db3 themselves ?

That way, whenever a new entry is discovered, or new shows start popping back up after the WGA strike is over, you don't have to spin a new version ?

Last edited by PaulS : 12-20-2007 at 08:49 AM.
PaulS is offline   Reply With Quote
Old 12-20-2007, 12:20 PM   #27
MasterCephus
Registered User
 
MasterCephus's Avatar
 
Join Date: Jan 2005
Location: Hueytown, Alabama
Posts: 309
I could try something like that, but I would have to specify the exact way the file would have to be formatted...

This was also a programming exercise and I had never used SQLite so I wanted to try that out.

I could just default mine, but then allow you to use a different file if you wanted....

I might end up doing that, but for right now, I think I will stick to this method...but I'll put it on my list of updates though!

Thanks for the input!
MasterCephus is offline   Reply With Quote
Old 12-24-2007, 02:31 PM   #28
reneg
Registered User
 
Join Date: Jun 2002
Posts: 457
With a few more days of data, I have another 872 series IDs identified. I'm sure I won't discover as many new series IDs as the number found increases, but what PaulS suggested about a user modified text file sounds like a decent enhancement for your metadata generator program.
reneg is offline   Reply With Quote
Old 12-29-2007, 08:04 PM   #29
reneg
Registered User
 
Join Date: Jun 2002
Posts: 457
I have identified another 1190 Tivo Series IDs since my 12/20 post. They are posted on mediafire as follows:
Tivo Series IDs rel 2
TVDB Mapping to Series IDs rel 2
New series IDs added to rel 2 (delta from release number 1)

There is a problem in my listings with the handling of umlauts and other world accent markings. I'm looking at how to correct it.
reneg is offline   Reply With Quote
Old 03-25-2008, 12:46 PM   #30
Narf54321
Registered User
 
Join Date: Mar 2005
Posts: 120
Not sure how much this helps, but one 'generic' folder folks may want to use for grouping is the initial Tivo Video Tours folder (which I'm sure gets deleted by everyone fairly quickly). May be useful for storing occasional oddball series, and I can't see it being re-used for anything else:

Code:
TmsId[16]=SH728618
Title[17]=TiVo Video Tours

Narf54321 is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 01:02 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |