UniversalMediaServer / api

The metadata API that the Universal Media Server application uses
9 stars 3 forks source link

OMDb flakiness #862

Closed SubJunk closed 2 years ago

SubJunk commented 2 years ago

Tests have been flaky lately and getting worse, it seems to be OMDb requests failing

SubJunk commented 2 years ago

Using the OMDb website I can see that searching for an episode by IMDb ID tt1247462 returns:

{"Title":"Bastogne","Year":"2001","Rated":"TV-MA","Released":"07 Oct 2001","Season":"N/A","Episode":"N/A","Runtime":"64 min","Genre":"Drama, History, War","Director":"David Leland","Writer":"Stephen Ambrose, Bruce C. McKenna","Actors":"Kirk Acevedo, Doug Allen, William Armstrong","Plot":"In the dead of winter, the men of Easy Company fend off frostbite and hunger - in addition to the enemy - while holding the line in a forest outside of Bastogne. Meanwhile, exhausted medic Eugene Roe finds friendship with a Belgian n","Language":"English, French","Country":"N/A","Awards":"N/A","Poster":"https://m.media-amazon.com/images/M/MV5BOGZlYWYzYzEtYTQ1Ni00NzJmLWEyYjItNzAzNGRhOTI1ZTA1XkEyXkFqcGdeQXVyNDIzMzcwNjc@._V1_SX300.jpg","Ratings":[{"Source":"Internet Movie Database","Value":"9.2/10"}],"Metascore":"N/A","imdbRating":"9.2","imdbVotes":"7769","imdbID":"tt1247462","seriesID":"N/A","Type":"episode","Response":"True"}

which has an empty value for seriesID. Unfortunately they seem to have screwed up their data for that episode, but I can see that others are still working. It does make the value of OMDb come into question again but for now we can change the test to use another episode