![]() |
|
mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116) +--- Thread: mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings (/showthread.php?tid=65644) |
- outleradam - 2011-04-08 20:15 You should be running mythicalLibrarian as the same user who runs mythtv. I will see about adding a note on that at the start of mythicalSetup. - thingsforjason - 2011-04-09 01:48 outleradam Wrote:You should be running mythicalLibrarian as the same user who runs mythtv. I will see about adding a note on that at the start of mythicalSetup. Good to know. MythTV runs under the mythtv user, as does mythicalLibrarian, but generally when I update/setup mythicalLibrarian, I do it as my own user. - mellowpellow - 2011-04-09 12:16 mythicalLibrarian hasn't been working for me today. I had a poke around today and it was the communication with thetvdb.com that was failing as it was getting back a 301 redirect when trying to get the series information: Code: curl -s -m50 'www.thetvdb.com/api/GetSeries.php?seriesname=mister%20rogers'curl can follow 301 redirects if you add -L to it's command line. I've added -L to all the curl calls to thetvdb.com api and all appears to be working well again now. Not sure if anybody else is seeing this problem, but hopefully helps somebody. - divingmule - 2011-04-09 16:11 I just finished transcoding all of my recordings to remove the commercials. I ran the --scan and most everything was added to showings. Maybe the same issue mellowpellow had? - GregoryK - 2011-04-09 16:52 I had a related issue to mellowpellow and divingmule - when running mythicalLibrarian --update, all the install checks show "pass" until the test of Mr. Rogers at the end; it fails to find the episode information and throws an error. Must have been a change at thetvdb's end? /gkk - mellowpellow - 2011-04-09 20:13 GregoryK/divingmule: 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. To fix it I edited my /usr/local/bin/mythicalLibrarian script and changed: line 849, from: Code: 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: Code: 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: Code: 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: Code: 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 http://www.thetvdb.com/api you need to add -L to the command line arguments. mythicalSetup.sh - ctmjr - 2011-04-10 18:00 Hello, Am trying to set up mythicallibrarian and cannot get past this point, thanks All tests complete RESULTS MythTV Database Test: Installed Packages: ***PASSED*** Notifications Test: ***PASSED*** XBMC Communications: ***PASSED*** File System Checks: ***PASSED*** mythicalTesting: COULD NOT COMPLETE Overall mythicalReadiness: ***FAILURE*** -----End of diagnostics----- mythicalLibrarian has encountered an error. This may be due to lack of network connection. If the problem persists, contact outleradam here: http://forum.xbmc.org/showthread.php?tid=65644 These issues must be corrected in order for mythicalLibrarian to perform correctly Please try again. If problem persists, please post here: http://forum.xbmc.org/showthread.php?tid=65644 permissions were set for user: chuck. RSS Feed will be located at http://192.168.2.2/mythical-rss/rss.xml . mythicalLibrarian is located in /usr/local/bin mythicalLibrarian's log is located in ~/.mythicalLibrarian/output.log Renamed video files will be placed in new folders within original. ie. /path_to_original_file/Episodes, /Movies and /Showings. ./mythicalSetup.sh: line 840: 1: command not found For more information, type 'mythicalLibrarian --help' mythicalSetup.sh - ctmjr - 2011-04-10 18:31 am trying to get mythicalLibrarian up and running and have hit a snag. here is the output log http://paste.debian.net/113597/ this one I tried as root but still no go. mythicalSetup.sh - ctmjr - 2011-04-10 18:38 Also I see this error every time I run the setup no matter what user I use. "/usr/local/bin/mythicalLibrarian: line 994: /mythtv/.mythicalLibrarian/zap2it.txt: No such file or directory" I tried to create the file but still no go. thanks. - Tim.Winters - 2011-04-10 21:57 I too receive the same error. Just started using mythicalLibrarian this weekend. |