TheTVDB.com

Online TV Database
It is currently Wed Jun 19, 2013 10:18 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Series update question
PostPosted: Tue Oct 18, 2011 5:03 pm 
Offline

Joined: Mon Oct 17, 2011 2:34 pm
Posts: 1
Hi,

The xml file that you get to check for updates contains a list of show updates and of episode updates, but how to know if new episodes have been added to a show and get the corresponding id and description ?

Thanks
David


Top
 Profile  
 
PostPosted: Tue Mar 06, 2012 2:14 pm 
Offline

Joined: Tue Mar 06, 2012 2:09 pm
Posts: 1
I am bumping this as I have the exact same problem. How can I tell from the updates files if a series has an updated episode added to it compared to my local database. Do I need to loop through every episode xml file to check if its seriesid exists in my database? This is the only way I can think of it but it seem very intensive.

Is there another way I am missing!?


Top
 Profile  
 
PostPosted: Tue Apr 03, 2012 5:50 am 
Offline

Joined: Fri Mar 02, 2012 5:45 am
Posts: 5
Im also wondering a bit about this, the api wiki doesn't really tell.

Series:
What have to change in a series to make it end up in the update xml. Changed or new base information? Changed or new Actors? Changed or new Episode? Changed or new Banners?

Episode:
Only for updated episodes or also for brand new ones? Like the OP stated, if there isn't any new episodes listed in the update then we have to loop thrue the episode xml for each one of the Series that has been marked as updated?

Banner:
Not really that interesting, but is this for changes and updates or does new banners end up here as well?

Hoping someone can spread some light.


Top
 Profile  
 
PostPosted: Tue Apr 03, 2012 7:46 am 
Offline

Joined: Fri Mar 02, 2012 5:45 am
Posts: 5
It looks like the episode update contains both new episodes and updates to existing, so it kinda works like you would expect it to really. Not sure about banners yet but I would assume it works the same as with the episodes. So if you update episodes and banners separately then I guess you can update Actors and the shows base information with the series update and you got it all covered.


Top
 Profile  
 
PostPosted: Sun Apr 08, 2012 3:52 pm 
Offline

Joined: Sat Jan 07, 2012 5:58 pm
Posts: 2
Ok, but even if they're present in the xml. Those new episodes are only IDs, not '"inkable" to a serie. So kinda hard to insert in a database in our side unless we process all the new episodes.


Top
 Profile  
 
PostPosted: Sun Apr 08, 2012 6:49 pm 
Offline
Site Admin

Joined: Tue Mar 13, 2007 10:16 pm
Posts: 1928
Location: Canada
They'll be changes with the new site but this api was never designed to use it the way you guys are trying. The whole point of the site was to provide info for files you have. We never intended for people to try to pull info for episodes they didn't have so there is no good way to figure out when a new episode is added because it wasn't suppose to matter.

The new api (no eta) will be more robust and you're welcome to use the current one the way you want now but it requires more work on your end as we don't provide an efficent way to handle this type of request right now.

_________________
Please don't PM me. Post in the forums instead unless there is a very good reason for a PM or I won't answer you.


Top
 Profile  
 
PostPosted: Tue Apr 10, 2012 8:13 am 
Offline

Joined: Sat Jan 07, 2012 5:58 pm
Posts: 2
Thx Coco for the answer.

So, to find my way to do it. Will a serie be present in the update xml if one episode of this serie is updated/added ?

I just need this information, and i'm good to code.


Top
 Profile  
 
PostPosted: Sat Jun 16, 2012 3:40 am 
Offline

Joined: Sat Jun 16, 2012 3:15 am
Posts: 1
Hi,

Do you have any news about the new API release date ?

Looping through all my series and checking if there is any changes on your side becomes heavy (bandwidth and server load on your side).

The idea of the Update.php with the previous time was so clever, but is useless if we don't have a full copy of your database (which I don't want).

If the new site and API is not released in a near future, maybe it would be better to update the current API to add the serie_id on each episode received from the Update.php. In that way, we could minimize further calls to your api and make the step 4 of your "Future Database Processing" usable in that case (http://www.thetvdb.com/wiki/index.php/Programmers_API).

Thank you in advance for your answer,

Kind regards,


Top
 Profile  
 
PostPosted: Tue Nov 06, 2012 11:53 am 
Offline

Joined: Tue Nov 06, 2012 11:50 am
Posts: 2
+1

Any word on the new API?


Top
 Profile  
 
PostPosted: Sun Nov 18, 2012 7:51 pm 
Offline

Joined: Mon Nov 12, 2012 9:32 pm
Posts: 1
Hi!

I got all the data for the shows I needed imported into my database, but now I am trying to figure out a way to regularly check if episodes/seasons have been added...
I can't quite figure out how to do so...
The update link seems to be giving a weird result with only episodes numbers.. Is there anyway to get the episodes id for a given show that have been added since a certain date?

Also what is the format of the date required in the uri http://www.thetvdb.com/api/Updates.php? ... ries&time= ?

thanks a lot


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group