First off, great work on this. It will be useful if I can get it working. I have been trying to get this to work for about a week with mixed results. Currently on 783 (latest). I would appreciate any help with these issues.
1) To run manually you need to "sudo su mythtv". This leads to this error:
Do not run this command with sudo.
Logging in as mythtv or modifying the script fixes this, but it is quite annoying.
2) The globalSettings file is completely ignored when running an update and all questions are asked again.
3) The --doover command does not ever reprocess any of these unrecognized showings:
Code:
"HANDLING EPISODE AS GENERAL SHOWING AND DUMPING INTO --doover USER JOB"
Code:
$ mythicalLibrarian --doover
--You have entered doover mode.
In this mode of operation, mythicalLibrarian will rerun
mythicalLibrarain against all files which failed on the
last run of mythicalLibrarian. It is important that this
process does not get interupted or data loss may occour.
Press 'y' to continue or 'n' to exit..... y/(n):>ydone.
4) Sometimes, when run with exactly the same set of data, the series Scrubs is correctly identified. On other runs it is identified as Wormwood Scrubs. These are runs with exactly the same version if the script directly one after the other. The inconsistency is baffling...
5) My shows, including the test show that is run during the setup are very rarely recognized. This is not due to my internet connection, which is perfectly fine. They all usually end up with S0E0.
For example, the series Entourage has an entry to look up, and the episodes exist but nothing is returned:
http://www.thetvdb.com/api/6DF511BB2A64E...all/en.xml
Code:
@@@@@@@@@@@NEW SEARCH INITIATED AT Wed Nov 17 12:46:29 PST 2010@@@@@@@@@@@@@@
Revision 783 Wed Nov 17 11:18:18 PST 2010 on Linux
PERFORMING MAINTENANCE ROUTINE
SEARCHING: www.TheTvDb.com SHOW NAME: Entourage EPISODE: Oh, Mandy
DATE: 2005-07-24 FILE NAME: /media/shared/mythtv/recordings/1878_20101116210000.mpg
SEARCH FOUND: ID#:
MATCH FOUND BASED ON Zap2itID: ID:
SERIES ID WAS NOT FOUND. THETVDB MAY BE DOWN. TRY USING A showTranslations
DB ENTIRES- RECSTART:2010-11-16 21:00:00- MOVIE:- ORIGAIRDATE:2005-07-24- CHID:1878- CAT:Comedy-
###################DEBUG MODE
ENABLED####################
MY USER NAME:mythtv-
LISTING INTERNAL VARIABLES USED BY mythicalLibrarian.
INTERNET TIMEOUT:50- TVDB API KEY:6DF511BB2A64E0E9- mythicalLibrarian WORKING DIR:/home/mythtv/.mythicalLibrarian-
MOVE DIR:/media/shared/mythtv/Episodes-
FAILSAFE MODE:Enabled- FAILSAFE DIR:/home/mythtv/FailSafe- ALTERNATE MOVE DIR:/media/shared/mythtv/Episodes-
USE ORIGINAL DIR:Disabled NOTIFICATIONS:Disabled
INPUT SHOW NAME:Entourage- LOCAL SHOW NAME TRANSLATION:- ShowName:Entourage
DATABASE UPDATED:- TVDB LAST UPDATED:- CURRENT:-
RESOLVED SERIES ID:- RESOVED SHOW NAME:-
INPUT EPISODE NAME:Oh, Mandy- ABSOLOUTE EPISODE NUMBER:- RESOLVED EPISODE NAME:Oh, Mandy-
SEASON:- EPISODE:- SYMLINK MODE:LINK- FILESIZE: 0kB-
CREATE AND DELETE FLAGS: ORIGINALDIR:1- FREE:266464032kB- WORKINGDIR:1 FREE:126996700kB-
MOVEDIRWRITABLE:1- FREE:266464032kB- ALTERNATEMOVEDIR:1- FREE:266464032kB-
PRIMARYSHOWDIRWRITABLE:1- FREE:266464032kB-ALTERNATESHOWDIRWRITABLE:1- FREE:266464032kB-
PRIMARYMOVIEDIRWRITABLE:1- FREE:266464032kB- ALTERNATEMOVIEDIR:1- FREE:266464032kB-
DATABASE TYPE:schedulesdirect1-
RECSTART:2010-11-16 21:00:00- MOVIE YEAR:- ORIGINAL SERIES DATE:2005-07-24-
PROGRAMID:EP006654200017- CHANNEL ID:1878- CATEGORY:Comedy- GOFORDOOVER:0-
EXTRAPOLATED DATA DETERMINED THIS RECORDING AS A:Series With Episode Data- STARS:0 RATING:0
ZAP2IT SERIES ID:665420- MATCHED TVDB SERIES ID:-
PLOT: An actress exposes a secret from Vince's past; Ari gets bumped from an important list; Drama and Turtle try to enjoy their new house.
####################END OF DEBUG LOG#####################
WARNING:SHOW WAS CONSIDERED AN EPISODE BUT INFORMAITON WAS NOT OBTAINABLE
%%%%%%%%%%%%Please consider helping out and adding to thetvdb%%%%%%%%%%%%
HANDLING EPISODE AS GENERAL SHOWING AND DUMPING INTO --doover USER JOB
Symlink created /media/shared/mythtv/Showings/Entourage/Entourage S0E0 (Oh, Mandy Recorded [email protected] on 1878)-3.mpg
@@@@@@@@@@@@@OPERATION COMPLETE Wed Nov 17 12:46:30 PST 2010 @@@@@@@@@@@@@@@@