mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
outleradam Offline
Member+
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Thumbs Up  mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings Post: #1
This thread is closed. Please visit the support thread here: http://forum.xbmc.org/showthread.php?tid=65644






mythicalLibrarian -the missing symlink

[Image: Librarianas.png]
mythicalLibrarian builds your library from your iTivo and MythTV recordings.

Installation instructions: http://wiki.xbmc.org/?title=MythicalLibrarian
Problem reports:http://forum.xbmc.org/showthread.php?p=4...post470402

mythicalLibrarian has the following features
  • Renames episodes to the standard show name-Sxx.Exx (Episode Title).ext
  • Renames MythTV movies to Movie name (year).ext
  • Generates and manages commercial skipping files for XBMC to use
  • Sends a notification to the Ubuntu GNOME desktop
  • Sends a notification to multiple XBMC's UI
  • Updates XBMC's Library
I am accepting donations at my sourceforge page as a way to justify the time I spend on this project to my girlfriend: https://sourceforge.net/projects/mythicallibrari/

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
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-11-20 21:40 by outleradam.)
find
pinthenet Offline
Member
Posts: 55
Joined: Aug 2009
Reputation: 0
Post: #2
congratulations again! The new script is very good. I also use it with get_iPlayer downloads using
Code:
-command /home/mythtv/mythicalLibrarian/mythicalLibrarian.sh
"<name>" "<episode>" "<filename>"
(or it can be added to the get_iplayer options file).

As I'm using mythicalLibrarian on a Mythtv backend I would prefer to use email notification instead of desktop. Could you 'centralise' the notification definiton so that it's possible to select email notification or desktop notification? I'm going to make a simple local change for the same effect - I'll let you know what I did, if you don't beat meWink

A minor request - I had some TV Show recordings this morning with no episode information so it couldn't find a TVDB entry, and couldn't find it as a Movie. This resulted in a file in the movie folder with only the year in brackets as name. It would be good if it used (eg) the Title name with sequence number, or perhaps just an error result (or put it in the failsafe or alternate folder)?

Thanks again
Jôhn
find
outleradam Offline
Member+
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #3
I would be interested in seeing what you come up with. The Ubuntu notifications are handled in a separate file, /usr/local/bin/librarian-notify-send. The reason I elected to run it like this is because I could not get around having to use the sudo -u command in order to become the desktop user and send a notification to the desktop user's notification bubble.

If there is a better way of performing a notification from the non-GNOME Desktop user rather then using a
Code:
sudo -u $username librarian-notify-send "title" "message" "info"
I'm all ears mang.

You can find the librarian-notify-send script here: https://sourceforge.net/projects/mythica...d/download

I would love to make it a single script with no secondary scripts.

BASH2 will not allow sudo commands for functions and a sudo su command drops the script out. sudo FunctionName returns command not found. The major limitation is BASH itself. I'm sure these limitations are for security purposes. It may be possible to create a function to generate a new script from within the program, then make it executable, then run it, however that would not be very clean and I feel that I'm already pushing the limits of clean programming with using the sudo command to start with and have made it clear in the wiki that it is a security risk.

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
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-01-02 21:48 by outleradam.)
find
outleradam Offline
Member+
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #4
Added multiple XBMC notificiation functionality. You can now add multiple XBMC media centers by grabbing the newest version and modifying the line in the program to read
Code:
XBMCIPs=( "192.168.1.110:8080 192.168.1.111:8080 XBOX:8080" )

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
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-01-03 05:57 by outleradam.)
find
pinthenet Offline
Member
Posts: 55
Joined: Aug 2009
Reputation: 0
Post: #5
I'm afraid I'll have to let you down.... I decided to reactivate my perl script that I mentioned in an earlier post, as I'm more at home there. Also I have some language selection requirements. I live in Switzerland and my XMLTV EPG data includes entries in German, English, French, Italian, Portuguese, Spanish, Croation..., so I've added an 'input language' option based on the channel ID from Myth. I look up the corresponding language in a text file then use that when connecting to TheTVDB using the TVDB::API module. I would also like to be able to define the output language (eg lookup in German, but use the English episode name), but there seem to be some odd issues with TVDB::API if I try to switch.

If no channel ID is specified it uses a default language value or the language can be sepcified on the command line, so I can still handle non-Myth files.

I would like to add some of your other useful features - I'm amazed how quickly you've implemented your scripts, not sure how long I'll need.

I also thought about a feature to create .nfo files from the EPG information for recordings that can't be found in the TV or Movie DBs.

I'd like to get the script to a state that it can be released for general use, see how it goes...

John
find
outleradam Offline
Member+
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #6
I don't understand. You are challenging me? The next version of mythicalLibrarian will be generating as much NFO information as possible upon non-movie failure to get information. I have not found a way to identify language.

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
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find
tim- Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 0
Post: #7
outleradam Wrote:Added multiple XBMC notificiation functionality. You can now add multiple XBMC media centers by grabbing the newest version and modifying the line in the program to read
Code:
XBMCIPs=( "192.168.1.110:8080 192.168.1.111:8080 XBOX:8080" )

Awesome, I am planning to give this a try this afternoon sometime.
find
outleradam Offline
Member+
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #8
Just hold up on that. I just found a problem with the comskip tracking. If a folder like a NAS becomes disconnected, it will remove the entire comskip tracking for that folder. I'm working to test it now.

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
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
(This post was last modified: 2010-01-03 20:50 by outleradam.)
find
pinthenet Offline
Member
Posts: 55
Joined: Aug 2009
Reputation: 0
Post: #9
Oh dear,Blush no I'm not challenging, just sharing ideas...
find
outleradam Offline
Member+
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #10
It's ok, I just didn't understand.

Problem was corrected.

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
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find
Thread Closed