Open benjaminch opened 7 years ago
Hello!
I'm not seeing this, I'm afraid. Could you give me a sample filename and commandline that exhibit the issue?
Sure !
python2.7 episoderenamer.py -g "Modern Family" -y 2009 . -m "%(show)s - %(series_num)02dx%(episode_num)02d - %(title)s.%(extension)s"
http://imdbapi.poromenos.org/js/?name=Modern%20Family
Hmm, I think this is because, when the API process first retrieves the episodes, they don't have a name from IMDB (they just have "Episode 8.1", for example). Afterwards, when IMDB updates the name, this isn't changed in the database, because only new shows are updated. I'm afraid there's not much that can be done, short of nuking the db manually and recreating :/
Hum, is that your DB ?
Can we think trying to get the title name at least 1 time updating your DB when we encounter a "Episode 1" title with a min retry period (24 hours or so) ? It will allow your DB to be fully up to date with 24 hours delay. Because I have the feeling than more and more shows are experiencing this name issue.
Sorry, I just saw this. Unfortunately, for performance reasons, the script diffs each day's shows so I only import the new names each day. Maybe I could have the script sed "Episode #" out of the file, though.
Hey thanks ! Maybe we can think about something like :
What do you think ?
What do you mean? Episode-renamer doesn't have anything to do with the server. The server can't retrieve information if it sees that the episode names are generic, because of the problem in my previous comment.
Yes, sorry I meant on your server side app. The performances trouble you describe, is it in case you redo a diff on everything ? I was more thinking about triggering the re-pull after the get names fonction. Meaning :
Does it make sense ? What do you use to feed your database upfront ?
No, the problem isn't that the server returns "Episode 1" because it found nothing, it's that IMDB actually names their episodes "Episode 1" if they didn't have the name. So the script looks at IMDB, sees that an episode is called "Episode 1", adds that name and then never looks again, since, as far as it knows, that episode already has a name.
To import episodes to the database, I download the IMDB feed every day and diff it with the previous day's feed. New episodes are inserted and then the cycle repeats the next day. That's why it's a problem to change names, because the episodes have already been named with the wrong names...
Hello,
I noticed since couple weeks, I had troubles renaming TV shows episodes because it seems that the API is returning "Episode #1" rather than the proper title.
At first, I though that the title wasn't available on IMDB but once double checked, the title was available. I guess the backend API might have troubles retrieving episodes names, did IMDB changed its API ?
Cheers, Benjamin