![]() |
|
mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116) +--- Thread: mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings (/showthread.php?tid=65644) |
- outleradam - 2011-01-05 18:57 I will be releasing a new stable version tonight... This uses a new database processor which increases speed and accuracy of recognition from about 30 seconds from start to finish, down to about 3 seconds. When upgrading, it is important that you use Code: mythicalLibrarian --update- colbert - 2011-01-06 01:56 Okay, I tried to set this up and I definitely didn't do it right lol. I followed instructions here from wiki: Code: mkdir ~/.mythicalLibrarian && mkdir ~/.mythicalLibrarian/mythicalSetup && cd ~/.mythicalLibrarian/mythicalSetupI went through the steps but I wasn't clear on all of them, especially the IP:PORT of XBMC. My setup is that I am running XBMC from a desktop box, and have Myth running separately on a backend server. This desktop is a frontend and I'd like to replace mythfrontend with XBMC. My desktop is .101 and server .100. Here is output.log: Code: @@@@@@@@@@@NEW SEARCH INITIATED AT Wed Jan 5 18:46:16 EST 2011@@@@@@@@@@@@@@Appreciate any help, thanks
- outleradam - 2011-01-06 04:11 You need to install this on 100 on mythbackend type: Code: ctrl+alt+F1Code: sudo apt-get install sshCode: ssh *yourLogin*@192.168.1.100After you've run mythicalSetup and you have permissions established for mythtv, Code: sudo su mythtv- colbert - 2011-01-06 04:21 ^^^ Okay I am going to do this, however the .100 does not have XBMC, only mythtv. I have XBMC only on .101. Still run mythicalLibrarian on .100? Thanks - outleradam - 2011-01-06 16:26 mythicalLibrarian works from the mythtv side to provide a proper naming convention for XBMC to recognize. It takes a name like 1024_201101011200.mpg (chan_YearMonthDayTime.ext), references the mythtv database, changes the name to Title/Season X/Title SxxExx (Subtitle).ext. It then notifies XBMC that there were changes and to rescan the library. You must have your source set in XBMC in order for the process to work. So you share the files with SAMBA (SMB://) or any other supported method and set the source in XBMC as TV Shows or Movies and mythicalLibrarian manages the XBMC library automatically. Every once in a while you log into the MythTV machine and type mythicalLibrarian --doover to rescan unrecognized shows. - GregoryK - 2011-01-06 19:58 Adam: Still working here on getting my library transcoded so that mythicalLibrarian and XBMC don't result in bad commskips. With the help of my local guru, I'm going to run a script that does the following to each of my recordings: Code: echo Processing 1022_20091230200000.mpgAfter this, per your instructions, I was going to mythicalLibrarian --scan mpg all of the recordings in my storage directories. My hope is that the transcoded files will have the uniform frame rate that XBMC assumes. Can you see any problems with this approach? (I realize this is sort of off-topic for this thread, but I thought it might be relevant if others are having problems with playing their recordings on XBMC.) Thanks as always, /Greg - outleradam - 2011-01-06 21:05 Code: read -p "Enter folder to scan:" Folder I'm not near a linux computer right now, so I can't test this out, but it should work with a bit of tweaking.. I don't really see what you're doing with all of this though. - GregoryK - 2011-01-06 22:12 outleradam Wrote:I don't really see what you're doing with all of this though. Good question. Back a few pages, I asked if you had any idea why the playback in XBMC was skipping commercials in the wrong places. You explained that it was due to XBMC assuming a constant framerate, and gave me a workaround: outleradam Wrote:GregoryK: The problem is XBMC's handling of MPEG2-TS variable framerate. <<snip>> Because I have a bunch of already-mythicalLibrarian-processed recordings in my library, you later suggested that I --undo those, then transcode them using myth, then run mythicalLibrarian --scan to get the transcoded files into my XBMC library. Thus, the script is designed to automate the process of transcoding my existing mythtv recordings. My hope is that, per your suggested "patch" comment quoted above, that this will let me watch my recordings in XBMC with the commercials skipped appropriately. ...am I making any sense? or have I misunderstood your earlier suggestions and gone off in the wrong direction? - colbert - 2011-01-07 00:31 outleradam Wrote:mythicalLibrarian works from the mythtv side to provide a proper naming convention for XBMC to recognize. It takes a name like 1024_201101011200.mpg (chan_YearMonthDayTime.ext), references the mythtv database, changes the name to Title/Season X/Title SxxExx (Subtitle).ext. It then notifies XBMC that there were changes and to rescan the library. You must have your source set in XBMC in order for the process to work. So you share the files with SAMBA (SMB://) or any other supported method and set the source in XBMC as TV Shows or Movies and mythicalLibrarian manages the XBMC library automatically. Every once in a while you log into the MythTV machine and type mythicalLibrarian --doover to rescan unrecognized shows. Okay, so (apologize for the noobness here but just getting the hang of XBMC after longtime mythfrontend reliance which I'm trying to abandon hehe) I run it from the .100, which is the Myth BE. I currently have the Myth recordings mounted on the .101-- the XBMC box-- as /media/myth, so I add video source /media/myth, and mythicalLibrarian automatically manages the /media/myth source correct? Will it interfere with the rest of my library (all of which are on the .101 XBMC machine)? Logging into the Myth BE is no prob as I have a constant urxvt screen session open with it and do a lot on it with httpd as it is, so that should work out well. Thanks very much! - outleradam - 2011-01-07 16:09 ^^ You can have as many sources as you'd like in XBMC. Each one is scanned individually. In fact, mythicalLibrarian creates 3 soures. 1 Movies source, 1 Episode source and 1 Generic Showings source. Episodes and Generic showings should be handled as "Episodes" by XBMC. This allows XBMC to differentiate between shows it should scrape information and those which it should not. mythicalLibrarian handles the "Generic Showings" directory by placing all known information into a NFO file which, when placed into the same folder as "Episodes", creates conflicts and inability to obtain information. So, you simply run mythicalLibrian --update on 100(mythtv box), set XBMCIP as 192.168.1.101:8080(xbmc box), set your XBMC sources as above, and let everything operate from there. |