• 1
  • 43
  • 44
  • 45(current)
  • 46
  • 47
  • 66
mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings
Let me know the results of that please. You can run it on any show.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
Here are the results. I should let you know that I have to run .23 because I use mythBox as well. Everything seems to work and to be put in the proper folders, except it will not transcode the file. Also when I run the update all of the test come out PASSED.

PHP Code:
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetupMythDataGrabber 1933_20101227211700.mpg
Establishing database connection
Failed
attempting to use system default configuration
Failed
attempting to read from default mythtv file
Failed
Please specify database information manually
DB 
Null
 See 
--help for more information
Reply
Oh, ok... I was assuming that you were using 0.24. Make sure you configure mythicalLibrarian to use MythTV 0.23 during the mythicalLibrarian --update process. Check to make sure your database username and password are correct as well. Assuming you have subscribed to schedulesDirect, or use XMLTV downloads, that should fix everything.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
I have everything set to what I think is correct but I get this in the diagnostic.

PHP Code:
Press any key to perform MythTV Database test... 
Performing MythTV Python Bindings database test
Establishing database connection
Failed
attempting to use system default configuration
Failed
attempting to read from default mythtv file
Failed
Please specify database information manually
DB 
Null
 See 
--help for more information.
MythTV Python Bindings are installed properly
MythTV Database Test 
***PASSED*** 

Like I said, it finds the files, renames them and moves them. It just doesn't transcode.

Weird.

I love this and when I get it working perfectly, it will be my savior. Thank you for all your help.
Reply
Please disregard that portion. It should not show up when you select version 0.23. What happens at the end of the diagnostics when update is run as mythtv?

Please post all from the diagnostic report until The terminal is displayed.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
Here is the whole deal.

PHP Code:
mythicalLibrarian will now conduct mythicalDiagnostics
Press any key to 
continue to online testing.... 
--
You have entered diagnostic mode
mythicalLibrarian will now conduct a series of tests
.
press any key to verify installed packages... 
package 'curl' is installed
package 
'agrep' or 'tre-agrep' is installed
package 
'libnotify-bin' is installed
Installed packages check 
***PASSED***
Press any key to perform Desktop Message test... 
Performing librarian-notify-send test
This test verifies that the message was sent to the DBUS
.
This test does not verify the user has a valid desktop open.
Desktop Notifications test ***PASSED***
Press any key to perform MythTV Database test... 
Performing MythTV Python Bindings database test
Establishing database connection
Failed
attempting to use system default configuration
Failed
attempting to read from default mythtv file
Failed
Please specify database information manually
DB 
Null
 See 
--help for more information.
MythTV Python Bindings are installed properly
MythTV Database Test 
***PASSED***
Press any key to perform XBMC Notification test... 
Performing XBMC Notifications test
SENDING REQUESTED COMMANDS TO
:192.168.10.30:8888
TESTING
:
OK
XBMC Communications 
***PASSED***
Press any key to test file system permissions... 
Testing file system permissions
TargetPathIsInputPath is selected
Testing with current folder
USER SETTING     
|FLAG|Folder name
MoveDir             
|1   |/home/mythtv/.mythicalLibrarian/mythicalSetup/Episodes 
AlternateMoveDir 
|1   |/home/mythtv/.mythicalLibrarian/mythicalSetup/Episodes
PrimaryMovieDir  
|1   |/home/mythtv/.mythicalLibrarian/mythicalSetup/Movies
AlternateMovieDir
|1   |/home/mythtv/.mythicalLibrarian/mythicalSetup/Movies
PrimaryShowDir   
|1   |/home/mythtv/.mythicalLibrarian/mythicalSetup/Showings
AlternateShowDir 
|1   |/home/mythtv/.mythicalLibrarian/mythicalSetup/Showings
mythicalLibrarian
|1   |/home/rmikulec/.mythicalLibrarian
Critical Filesystem checks 
***PASSED***
press any key to test mythicalLibrarian... 
 
Recordings Database is not used for testing.
 
Performing fuzzy logic lookup on database file.  Please wait.
 
It may take a moment to build mythical librarian database files 
 executing mythicalLibrarian testfile
.ext 'mister rogers' 'show 1332'
 
testing for exit status 0
Revision 907 Mon Dec 27 22
:03:15 EST 2010
Accessing MythTV DataBase
:
RECSTARTDATE
PROGRAMIDShowCategory:
PLOT
PERFORMING MAINTENANCE ROUTINE...
REMOVING ORPHAN FOLDER:/home/mythtv/.mythicalLibrarian/mythicalSetup/Episodes/Mister Rogers Neighborhood/Season 7
SEARCHING
www.TheTvDb.com SHOW NAMEmister rogers EPISODEshow 1332
TESTING 
FOR ZAP2ITID MATCH:SH002930 Mister Rogers' Neighborhood
agrep: 1 word matches within 2 errors
FOUND:Mister Rogers' 
Neighborhood ID#:77750 WITH CONFIDENCE:-2
DATABASE IS MAINTAINEDTIME IS:1293508200 NEXT UPDATE IS:1293566041
AIRDATE FAILED
TITLE MATCH ON ABSOLUTE EPISODE NUMBER
TOTAL MATCHES:8 TOTAL VERIFIED FUZZY ERRORS:0
EPISODE
:Show 1332 EPISODE NUMBER:462 S07E07 WITH CONFIDENCE: -1
CONFIDENCE
:-3 LOGIC PATH:  Attempted Match On Zap2itIDFailedAttemted match on Standard LogicFailedAttemted Title match on Fuzzy LogicSucessfulAttemped match on OriginalAirDateFailedAttemted SubTitle match on Standard logicSucessful
JOBmythicalLibrarian 'testfile.ext' 'mister rogers' 'show 1332'
TARGET SET:/home/mythtv/.mythicalLibrarian/mythicalSetup/Episodes/Mister Rogers Neighborhood/Season 7/Mister Rogers Neighborhood S07E07 (Show 1332).ext
exited with status 0
press any key to 
continue on to the final results... 
  
All tests complete           RESULTS
  MythTV Database Test
:      ***PASSED***
  
Installed Packages:         ***PASSED*** 
  
Notifications Test:         ***PASSED***
  
XBMC Communications:       ***PASSED***
  
File System Checks:         ***PASSED***
  
mythicalTesting:         ***PASSED***
  
Overall mythicalReadiness: ***PASSED***
-----
End of diagnostics-----
Installation and tests completed successfully.
MythTV job not added because mythicalLibrarian already exists in slot 1
permissions were set 
for usermythtv.
RSS Feed will be located at http://192.168.10.20/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. /var/lib/mythtv/recordings/Episodes, /Movies and /Showings.
Check the mythicalLibrarian checkbox when setting up recordings.
For more information, type '
mythicalLibrarian --help'
Done. 

Thank you!
Reply
The problem is that you selected 0.24 and you are running 0.23. You must select 0.23 as the version of MythTV. The python bindings are tailored for version 0.24 and up. 0.23 and below use direct mysql access. There is a big difference and you must select your version properly.

Let me know if there are any problems.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
I actually did select .23 stable when I set it up and, when I ran the update.
Reply
The python bindings test does not run on 0.23. only on 0.24.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
I understand that, I am just wondering if there is a way to get the mythicalLibrarian to transcode with 0.23?

Here is my JobSucessful file.

PHP Code:
#Run a transcoding program on the file

ffmpeg -"$MoveDir/$ShowFileName.$originalext-f avi -vcodec mpeg4 -b 800k -g 300 -bf 2 "$MoveDir/$ShowFileName.mp4"

#Write the new file extension over the old extension for logging
originalext=mp4 

#Run logging for the new file extension so mythicalLibrarian can keep track of files it created.
performLoggingForMoveMode #or performLoggingForLinkMode
 
#remove the mythicalLibrarian symlink
rm "$InputPath"

#make a new symlink
ln -s  "$MoveDir/$ShowFileName.originalext" "$InputPath"

#Enable XBMC Communications which were disabled so mythicalLibrarian did not communicate when the command was called before
XBMCUpdate=Enabled
XBMCClean
=Enabled
XBMCNotify
=Enabled

#Tell mythicalLibrarian to send a message to XBMC and update the library
XBMCAutomate

#Don't exit, just let mythicalLibrarian take back over. 
Reply
according to your log
Code:
[font=Courier New][color=#dd0000] [/color][color=#0000bb]mythicalLibrarian [/color][color=#007700]--:[/color][/font][font=Courier New][color=#0000bb]invalid pattern

usage[/color][color=#007700]: [/color][color=#0000bb]mythicalLibrarian [/color][color=#dd0000]'path/to/file' [/color][color=#007700][[/color][color=#dd0000]'title'[/color][color=#007700]] [[/color][color=#dd0000]'subtitle'[/color][/font][font=Courier New][color=#007700]]
[/color][color=#0000bb]usage[/color][color=#007700]: [/color][color=#0000bb]mythicalLibrarian [/color][color=#007700]--[/color][color=#0000bb]mode [/color][color=#007700][[/color][color=#0000bb]parameter[/color][color=#007700]] [[/color][color=#0000bb]parameter[/color][/font][font=Courier New][color=#007700]]
[/color][color=#0000bb]items in brackets are [/color][color=#007700][[/color][color=#0000bb]context sensitve[/color][/font][font=Courier New][color=#007700]]
[/color][color=#0000bb]ensure you have set the user settings set properly [/color][color=#007700]and [/color][/font][font=Courier New][color=#0000bb]run
[/color][color=#007700]--[/color][/font][font=Courier New][color=#0000bb]mythicalDiagnostics before using mythicalLibrarian
in [/color][color=#007700]--[/color][color=#0000bb]scan mode [/color][color=#007700]or as [/color][color=#0000bb]a UserJob[/color][/font][font=Courier New][color=#007700].
For [/color][color=#0000bb]more information type[/color][color=#007700]: [/color][color=#0000bb]mythicalLibrarian [/color][color=#007700]--[/color][color=#0000bb]help [/color][color=#007700]or --[/color][/font][color=#0000bb][font=Courier New]special
done[/font][/color][color=#007700][font=Courier New]. [/font]
[/color]
mythicalLibrarian is not obtaining information about the show. mythicalLibrarian has to work properly for a jobSucessful job to be run.

User jobs were implemented so that you can utilize the information generated by mythicalLibrarian in a custom manner. The ffmpeg example is just an example.

The following line converts mpg to mp4
Code:
ffmpeg -i $MoveDir/$ShowFileName.$OriginalExt -target ntsc-vcd $MoveDir/$ShowFileName.mp4

You can verify operation from the command line by running
Code:
ffmpeg -i /path_to_my/file.mpg -target ntsc-vcd /path_to_my/file.mp4

if the ffmpeg fails then you do not have ffmpeg installed on the system
Code:
apt-get install ffmpeg #possibly others as well

but, first and foremost, before anything else will work, mythicalLibrarian must work. you can run
Code:
mythicalLibrarian /path_to_my/recording.mpg

mythicalLibrarian was designed to do naming conventions. It imports all mythtv shows into XBMC. That's it's job. It seems that you are trying to use it for one of it's external system calls.

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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
I really appreciate your help. I am trying to create a manual for installing Mythbuntu and mythicalLibrarian as a backend, with XBMC and mythBox as a frontend. I am soooooo close!

I had a couple questions based on your previous reply.

Quote:mythicalLibrarian is not obtaining information about the show. mythicalLibrarian has to work properly for a jobSucessful job to be run.

1. Could this be because I was not recording TV series but rather manually recording the morning news? The recordings I have tested on have been moved to the Showings folder.

2. Can I have mythicalLibrarian transcode even if it can't find data on the show?

Again, you have been super helpful.
Reply
Tell you what, I made a video about 2 months ago of installation of mythicalLibrarian. it starts with a fresh installation of XBMCLive with MythTV installed with shows already recorded. It runs through from start to scanning shows into XBMC. I never posted the video on youtube because I felt that the installation process could be made smoother and I put it on the back burner while I studied for my Security+ certification. I'll post the video up tonight when I get home.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
Awesome! I ran the two tests

Quote:mythicalLibrarian /path_to_my/recording.mpg

returned

PHP Code:
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetupmythicalLibrarian 2074_20101228151000.mpg
 mythicalLibrarian 
--:invalid pattern

usage
mythicalLibrarian 'path/to/file' ['title'] ['subtitle']
usagemythicalLibrarian --mode [parameter] [parameter]
 
items in brackets are [context sensitve]
 
ensure you have set the user settings set properly and run
 
--mythicalDiagnostics before using mythicalLibrarian
 in 
--scan mode or as a UserJob.
 For 
more information typemythicalLibrarian --help or --special
 done
.
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetup

This

Quote:ffmpeg -i /path_to_my/file.mpg -target ntsc-vcd /path_to_my/file.mp4

Runs perfectly
Reply
OK, I made some progress. I got it to somewhat work, but it appears I am having an error trying to changer permissions on the moved file.

PHP Code:
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetupmythicalLibrarian /home/mythtv/recorded/2074_20101228151000.mpg
Revision 907 Mon Dec 27 22
:03:15 EST 2010
Accessing MythTV DataBase
:
COMMERCIAL DATA START:7218 STOP:11530
COMMERCIAL DATA START
:46002 STOP:50781
COMMERCIAL DATA START
:57983 STOP:65055
RECSTART
:2010-12-28 15:10:00 DATE2010-04-02
PROGRAMID
:EP007537860109 ShowCategory:Drama
PLOT
Melinda and Avery (Margaret Choinvestigate when a comic book artist starts drawing encounters with ghosts before they happen.
PERFORMING MAINTENANCE ROUTINE...
REMOVING ORPHAN FOLDER:/home/mythtv/.mythicalLibrarian/mythicalSetup/Episodes/Mister Rogers Neighborhood
SEARCHING
www.TheTvDb.com SHOW NAMEGhost Whisperer EPISODEOn Thin Ice
TESTING 
FOR ZAP2ITID MATCH:SH753786 Ghost Whisperer
MATCH FOUND BASED ON Zap2itID
:
FOUND:Ghost Whisperer ID#:78817 WITH CONFIDENCE:1
DATABASE IS MAINTAINEDTIME IS:1293572762 NEXT UPDATE IS:1293642662
Absolute Exx NR
:104 BASED ON AIRDATE:2010-04-02
TOTAL MATCHES
:14 TOTAL VERIFIED FUZZY ERRORS:4
EPISODE
:On Thin Ice EPISODE NUMBER:104 S05E17 WITH CONFIDENCE1
CONFIDENCE
:4 LOGIC PATH:  Attempted Match On Zap2itIDSucessfulAttemped match on OriginalAirDateSucessful;  Verified with Standard logicVerified with Fuzzy logic;
JOBmythicalLibrarian '/home/mythtv/recorded/2074_20101228151000.mpg' 'Ghost Whisperer' 'On Thin Ice'
TARGET SET:/home/mythtv/recorded/Episodes/Ghost Whisperer/Season 5/Ghost Whisperer S05E17 (On Thin Ice).mpg
MOVED
: /home/mythtv/recorded/2074_20101228151000.mpg
TO
: /home/mythtv/recorded/Episodes/Ghost Whisperer/Season 5/Ghost Whisperer S05E17 (On Thin Ice).mpg 
chmod
changing permissions of `/home/mythtv/recorded/Episodes/Ghost Whisperer/Season 5/Ghost Whisperer S05E17 (On Thin Ice).mpg': Operation not permitted
REMOVING - 2074_20101228151000.mpg - THUMBNAILS - DATABASE ENTRIES
SENDING REQUESTED COMMANDS TO:192.168.10.30:8888
RSS ENTRY SUCCESSFULLY CREATED: /var/www/mythical-rss/rss.xml
chmod: changing permissions of 
`/home/mythtv/recorded/Episodes/Ghost Whisperer/Season 5/Ghost Whisperer S05E17 (On Thin Ice).mpg': Operation not permitted
SUCCESSFUL COMPLETEION TYPE: MoveModeSuccessful
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetup$ 

Have you seen this before?
Reply
  • 1
  • 43
  • 44
  • 45(current)
  • 46
  • 47
  • 66

Logout Mark Read Team Forum Stats Members Help
mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings3