mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Thumbs Up  mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings
Post: #1
mythicalLibrarian
http://wiki.xbmc.org/?title=MythicalLibrarian




Key features:
  • Episodes renamed to Show name.SxxExx (episode title).ext
  • Movies renamed to Movie (year).ext
  • Special provisions for naming sports and news which is compatible with XBMC.
  • Symlinks allow MythTV to maintain your library.
  • TvDb recognition of Show Name and Episode Name
  • Zap2it ID and fuzzy logic Title matching allows for perfect naming of Titles
  • Airdate and fuzzy logic episode matching allows for perfectly named episodes
  • User defined show name translations for improper guide data
  • User is notified at the end of each operation, XBMC is updated
  • Dynamic mount support with alternate move dir
  • mythicalSetup allows for easy installation and selection of options, while also making decisions based on your setup.
  • Can be run as MythTV job.
  • Scan mode will set the naming convention of your existing library
  • User jobs can be configured to run using the information mythicalLibrarian has collected
Code:
mythicalLibrarian myfile.ext "title to match" "subtitle to match"
--or--
mythicalLibrarian "path/to/mythtv_file.ext"
--or as a user job in mythtv--
mythicalLibrarian "%DIR%/%FILE%"
How to use:
mythicalLibrarian will generate usable content for XBMC out of your MythTV recorded libraries by utilizing the standard Showname.SxxExx (Episode Title).ext format.

run the mythicalSetup.sh program
run mythicalLibrarian --help

This will explain how to use everything.


It can be configured in the following ways
  • Move your files and create symlinks in place of the original so that MythTV can manage your library
  • Leave the original in place and create symlinks to your folder
  • Move files to a NAS and if the NAS is not present, move it to a local folder
  • After extinguishing all other resources, create a symlink to the original file in a local folder
I would like any and all problem reports for mythicalLibrarian to be filed here.

A problem report consists of a brief discription of the problem and a copy of a single debug log from output.log Please report anything you consider to be a problem as it will help out others and improve the development of the program. Before posting, please look at the log to see if it contains any valuable information.

The entire debug log is located in ~/.mythicalLibrarian/output.log and a single log starts with "NEW SEARCH INITIATED AT" and contains the words "DEBUG MODE ENABLED". Logs should be wrapped in [ code] [ /code] tags for clenliness.
Here is an example debug log:
Code:
@@@@@@@@@@@NEW SEARCH INITIATED AT Mon Sep 20 18:30:42 CDT 2010@@@@@@@@@@@@@@
Revision 600 Mon Sep 20 17:56:31 CDT 2010 on Linux
PERFORMING MAINTENANCE ROUTINE
REMOVING ORPHAN /home/mythtv/Videos/Episodes/SpongeBob SquarePants/Season 6/SpongeBob SquarePants S06E16 (Boating Buddies).txt
REMOVING ORPHAN /home/mythtv/Videos/Episodes/SpongeBob SquarePants/Season 6/SpongeBob SquarePants S06E10 (A Life in a Day).txt
REMOVING ORPHAN FOLDER:/home/mythtv/.mythicalLibrarian/mythicalSetup/Episodes/Mister Rogers Neighborhood/Season 7
REMOVING ORPHAN FOLDER:/home/mythtv/.mythicalLibrarian/mythicalSetup/Episodes/Mister Rogers Neighborhood
SEARCHING: www.TheTvDb.com SHOW NAME: Tosh.0 EPISODE:
DATE: 2009-08-06 FILE NAME: /home/mythtv/Videos/1056_20100920180000.mpg
SEARCH FOUND:Tosh.0 ID#: 97731
MATCH!!!! Zap2itID:Tosh.0 ID.97731
###################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:/home/mythtv/Videos/Episodes- USING SHOWNAME AS FOLDER:Enabled-
FAILSAFE MODE:Enabled- FAILSAFE DIR:/home/mythtv/FailSafe- ALTERNATE MOVE DIR:/home/mythtv/Videos/Episodes-
USE ORIGINAL DIR:Enabled NOTIFICATIONS:Enabled
INPUT SHOW NAME:Tosh.0- LOCAL SHOW NAME TRANSLATION:- ShowName:Tosh.0
DATABASE UPDATED:- TVDB LAST UPDATED:1285090977- CURRENT:1285026385-
RESOLVED SERIES ID:97731- RESOVED SHOW NAME:Tosh.0-
INPUT EPISODE NAME:- ABSOLOUTE EPISODE NUMBER:9- RESOLVED EPISODE NAME:Web Redemption Drunk Dunk-
SEASON:S01- EPISODE:E09- SYMLINK MODE:MOVE- FILESIZE: 0kB-
CREATE AND DELETE FLAGS: ORIGINALDIR:1- FREE:4355428kB- WORKINGDIR:1 FREE:4355364kB-
MOVEDIRWRITABLE:1- FREE:4355428kB- ALTERNATEMOVEDIR:1- FREE:4355428kB-
PRIMARYSHOWDIRWRITABLE:1-  FREE:4355428kB-ALTERNATESHOWDIRWRITABLE:1- FREE:4355428kB-
PRIMARYMOVIEDIRWRITABLE:1- FREE:4355428kB- ALTERNATEMOVIEDIR:1- FREE:4355428kB-
DATABASE TYPE:schedulesdirect1-
RECSTART:2010-09-20 18:00:00- MOVIE YEAR:- ORIGINAL SERIES DATE:2009-08-06-
PROGRAMID:EP011496300009- CHANNEL ID:1056- CATEGORY:Comedy- GOFORDOOVER:1-
EXTRAPOLATED DATA DETERMINED THIS RECORDING AS A:Series With Episode Data- STARS:0 RATING:0
ZAP2IT SERIES ID:1149630- MATCHED TVDB SERIES ID:97731-
PLOT: Daniel's Popcorn Challenge; Dizzy Dunk's web redemption; Tommy Chong.
####################END OF DEBUG LOG#####################
MOVING FILE: '/home/mythtv/Videos/1056_20100920180000.mpg' to '/home/mythtv/Videos/Episodes/Tosh.0/Season 1/Tosh.0 S01E09 (Web Redemption Drunk Dunk).mpg'
@@@@@@@@@@@@@OPERATION COMPLETE Mon Sep 20 18:30:47 CDT 2010 @@@@@@@@@@@@@@@@
Please report all errors you find.

I am subscribed to this thread and will be notified within about 15 minutes on my Android.
Last "stable" is here: http://mythicallibrarian.googlecode.com/...alSetup.sh
Newest version will be here: http://mythicallibrarian.googlecode.com/...alSetup.sh
I am accepting donations at my sourceforge page as a way to justify the time I spend on this project to my girlfriend: https://sourceforge.net/projects/mythicallibrari/

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2011-05-16 22:24 by outleradam.)
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #2
Corrected problem: when a folder becomes disconnected the comskip tracking are all removed.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #3
Patch has been applied to allow users to use their local database even without new data from thetvdb. It's working now. replace mythicalLibrarian.sh and it will use your current database until TheTvDb comes back up online and mythicalLibrarian's database can be updated again.

This is a perfect time to explain the doover.sh as well. doover.sh is just what it is named, it's a do-over. It records the jobs that have been run and allows you to re-run them if they've failed.
Code:
sudo su mythtv
sudo chmod +x /home/mythtv/mythicalLibrarian/doover.sh
/home/mythtv/mythicalLibrarian/doover.sh
mythicalLibrarian will then delete the list, cycle through each and every failed job it has performed, and rebuild the list of failed jobs. This way if TheTvDb is down, it will be easy to redo the jobs. Also, if the information is not in TheTvDb, you can add it, then go back and re-run doover.sh.

Between the two of these, downtime of TheTvDb should mean minimal impact

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-01-05 07:39 by outleradam.)
find quote
althekiller Offline
Retired Team-Kodi Member
Posts: 5,002
Joined: May 2004
Reputation: 12
Post: #4
How many threads do you need for this thing?
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #5
Two. Are you saying I should close down the MythSExx thread?

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-01-05 14:48 by outleradam.)
find quote
Bueller Offline
Junior Member
Posts: 8
Joined: Jan 2010
Reputation: 0
Post: #6
Thanks for the great script, I've been using it for about 1 week. I've run across an issue where the search logic doesn't find the correct series. It's for the show "Castle".

MythTV runs the following after the show has been recorded:
mythicalLibrarian.sh "Castle" "A Rose for Everafter" "/Recordings/1151_20100111210000.mpg", if fails with the following output:

Code:
RECSTART:2010-01-11 21:00:00 MOVIEYEAR: SERIESDATE:2010-01-11
PROGRAMID:EP010855880022 ShowCategory:Crime STARS:0 RATING:0
PLOT: While investigating the death of a bridesmaid at a wedding, Castle runs into an old flame (Alyssa Milano).
COMMERCIAL DATA START:25020 STOP:38123
COMMERCIAL DATA START:67537 STOP:81274
COMMERCIAL DATA START:109253 STOP:125929
COMMERCIAL DATA START:149902 STOP:163637
COMMERCIAL DATA START:179625 STOP:188904
Castle
woot
FUZZY Exx NUMBER:
EPISODE:A Rose for Everafter ABSOLUTE NUMBER:
FILE SIZE:5659270kB
MOVEDIR FREE SPACE: 338262196kB- WRITABLE:1
ALTMOVEDIR FREE SPACE: 54666004kB- WRITABLE:1
MOVIEDIR FREE SPACE: 338262196kB- WRITABLE:1
ALTMOVIEDIR FREE SPACE: 54666004kB- WRITABLE:1
ERROR: INFORMATION COULD NOT BE OBTAINED

Manually looking up the series on thetvdb.com show the show name as "Castle (2009)".
Changing the line in doover.sh to: mythicalLibrarian.sh "Castle (2009)" "A Rose for Everafter" "/Recordings/1151_20100111210000.mpg" causes the script to find the show and complete successfully.

Any chance you can add some logic to the script on failure to look for series names with years appended to them.
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #7
Doh! I left that woot in there...

I will need the single debug log entry from /mythicalLibrarian/output.log to do any troubleshooting. Also I will release an un"woot"ed version tonight.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #8
Actually, create a file in mythicalLibrarian/ called showtranslations. Then put the following line in it:

Castle = Castle (2009)

This is the built in option.

During the day at work I check this thread on my iPhone. I just saw a terminal output and asked for a debug log. A debug log is always the best.

As for looking up a non specified name, that would be bad. The fuzzy logic would eventually make a match of a show which is completely unrelated. If searching battlestar gallactica, it would search 4 different shows to make a match. If mythicalLibrarian were to pull the original airdate year and apply it to the show name it would only be valid for season 1.

Shows which do not conform to thetvdb can be taken up with your guide data provider. mythicalLibrarian will work with what it is supplied by showtranslations, the guide data, thetvdb and MythTV. The problem in this case is the guide data, however mythicalLibrarian supplies a workaround.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-01-12 17:46 by outleradam.)
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #9
I was just reviewing thetvdb.com and found that the XML contains a zap2it Id. I will look into using this tonight.

The basic flow I am envisioning would be alot of work and would severely slow down the execution of mythicalLibrarian on certain shows, but if possible it would be worth it.

Basically this check would involve getting info from mythtv, performing the seriesid search, then downlading and parsing the first result, verifying the zaptoit ID, if it does not pass, then downloading the next XML and parsing it.. This will result in creation of many unneeded databases. I will see what I can come up with

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #10
I came up with a fix. Here's the proof:
Code:
/home/mythtv/mythicalLibrarian/mythicalLibrarian.sh "castle" "A Rose For Ever After" "/home/adam/Desktop/new file .ext"
Accessing MythTV DataBase:
RECSTART: MOVIEYEAR: SERIESDATE:
PROGRAMID: ShowCategory: STARS: RATING:0
PLOT:
Searching TheTvDb FOR Zap2it SERIES ID MATCH SH1085588
Please add Castle ID 82607 Zap2it entries to theTvDb.com
Please add Lavender Castle ID 72403 Zap2it entries to theTvDb.com
Please add Queenie's Castle ID 74533 Zap2it entries to theTvDb.com
Please add Union Castle ID 75368 Zap2it entries to theTvDb.com
Please add Eureeka's Castle ID 78403 Zap2it entries to theTvDb.com
Please add The Toy Castle ID 74602 Zap2it entries to theTvDb.com
Please add Blanding's Castle ID 71008 Zap2it entries to theTvDb.com
Please add Takeshi's Castle ID 74787 Zap2it entries to theTvDb.com
FOUND MATCH: Castle (2009) Zap2it: SH1085588 TheTvDb: 83462
Please add Up the Elephant and Round the Castle ID 96601 Zap2it entries to theTvDb.com
Please add Castle Haven ID 70971 Zap2it entries to theTvDb.com
IDENTIFIED SERIES AS ID:83462 - Castle (2009)
FUZZY Exx NUMBER:22
EPISODE:A Rose For Ever After ABSOLUTE NUMBER:22 S02E12
FILE SIZE:0kB
MOVEDIR FREE SPACE: 139744kB- WRITABLE:1
ALTMOVEDIR FREE SPACE: 3060236kB- WRITABLE:1
MOVIEDIR FREE SPACE: 139744kB- WRITABLE:1
ALTMOVIEDIR FREE SPACE: 3060236kB- WRITABLE:1
SET TARGET DIR AS: /home/mythtv/NAS/Video/shows
FILE NAME EXISTS.  FILE WILL BE KNOWN AS: Castle 2009.S02E12 (A Rose For Ever After)-2
CREATING LINK IN LINK MODE
You can find the "unstable" version at sourceforge https://sourceforge.net/projects/mythicallibrari/files/

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find quote
Bueller Offline
Junior Member
Posts: 8
Joined: Jan 2010
Reputation: 0
Post: #11
Awesome, I'll start using the unstable version and let you know if I run into any issues. Thanks.
find quote
jaygardner Offline
Member
Posts: 50
Joined: Dec 2009
Reputation: 0
Location: Colorado
Post: #12
Tried mythicalLibrarian tonight after MythSExx failed to find a show. was hoping the airtime match would kick in and find it...

dunno if this is your 1 in 400 problem or another punctuation issue, but this show name has a colon in its name...

here's the log (i ran it manually since i haven't set it up in myth yet)...

Code:
creating home/mythicalLibrarian and log file
SEARCHING: www.TheTvDb.com SHOW NAME: Law & Order: Special Victims Unit EPISODE: Shadow
FILE NAME: /media/datadrive/tv-recordings/3091_20100113195800.mpg
creating home mythicalLibrarian and log file
SEARCH FOUND:Martial Law ID#: 71240
DEFINED ABSOLOUTE EPISODE NUMBER:
###################DEBUG MODE ENABLED####################
LISTING INTERNAL VARIABLES USED BY mythicalLibrarian.
INTERNET TIMEOUT:50- TVDB API KEY:6DF511BB2A64E0E9- mythicalLibrarian WORKING DIR:/home/jay/mythicalLibrarian-
MOVE DIR:/media/datadrive/TVShows- USING SHOWNAME AS FOLDER:Enabled-
FAILSAFE MODE:Enabled- FAILSAFE DIR:/home/jay- ALTERNATE MOVE DIR:/home/jay/Shared-
USE ORIGINAL DIR:Disabled NOTIFICATIONS:Disabled DEBUG MODE:Enabled-
INPUT SHOW NAME:Law & Order: Special Victims Unit- LOCAL SHOW NAME TRANSLATION:- SENT TVDB SHOW NAME:Law%20&%20Order:%20Special%20Victims%20Un$
RESOLVED SERIES ID:71240- RESOVED SHOW NAME:Martial Law-
INPUT EPISODE NAME:Shadow- ABSOLOUTE EPISODE NUMBER:- RESOLVED EPISODE NAME:Shadow-
SEASON:- EPISODE:- SYMLINK MODE:MOVE- FILESIZE: 4236841'kB'
FLAGS: MOVEDIR:1- FREE:603863660'kB'- ALTERNATEMOVEDIR:1- FREE:203847108'kB'-
PRIMARYMOVIEDIRWRITABLE:0- FREE:'kB'- ALTERNATEMOVIEDIR:1- FREE:203847108'kB'-
*DATABASE* RECSTART:2010-01-13 19:58:00- MOVIE YEAR:- ORIGINAL SERIES DATE:2010-01-13-
ProgramID:EP003169780257- CHANNEL ID:3091- CATEGORY:Crime drama-
EXTRAPOLATED DATA DETERMINED THIS RECORDING AS A:Series With Episode Data- STARS:0 RATING:0
PLOT: Detectives Benson and Stabler speak to the daughter of a powerful couple who were found murdered in their bedroom.
##############LISTING FOLDER PERMISSIONS#################
ORIGIONAL FILE>ls -l /media/datadrive/tv-recordings/3091_20100113195800.mpg
-rw-r--r-- 1 jay jay 4338526008 2010-01-14 23:56 /media/datadrive/tv-recordings/3091_20100113195800.mpg
mythicalLibrarian WORKING DIR>lsmod -l /home/jay/mythicalLibrarian/Martial Law/
total 0
-rw-r--r-- 1 jay jay 0 2010-01-15 00:11 current.time
####################END OF DEBUG LOG#####################
%%%%%%%%%%www.TheTvDB.com information is incomplete Law & Order: Special Victims Unit, Shadow
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%Please consider helping out and adding to thetvdb%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%OPERATION FAILED Fri Jan 15 00:11:02 MST 2010 %%%%%%%%%%%%%%%%%
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #13
Looks like a punctuation issue. I can correct that easily.

The unstable version mentioned at the bottom of the first page of the support page would probly resolve that issue assuming thetvdb has a zap2it i'd for the show.

I will address that issue tonight.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-01-16 04:53 by outleradam.)
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #14
This is the output from the unstable version with no database information. It seems to be a bit more stable then the older version.
Code:
@@@@@@@@@@@NEW SEARCH INITIATED AT Fri Jan 15 21:02:56 CST 2010@@@@@@@@@@@@@
SEARCHING: www.TheTvDb.com SHOW NAME: Law & Order: Special Victims Unit EPISODE: Shadow
FILE NAME: /home/adam/Desktop/new file .ext
SEARCH FOUND:Martial Law ID#: 71240
SEARCH FOUND:Law and Disorder ID#: 70458
SEARCH FOUND:Common Law ID#: 70898
SEARCH FOUND:Law & Order: Special Victims Unit ID#: 75692
SEARCH FOUND:Law & Order: Criminal Intent ID#: 71489
SEARCH FOUND:Murphy's Law ID#: 73425
SEARCH FOUND:Carson's Law ID#: 71995
SEARCH FOUND:Owen Marshall, Counselor At Law ID#: 75270
SEARCH FOUND:Law & Order ID#: 72368
SEARCH FOUND:Law of the Land ID#: 76981
SEARCH FOUND:The Character of Physical Law ID#: 127671
SEARCH FOUND:Marshall Law ID#: 78216
SEARCH FOUND:Law & Order: UK ID#: 85228
SEARCH FOUND:Law of the Plainsman ID#: 78445
SEARCH FOUND:Against the Law ID#: 78661
SEARCH FOUND:New Street Law ID#: 80375
SEARCH FOUND:Burke's Law ID#: 76697
SEARCH FOUND:L.A. Law ID#: 72419
SEARCH FOUND:I Fought the Law ID#: 73308
SEARCH FOUND:Brink Of Law ID#: 84397
SEARCH FOUND:Canterbury's Law ID#: 81502
SEARCH FOUND:Law and Order (1978) ID#: 91651
SEARCH FOUND:Sutherland's Law ID#: 73340
SEARCH FOUND:Family Law ID#: 73686
SEARCH FOUND:Harvey Birdman, Attorney at Law ID#: 77119
SEARCH FOUND:Law & Order: Trial by Jury ID#: 74191
SEARCH FOUND:McClain's Law ID#: 78296
SEARCH FOUND:Garrow's Law - Tales from the Old Bailey ID#: 122281
SEARCH FOUND:Louis Theroux - Law and Disorder ID#: 116971
SEARCH FOUND:The Law of Ueki ID#: 76031
SEARCH FOUND:Burke's Law (1994) ID#: 77692
SEARCH FOUND:The Law & Harry McGraw ID#: 73736
SEARCH FOUND:Survivors's Law II ID#: 81435
SEARCH FOUND:Murphy's Law (1988) ID#: 76257
SEARCH FOUND:The Law Firm ID#: 75183
SEARCH FOUND:The Law and Mr. Jones ID#: 71816
DEFINED ABSOLOUTE EPISODE NUMBER: 240
###################DEBUG MODE ENABLED####################
LISTING INTERNAL VARIABLES USED BY mythicalLibrarian.
INTERNET TIMEOUT:50- TVDB API KEY:6DF511BB2A64E0E9- mythicalLibrarian WORKING DIR:/home/adam/mythicalLibrarian-
MOVE DIR:/home/mythtv/NAS/Video/shows- USING SHOWNAME AS FOLDER:Enabled-
FAILSAFE MODE:Enabled- FAILSAFE DIR:/home/adam- ALTERNATE MOVE DIR:/home/mythtv/Shared-
USE ORIGINAL DIR:Disabled NOTIFICATIONS:Enabled DEBUG MODE:Enabled-
INPUT SHOW NAME:Law & Order: Special Victims Unit- LOCAL SHOW NAME TRANSLATION:- SENT TVDB SHOW NAME:Law%20&%20Order:%20Special%20Victims%20Unit-
RESOLVED SERIES ID:75692- RESOVED SHOW NAME:Law & Order: Special Victims Unit-
INPUT EPISODE NAME:Shadow- ABSOLOUTE EPISODE NUMBER:240- RESOLVED EPISODE NAME:Shadow-
SEASON:S11- EPISODE:E12- SYMLINK MODE:MOVE- FILESIZE: 0'kB'
FLAGS WORKINGDIR:1- FREE:1630516'kB'- ORIGINALDIR:1- FREE:1630516'kb'-
MOVEDIR:1- FREE:378304'kB'- ALTERNATEMOVEDIR:1- FREE:1630516'kB'-
PRIMARYMOVIEDIRWRITABLE:1- FREE:378304'kB'- ALTERNATEMOVIEDIR:1- FREE:1630516'kB'-
*DATABASE* RECSTART:- MOVIE YEAR:- ORIGINAL SERIES DATE:-
ProgramID:- CHANNEL ID:- CATEGORY:- Zap2itID:NO DATABASE ENTRY-
EXTRAPOLATED DATA DETERMINED THIS RECORDING AS A:- STARS: RATING:0
PLOT:
CREATING FOLDER: /home/mythtv/NAS/Video/shows/Law amp Order Special Victims Unit
MOVING FILE: /home/adam/Desktop/new file .ext to /home/mythtv/NAS/Video/shows/Law amp Order Special Victims Unit/Law amp Order Special Victims Unit.S11E12 (Shadow).ext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%WROTE 0 LENGTH FILE%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%OPERATION FAILED Fri Jan 15 21:03:13 CST 2010 %%%%%%%%%%%%%%%%%
The error in that log is because I made a blank file for this job and it contained no information. The amp thing is being changed now...

in fact this is the newest one
Code:
FILE NAME EXISTS.  FILE WILL BE KNOWN AS: Law and Order Special Victims Unit.S11E12 (Shadow)-1
CREATING LINK IN LINK MODE
It still needs a bit more work before I make it the new official version and rewrite the documentation.

I'm uploading to sourceforge now.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-01-16 05:46 by outleradam.)
find quote
jaygardner Offline
Member
Posts: 50
Joined: Dec 2009
Reputation: 0
Location: Colorado
Post: #15
that does work to identify the show, but xbmc never updates the library to include that show.

I'm guessing that since it writes the show title out without the punctuation, xbmc doesn't match it with what tvdb shows...

almost like you need the opposite function of what showtranslations does - or better yet, (probably harder for you though), if the script strips out any punctuation during the match process, have it put it back in before it writes to disk...

---
update- i renamed the moved files, matching the punctuation to match what tvdb shows as the name of the series title, but xbmc still doesn't update the library to include that show...
(This post was last modified: 2010-01-16 18:11 by jaygardner.)
find quote
Post Reply