chadopp / mythepisode

TV Series/Shows
2 stars 3 forks source link

Add ability to grab data from TheTVDB.com #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
TheTVDB.com has an API that will allow us to grab the same sort of info that 
tvrage.com offers.  It would be nice to be able to use either or both to grab 
the most accurate data.

Original issue reported on code.google.com by chadopp@gmail.com on 22 Oct 2010 at 3:14

GoogleCodeExporter commented 9 years ago

Original comment by chadopp@gmail.com on 21 Nov 2010 at 3:36

GoogleCodeExporter commented 9 years ago
I think what I'm going to do here is leverage off of the ttvdb.py script that 
already exists within mythtv.  I'm thinking when doing an "Update Episode 
listing", for any episode that has No summary data available from tvrage I will 
check against thetvdb.com.

Original comment by chadopp@gmail.com on 21 Nov 2010 at 6:43

GoogleCodeExporter commented 9 years ago
I requested an API key from TheTVDB.com and updated grabid.pl to update episode 
summary information from thetvdb if it's not available from tvrage.  At the end 
of the summary information the source is identified.  The ttvdb.py script 
doesn't grab all of the episode information for a show with one call so I just 
updated grabid.pl instead. 

Original comment by chadopp@gmail.com on 22 Nov 2010 at 2:28

GoogleCodeExporter commented 9 years ago
Making changes to grabid.pl to use XML::Simple.  Also want to allow the user to 
choose between TVRage.com or TheTVDB.com.

Original comment by chadopp@gmail.com on 24 Nov 2010 at 5:10

GoogleCodeExporter commented 9 years ago
I uploaded grabid to trunk...It functions but it is a work in progress still.

Original comment by chadopp@gmail.com on 24 Nov 2010 at 5:31

GoogleCodeExporter commented 9 years ago
Been working a little on grabid.pl to allow the choice of tvrage.com or 
thetvdb.com.  It is currently hardcoded to tvrage.com but most of the code is 
there to pull from thetvdb.com.  My plan is to make it user configurable.  I'm 
going to have to leave it as is for today since it's Thanksgiving and I'm on 
turkey duty.  I uploaded the latest but it is a work in progress.  For now you 
can change it to pull from thetvdb.com by changing tvrage_defined = 1 to 
tvdb_defined = 1.

Original comment by chadopp@gmail.com on 25 Nov 2010 at 3:35

GoogleCodeExporter commented 9 years ago

Original comment by chadopp@gmail.com on 27 Nov 2010 at 8:53

GoogleCodeExporter commented 9 years ago
I think I'm done with this.  Both sites have their strengths.  I currently 
prefer TVRage.com as the default and let TheTVDB.com fill in the blanks.  There 
are some shows that TVRage doesn't have info on but TheTVDB does and vice 
versa, so it's nice to be able to choose.

Original comment by chadopp@gmail.com on 27 Nov 2010 at 9:18

GoogleCodeExporter commented 9 years ago
I forgot to mention that all of the show information is grabbed from 
TVRage.com.  Episode information can be grabbed from TVRage.com or TheTVDB.com. 
 The reason for this is that TheTVDB.com doesn't have an API call to grab all 
available shows from their DB.  They are releasing a new site/API that will 
have this capability in the near future.  I know there are other ways to get 
this info from their site but I will only use the API so that we can play nice 
with their systems and comply with their TOS.  They will block IP Addresses if 
they feel users are abusing their site.

Original comment by chadopp@gmail.com on 27 Nov 2010 at 9:32