2010-03-21, 21:08
^^I would use mythicalLibrarian. mythSExx pretty much just does episodes. mythSExx is a very very scaled down version with less functionality and is intended to be run "mythSExx 'title' 'subtitle' 'path/to/file.ext'" while mythicalLibrarian is intended to be a full cataloguing solution. mythSExx would be a good option for those not running mythTV who have that information available.
It looks like you're getting some sort of permission errors. try the following:
you should see this:
Thetvdb.com is down right now..http://downforeveryoneorjustme.com/www.thetvdb.com
so unless mythicalLibrarian has a local database to work with, it will assign a s0e0 to every episode. That's the great part though.. I didn't know the tvdb was down. mythicalLibrarian maintains a local database which it works with. When mythicalLibrarian encounters an error like that, it will put the file into the doover que. Files can be rerun with sudo mythicalLibrarian --doover at a later time for reprocessing.
okiekyle Wrote:I'm running MythBuntu 9.10
Not sure what version of bash I'm using. passwd says:
Line 1069 of the script says:Code:mythtv:x:103:104::/home/mythtv:/bin/bash
I installed mythicalLibrarian /home/mythtv/mythicalLibrarian per the wiki - looks like that's not right anymore.Code:mythicalLibrarian testfile.ext "mister rogers" "show 1332"
I moved it to /usr/local/bin and when I do --mythicalDiagnostics now I get:
Interesting it say "removing orphan folder ./Episodes" then later complains about not finding the folder ./Episodes. As you can see when it's done, ./Episodes is still there so I don't know what's up with that.Code:mythtv@HMythTV-Backend:~$ mythicalLibrarian --mythicalDiagnostics
--You have entered diagnostic mode
mythicalLibrarian will now conduct a series of tests.
press any key to verify installed packages...
package 'mysql-server-5.0' is installed
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 XBMC Notification test...
Performing XBMC Notifications test
SENDING REQUESTED COMMANDS TO:192.168.2.41:8080
SENDING REQUESTED COMMANDS TO:HxBox01:8080
XBMC Communications ***FAILED***
Press any key to test file system permissions...
Testing file system permissions
USER SETTING |FLAG|Folder name
MoveDir |1 |/home/mythtv/Videos/Library/TVShows
AlternateMoveDir |1 |/home/mythtv/Episodes
PrimaryMovieDir |1 |/home/mythtv/Videos/Library/Movies/NotRated
AlternateMovieDir|1 |/home/mythtv/Movies
PrimaryShowDir |1 |/home/mythtv/Showings
AlternateShowDir |1 |/home/mythtv/Showings
mythicalLibrarian|1 |/home/mythtv/.mythicalLibrarian
Critical Filesystem checks ***PASSED***
press any key to test mythicalLibrarian...
Falsifying information. MythTV-Database is not used for testing.
Performing fuzzy logic lookup on non-MythTV-database file.
Please wait. It may take a moment to build database files
executing mythicalLibrarian testfile.ext 'mister rogers' 'show 1332'
testing for exit status 0
REMOVING ORPHAN FOLDER:./Episodes/
Accessing MythTV DataBase:
RECSTART: MOVIEYEAR: SERIESDATE:
PROGRAMID: ShowCategory: STARS: RATING:0
PLOT:
FUZZY LOGIC SHOW NAME: ID:
stat: cannot stat `testfile.ext': No such file or directory
df: `./Episodes': No such file or directory
df: no file systems processed
df: `./Episodes': No such file or directory
df: no file systems processed
UNUSABLE SPACE-CHECK:./Episodes
UNUSABLE SPACE-CHECK:./Episodes
JOB: mythicalLibrarian 'testfile.ext' 'mister rogers' 'show 1332'
FAILSAFE FLAG WAS SET
ATTEPMTING SYMLINK TO FAILSAFE DIR
ln: creating symbolic link `/home/mythtv/FailSafe/.ext': File exists
FILE SYSTEM ERROR:FailSafeModeComplete
exited with status 1
OVERALL FAILURE
press any key to continue on to the final results...
All tests complete RESULTS
Installed Packages: ***PASSED***
Notifications Test: ***PASSED***
XBMC Communications: ***FAILED***
File System Checks: ***PASSED***
mythicalTesting: COULD NOT COMPLETE
Overall mythicalReadiness: ***FAILURE***
-----End of diagnostics-----
mythtv@HMythTV-Backend:~$ ls -la
total 48
drwxr-xr-x 12 mythtv mythtv 4096 2010-03-21 13:04 .
drwxr-xr-x 4 root root 4096 2010-03-16 10:28 ..
-rw------- 1 mythtv mythtv 2707 2010-03-21 09:37 .bash_history
drwxr-xr-x 2 mythtv mythtv 4096 2010-03-16 11:09 .config
drwxr-xr-x 2 mythtv mythtv 4096 2010-03-21 13:04 Episodes
drwxr-xr-x 2 mythtv mythtv 4096 2010-03-21 12:59 FailSafe
drwxr-xr-x 2 mythtv mythtv 4096 2010-03-16 11:09 .fontconfig
drwxr-xr-x 2 mythtv mythtv 4096 2010-03-21 13:04 Movies
drwxr-xr-x 2 mythtv mythtv 4096 2010-03-21 12:57 mythicalLibrarian
drwxr-xr-x 3 mythtv mythtv 4096 2010-03-21 13:04 .mythicalLibrarian
drwxr-xr-x 2 mythtv mythtv 4096 2009-10-28 15:30 .mythtv
drwxr-xr-x 2 mythtv mythtv 4096 2010-03-21 13:04 Showings
-rw-r--r-- 1 mythtv mythtv 0 2010-03-20 20:33 .sudo_as_admin_successful
drwxr-xr-x 1 root root 0 2010-01-06 20:09 Videos
Any ideas?
It looks like you're getting some sort of permission errors. try the following:
Code:
rm -Rf ~/.mythicalLibrarian #to remove mythicalLibrarian's database and setup
mythicalLibrarian --update #to create a new working folder
cd ~/.mythicalLibrarian/mythicalSetup #to start the setup process
sudo mythicalLibrarian --update #to resetup mythicalLibrarian
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 'mysql-server-5.0' is installed
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 XBMC Notification test...
Performing XBMC Notifications test
SENDING REQUESTED COMMANDS TO:192.168.1.110:8080
XBMC Communications ***PASSED***
Press any key to test file system permissions...
Testing file system permissions
USER SETTING |FLAG|Folder name
MoveDir |1 |/home/mythtv/Episodes
AlternateMoveDir |1 |/home/mythtv/Episodes
PrimaryMovieDir |1 |/home/mythtv/Movies
AlternateMovieDir|1 |/home/mythtv/Movies
PrimaryShowDir |1 |/home/mythtv/Showings
AlternateShowDir |1 |/home/mythtv/Showings
mythicalLibrarian|1 |/home/adam/.mythicalLibrarian
Critical Filesystem checks ***PASSED***
press any key to test mythicalLibrarian...
Falsifying information. MythTV-Database is not used for testing.
Performing fuzzy logic lookup on non-MythTV-database file.
Please wait. It may take a moment to build database files
executing mythicalLibrarian testfile.ext 'mister rogers' 'show 1332'
testing for exit status 0
Accessing MythTV DataBase:
RECSTART: MOVIEYEAR: SERIESDATE:
PROGRAMID: ShowCategory: STARS: RATING:0
PLOT:
FUZZY LOGIC SHOW NAME: ID:
JOB: mythicalLibrarian 'testfile.ext' 'mister rogers' 'show 1332'
TARGET SET:./Episodes/
exited with status 0
press any key to continue on to the final results...
All tests complete RESULTS
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: adam
RSS Feed will be located at http://192.168.1.133/mythical-rss/rss.xml
mythicalLibrarian is located in /usr/local/bin
'mythicalLibrarian --help' for more information
Done.
Thetvdb.com is down right now..http://downforeveryoneorjustme.com/www.thetvdb.com
so unless mythicalLibrarian has a local database to work with, it will assign a s0e0 to every episode. That's the great part though.. I didn't know the tvdb was down. mythicalLibrarian maintains a local database which it works with. When mythicalLibrarian encounters an error like that, it will put the file into the doover que. Files can be rerun with sudo mythicalLibrarian --doover at a later time for reprocessing.