2010-12-28, 03:47
Let me know the results of that please. You can run it on any show.
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetup$ MythDataGrabber 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.
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***
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:
RECSTART: DATE:
PROGRAMID: ShowCategory:
PLOT:
PERFORMING MAINTENANCE ROUTINE...
REMOVING ORPHAN FOLDER:/home/mythtv/.mythicalLibrarian/mythicalSetup/Episodes/Mister Rogers Neighborhood/Season 7
SEARCHING: www.TheTvDb.com SHOW NAME: mister rogers EPISODE: show 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 MAINTAINED. TIME 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 Zap2itID: Failed; Attemted match on Standard Logic: Failed; Attemted Title match on Fuzzy Logic: Sucessful; Attemped match on OriginalAirDate: Failed; Attemted SubTitle match on Standard logic: Sucessful;
JOB: mythicalLibrarian '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 user: mythtv.
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.
#Run a transcoding program on the file
ffmpeg -i "$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.
[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]
ffmpeg -i $MoveDir/$ShowFileName.$OriginalExt -target ntsc-vcd $MoveDir/$ShowFileName.mp4
ffmpeg -i /path_to_my/file.mpg -target ntsc-vcd /path_to_my/file.mp4
apt-get install ffmpeg #possibly others as well
mythicalLibrarian /path_to_my/recording.mpg
Quote:mythicalLibrarian is not obtaining information about the show. mythicalLibrarian has to work properly for a jobSucessful job to be run.
Quote:mythicalLibrarian /path_to_my/recording.mpg
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetup$ mythicalLibrarian 2074_20101228151000.mpg
mythicalLibrarian --:invalid pattern
usage: mythicalLibrarian 'path/to/file' ['title'] ['subtitle']
usage: mythicalLibrarian --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 type: mythicalLibrarian --help or --special
done.
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetup$
Quote:ffmpeg -i /path_to_my/file.mpg -target ntsc-vcd /path_to_my/file.mp4
rmikulec@MythBE01:/home/mythtv/.mythicalLibrarian/mythicalSetup$ mythicalLibrarian /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 DATE: 2010-04-02
PROGRAMID:EP007537860109 ShowCategory:Drama
PLOT: Melinda and Avery (Margaret Cho) investigate 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 NAME: Ghost Whisperer EPISODE: On Thin Ice
TESTING FOR ZAP2ITID MATCH:SH753786 Ghost Whisperer
MATCH FOUND BASED ON Zap2itID:
FOUND:Ghost Whisperer ID#:78817 WITH CONFIDENCE:1
DATABASE IS MAINTAINED. TIME 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 CONFIDENCE: 1
CONFIDENCE:4 LOGIC PATH: Attempted Match On Zap2itID: Sucessful; Attemped match on OriginalAirDate: Sucessful; Verified with Standard logic; Verified with Fuzzy logic;
JOB: mythicalLibrarian '/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$