-
Notifications
You must be signed in to change notification settings - Fork 64
Home
dbr edited this page Sep 12, 2010
·
24 revisions
tvdb_api currently contains two parts, tvdb_api.py and tvnamer.py
This is an easy to use Python interface to the TVDB API ( http://www.thetvdb.com ).
from tvdb_api import tvdb t = tvdb() print t['Scrubs'][4][22]['name' # This will print the name of Scrubs episode 22, in season 4 print t['My Name Is Earl'][2][1]['name'] # Prints name of episode 1 of season 2
For more information, see the tvdb_api page
This was the reason tvdb_api was written, it automatically names TV episode filenames, to more consistent and nicer-to-read names than show.name.s2e02.abc.avi
For more information, see the TVNamer page