(2012-02-17 00:00)dougmeredith Wrote: I love what this script does, but I'm very nervous about messing up my MythTV setup. Is there any documentation on this script other than the page at xbmc.org? I just tried installing it on a test system, and it did some very unexpected things, such as creating a user.Mythical librarian talks to the MythTV library. It creates a user for consistancy. I could probly remove that feature, but weighing the problems, adding mythtv as a user takes care of more problems than it causes.
How does it insert things into the XBMC library? Does it talk to the database directly, or does it need a running XBMC instance?
It talks to the mythtv database via python bindings. It then requests XBMC to refresh the library via HTTP protocol.
(2012-02-26 02:31)sdsnyr94 Wrote: I've had mythicalLibrarian running successfully for a while, with a user job running handbrake to encode the files to an h.264 mkv. Recently, I started using the "Appletv2" setting to encode my shows into a format that will be playable in XBMC on the atv2, but I am having trouble with stations that broadcast at 60fps... the conversion to 30fps causes video to be slightly jittery.
Can I have multiple mythtv user jobs, each referencing a different mythicalLibrarian.sh, so I can use different handbrake settings in each? I thought I read a while ago that it was supported, but this thread has gotten to large to look through, and I saw nothing in the wiki.
Is it as simple as creating a mythicalLibrarian2.sh and pointing a new mythtv user job to it?
Yes. you can use the "global settings" file to override changes to all instances of mythicalLibrarian. otherwise variables are pulled directly from each script.
(2012-03-26 00:33)mauibay Wrote: My mythbackend has 6 tuners and often has multiple recordings ending at the same time, does mythicalLibrarian handle this ok, and are the any special issues to be aware? Does XBMC have any issues receiving multiple library update commands within the same several seconds?
install mythicalLibrarian on each machine. the local machine should do its own user jobs.
(2012-03-26 20:07)mauibay Wrote: Now that I have mythicalLibrarian working, I'd like to do some fine tuning to eliminate incorrectly recognized episodes. I see the instructions for showtranslations, which I expect will work well for shows that are in the theTVdb database. What can I do about shows that are not in the database and don't have a showID at all? Is there an existing mechanism for naming shows and episodes that can't be matched at all? Ideally I'd like to provide the show name myself and have each each episode titled with the date. I record at least 3 episodes each day for shows that theTVdb doesn't have, and they are all getting misrecognized as episodes of the show "Episodes" with Matt LeBlanc, lol!
On that note, since XBMC pulls all the show info itself when the episodes are added to the library, is there a way to stop it from also misrecognizing shows that theTVdb doesn't have? When a show doesn't have a match, I'd like it to just use the show and episode names from the directory tree and leave the other meta info empty. It's a waste to have to poll theTVdb twice as it is, but it's worse than useless if the second pass by XBMC has to screw up the showtranslation done in the first pass. (Yes, I know the purpose of showtranslation is to get an exact match for theTVdb, but what about shows that don't have _any_ match in theTVdb?)
Perhaps the best solution is to try to add the missing shows to theTVdb myself? I haven't ever done that but maybe some of the shows can be added, such as daily local news.
Update... I checked some of the shows that are being misrecognized, and discovered that it's not mythicalLibrarian that's getting it wrong! For example, mythicalLibrarian correctly created this:
Episodes/Awake/Season 1/Awake S01E01 (Pilot).mpg
But when XBMC updated the library it added is as Episodes/ 1x01. Episode One. Apparently there's a TV show named "Episodes" and several of my recordings are being named correctly by mythicalLibrarian but getting mangled to this other name by XBMC. I have no idea why, but suspect it has something to do with the mythicalLibrarian directory being named "Episodes". Unless there's a known fix for this, I plan to try changing that directory name to see if the problem stops.
At this point I have mythicalLibrarian appearing to correctly name ALL my recordings, so the dozen or so shows that are misrecognized in the library must be XBMC's fault. XBMC is not adding the correct show and episode names to the library even though they are correct in the mythicalLibrarian directories. I'm baffled, don't they both use the same theTVdb info? What can I do to fix this?
Update.. Interesting. I renamed the Episodes directory to Recordings and edited mythicalLibrarian to match, then updated the source path in XBMC and cleaned the library and rescanned, and everything got recognized correctly. Note I didn't actually change any of the symlinks in the Episodes directory, I only renamed it to Recordings and that was all XBMC needed to recognize everything correctly.
mythicalLibrarian creates 3 folders, Movies, Episodes and Showings. each instance is recognized appropriately by its guide information.
You scan each folder separately with XBMC.. Movies, Episodes and Episodes. This way there are no problems with overrides or naming.