2011-04-11, 15:30
mellowpellow Wrote:GregoryK/divingmule:Wow. holy cow... I'll make changes tonight when I get near a computer to get everything up and running and release a new stable. mellowpellow, send me your google developer address so I can add you as a conributor.
Yeah that sounds like exactly what I was seeing, everything was ending up in Showings as the mythicalLibrarian script couldn't fetch the series/episode information. As you said looks like something changed at the thetvdb.com.
A couple of caveats about my changes below:
If you're not used to editing shell scripts wait until it's fixed properly by by outleradam.
- The line numbers will probably only be correct if you are using the same version as me - I'm using the latest version (r937)
- Make a backup if you are going to change your script
To fix it I edited my /usr/local/bin/mythicalLibrarian script and changed:
line 849, from:
toCode:curl -s -m"$Timeout" "http://www.thetvdb.com/api/Updates.php?type=none">"$mythicalLibrarian/$NewShowName/current.time"
Code:curl -s -L -m"$Timeout" "http://www.thetvdb.com/api/Updates.php?type=none">"$mythicalLibrarian/$NewShowName/current.time"
line 879, from:
toCode:curl -s -m"$Timeout" " http://www.thetvdb.com/api/Updates.php?type=all&time=$LastUpdated" >> "$mythicalLibrarian/$NewShowName/UpdatesList.txt"
Code:curl -s -L -m"$Timeout" " http://www.thetvdb.com/api/Updates.php?type=all&time=$LastUpdated" >> "$mythicalLibrarian/$NewShowName/UpdatesList.txt"
line 903, from:
toCode:curl -s -m"$Timeout" "http://www.thetvdb.com/api/$APIkey/series/$SeriesID/all/$Language.xml"| grep -vE "(</id>|</Combined_episodenumber>|</Combined_season>|</DVD_chapter>|</DVD_discid>|</DVD_episodenumber>|</DVD_season>|</Director>|</EpImgFlag>|</GuestStars>|</IMDB_ID>|</Language>|</Overview>|</ProductionCode>|</RatingCount>|</filename>|</seasonid>|</Writer>|</Rating>|</lastupdated>|</seriesid>|</absolute_number>)">"$mythicalLibrarian/$NewShowName/$NewShowName.xmlTest" && echo "$CurrentTime" > "$mythicalLibrarian/$NewShowName/lastupdated.time"
Code:curl -s -L -m"$Timeout" "http://www.thetvdb.com/api/$APIkey/series/$SeriesID/all/$Language.xml"| grep -vE "(</id>|</Combined_episodenumber>|</Combined_season>|</DVD_chapter>|</DVD_discid>|</DVD_episodenumber>|</DVD_season>|</Director>|</EpImgFlag>|</GuestStars>|</IMDB_ID>|</Language>|</Overview>|</ProductionCode>|</RatingCount>|</filename>|</seasonid>|</Writer>|</Rating>|</lastupdated>|</seriesid>|</absolute_number>)">"$mythicalLibrarian/$NewShowName/$NewShowName.xmlTest" && echo "$CurrentTime" > "$mythicalLibrarian/$NewShowName/lastupdated.time"
line 1182, from:
toCode:curl -s -m"$Timeout" www.thetvdb.com/api/GetSeries.php?seriesname=$tvdbshowname>"$mythicalLibrarian/working.xml"
Code:curl -s -L -m"$Timeout" www.thetvdb.com/api/GetSeries.php?seriesname=$tvdbshowname>"$mythicalLibrarian/working.xml"
Basically anywhere that curl is used to access www.thetvdb.com/api you need to add -L to the command line arguments.
Something must have happened to my notifications on this thread.