Kodi Community Forum

Full Version: mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
okiekyle Wrote:Last one I tried, I got this:

Code:
@@@@@@@@@@@NEW SEARCH INITIATED AT Fri Jan 29 12:22:39 CST [email protected]@@@@@@@@@@@@
PERFORMING MAINTENANCE ROUTINE
SEARCHING: www.TheTvDb.com SHOW NAME: The View EPISODE:
FILE NAME: /home/mythtv/Episodes/1081_20100129095800.mpg
creating home mythicalLibrarian and log file
SEARCH FOUND:The View ID#: 72104
creating home mythicalLibrarian and log file
SEARCH FOUND:The View from River Cottage ID#: 81975
creating home mythicalLibrarian and log file
SEARCH FOUND:The View from Daniel Pike ID#: 75012
SEARCH FOUND:The View ID#: 72104
DEFINED ABSOLOUTE EPISODE NUMBER:
###################DEBUG MODE ENABLED####################
LISTING INTERNAL VARIABLES USED BY mythicalLibrarian.
INTERNET TIMEOUT:120- TVDB API KEY:6DF511BB2A64E0E9- mythicalLibrarian WORKING DIR:/home/mythtv/mythicalLibrarian-
MOVE DIR:/home/mythtv/Videos/TVShows- USING SHOWNAME AS FOLDER:Enabled-
FAILSAFE MODE:Enabled- FAILSAFE DIR:/home/mythtv/FailSafe- ALTERNATE MOVE DIR:/home/mythtv/Episodes-
USE ORIGINAL DIR:Disabled NOTIFICATIONS:Disabled DEBUG MODE:Enabled-
INPUT SHOW NAME:The View- LOCAL SHOW NAME TRANSLATION:- ShowName:The View
SENT TVDB SHOW NAME:The%20View-
RESOLVED SERIES ID:72104- RESOVED SHOW NAME:The View-
INPUT EPISODE NAME:- ABSOLOUTE EPISODE NUMBER:- RESOLVED EPISODE NAME:-
SEASON:- EPISODE:- SYMLINK MODE:MOVE- FILESIZE: 5297080'kB'
CREATE AND DELETE FLAGS: ORIGINALDIR:1- FREE:324428636kB- WORKINGDIR:1 Free:324428636kB-
MOVEDIR:0- FREE:171469480kB- ALTERNATEMOVEDIR:1- FREE:324428636kB-
PRIMARYMOVIEDIRWRITABLE:1- FREE:324428636kB- ALTERNATEMOVIEDIR:1- FREE:324428636kB-
DATABASE INFORMATION
RECSTART:2010-01-29 09:58:00- MOVIE YEAR:- ORIGINAL SERIES DATE:2010-01-29-
PROGRAMID:EP002253953154- CHANNEL ID:1081- CATEGORY:Talk-
EXTRAPOLATED DATA DETERMINED THIS RECORDING AS A:Series With Episode Data- STARS:0 RATING:0
ZAP2IT SERIES ID:EP00225395- MATCHED TVDB SERIES ID:-
####################END OF DEBUG LOG#####################
%%%%%%%%%%www.TheTvDB.com information is incomplete The View,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%Please consider helping out and adding to thetvdb%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%OPERATION FAILED Fri Jan 29 12:22:42 CST 2010 %%%%%%%%%%%%%%%%%
Will I always have this problem when there's no episode name in the guide?
Wondering if there could be an option to "Move the file anyway" and tack on the show date-time so it's more likely to be a unique name.Huh
mythicalLibrarian will recognize shows based upon original airdate if title fails. as you can see here http://thetvdb.com/?tab=seasonall&id=72104&lid=7 The View is not complete, so

Code:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%Please consider helping out and adding to thetvdb%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
mythicalLibrarian can only find data if the data is there. If it is not supplied valid data, it can make errors. If the data is not there, it will not get anything.

The view's homepage is here http://theview.abc.go.com/schedule

You can make a tvdb account and start editing right away!
im using mc2xml as well, but no issues that I know of now
Okay, changes are made and I have all three queued up to go. As soon as they finish I will post the results to the other thread for you.

Any idea how long it will take for that development? I was considering paying for SchedulesDirect anyway and may go ahead and move to that to fix this up =) I'll pull the data for you either way

Thanks
Tim
outleradam Wrote:You can make a tvdb account and start editing right away!

Ick - I was afraid you would say something like that.

Oh well - everything else is working great.

Thanks again for a great script and all the effort it took to create it and make it better.

Great job!
working goo for me..but i cannot find the option in xbmc (for xbox) to enable EDL commercial skip
its just not there..
i added it to guisettings.xml in the videplayer section..even tried dvdplayer instead of mplayer..anyone else got commercial skio working?
tim- Wrote:Okay, changes are made and I have all three queued up to go. As soon as they finish I will post the results to the other thread for you.

Any idea how long it will take for that development? I was considering paying for SchedulesDirect anyway and may go ahead and move to that to fix this up =) I'll pull the data for you either way

Thanks
Tim
Great! I would like to make sure mythicalLibrarian is as versitile as possible. Little changes to guide data can make for big problems. Tomorrow is my girlfriend's birthday, so sunday I will sit down and test out the MC2XML data by inserting whatever your database says into mythicalLibrarian directly. The biggest thing is to figure out how MC2XML identifies EPIT, MVIT and SHIT. So they can be handled appropriately and assigned values within mythicalLibrarian for proper separation of Episodes Movies and Shows.

mythicalLibrarian formats Episodes and Movies in a XBMC speciffic way, and there is nothing which can be done for XBMC currently for shows so they are disregarded.

I'm waiting for this database reform so hopefully NFO files can be added for shows. I've prepared mythicalLibrarian for this, as you can see, by pulling the appropriate NFO information from the database. I'm just waiting on XBMC before I start adding NFO files for shows.

watson540 Wrote:working goo for me..but i cannot find the option in xbmc (for xbox) to enable EDL commercial skip
its just not there..
i added it to guisettings.xml in the videplayer section..even tried dvdplayer instead of mplayer..anyone else got commercial skio working?
the comskip data is handled without any settings. mythicalLibrarian simply puts the comskip file in place and XBMC does the rest. You may want to start a thread or put in a TRAC ticket if it is not.

eg...
/home/mythtv/Episodes/Caprica/Caprica.S01E02 (Rebirth).mpg
is accompanied by
/home/mythtv/Episodes/Caprica/Caprica.S01E02 (Rebirth).txt
Code:
FILE PROCESSING COMPLETE
------------------------
0 626
11264 16776
30584 34783
50392 56020
71773 77507
86224 93834
This should be an automatic procedure if you have comskip enabled from within MythTV.
very strange...

d/l'd the new version of ML tonight... ran it against a new recording of dollhouse. ML completed successfully per myth. But i can't find the moved file - nowwhere to be found. Moreover, i can't find any of ML's working files including the log. & the original myth file is still in place - not linked, not moved, nuthin'.

Rebooted myth - ran again - same thing.

(Note i'm running from mythweb).

so, next, I ran ML manually from the command line against Dollhouse & it ran fine - even with the ":" in the episode name - cool. (I have to check if xbmc adds it to the library though).

put the original myth file back and reran ML from mythweb - still same problem... no move, no output/log...

any ideas?

thx, jay
Did you make the mythtv copy executable? I've had that problem before. That's the only way that you won't even get a log.

I always run from mythweb and automatically.
yep -

Code:
[email protected]:/home/mythtv/mythicalLibrarian$ ls -l
total 56
-rwxr-xr-x 1 mythtv mythtv 52292 2010-01-29 19:30 mythicalLibrarian.sh
-rw-rw-r-- 1 mythtv jay      109 2010-01-29 19:39 showtranslations
[email protected]:/home/mythtv/mythicalLibrarian$
You have the folder set up with proper permissions?
If mythicalLibrarian actually executes, it will set the varriables, then send it's first new search initiated message.

Check for a orphaned quote (") in the user settings and make sure you have the user job set up correctly.
nm...

i reread the destructions... after setting up the directories it works fine...
everything looks to be okay..the comskip files are named appropriately..there is absolutely no EDL option in my XBMC..im using the svn compiled 17 of january this year
Code:
[email protected] ~ $ ls /mnt/extra/episodes/
Chowder     Dora the Explorer  Handy Manny         Judge Judy       Lilo  Stitch The Series  Man vs Wild             My Friends Tigger and Pooh  Phineas and Ferb  Special Agent Oso      Swamp Loggers
Dirty Jobs  Family Guy         Imagination Movers  Jungle Junction  Little Einsteins         Mickey Mouse Clubhouse  Ni Hao KaiLan               Shaun the Sheep   SpongeBob SquarePants  The Simpsons
[email protected] ~ $ ls /mnt/extra/episodes/Dirty\ Jobs/
Dirty Jobs.S04E02 (Cave Biologist).mpg  Dirty Jobs.S04E02 (Cave Biologist).txt  Dirty Jobs.S07E02 (HighRise Window Washer).mpg  Dirty Jobs.S07E02 (HighRise Window Washer).txt
[email protected] ~ $

ill start another thred as I suppose it really ha s nothing to do with your script.thanks
Code:
06:55:03 M: 40030208   DEBUG: file:xbms://watson540:*******@192.168.1.64:1400/mnt/extra/episodes/Dirty Jobs/Dirty Jobs.S07E02 (HighRise Window Washer).mpg IsDVDImage:0 IsDVDIfoFile:0
06:55:03 M: 39505920    INFO: mplayer play:xbms://watson540:*******@192.168.1.64:1400/mnt/extra/episodes/Dirty Jobs/Dirty Jobs.S07E02 (HighRise Window Washer).mpg cachesize:2048
06:55:03 M: 39505920    INFO: Loading skin file: DialogProgress.xml
06:55:03 M: 39505920   DEBUG: Load DialogProgress.xml: 13.96ms
06:55:03 M: 39505920   DEBUG: CUtil::CacheSubtitles: START
06:55:03 M: 39505920   DEBUG: CUtil::CacheSubtitles: Checking for common subirs...
06:55:03 M: 39501824   DEBUG: CUtil::CacheSubtitles: Done (time: 41 ms)
06:55:03 M: 39501824   DEBUG: CUtil::CacheSubtitles: Searching for subtitles...
06:55:03 M: 39518208    INFO:  cached subtitle Dirty Jobs.S07E02 (HighRise Window Washer).txt->special://temp/subtitle.txt
06:55:03 M: 39518208   DEBUG: CUtil::CacheSubtitles: Done (time: 65 ms)
06:55:03 M: 39518208   DEBUG: CUtil::CacheSubtitles: END (total time: 106 ms)
06:55:03 M: 39518208  NOTICE: CMPlayer::CloseFile()
I did start another thread but now im not sure about the txt extension on the edl comskip files. my xbox seems to be trying to load them as subtitles
Your XBOX is wrong. Try booting a computer from a flash drive with LIVE and you'll see the difference. You know, there isn't much XBOX development going on now. Try XBMC Live and test from there
but supposedly edl has been in the xbox since 2008!