mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings (/showthread.php?tid=65644) |
- outleradam - 2010-03-17 mythicalLibrarian is tested using MythTV's head SVN revision. There was a stable past 256. Generic programming is now supported. Sports Events are supported. Full list of functionality:
- GregoryK - 2010-03-17 Like djroketboy, none of my posts survived the lightning strike, either Can you give a bit more detail on how the Sports Events are now supported? I am using svn 256 and I see that there is a "Cycling" subdirectory in my "Episodes" directory, but when I point XBMC to the "Cycling" Subdirectory and mark it as type=TV shows, it shows "zero episodes" in the TV Shows area of XBMC. Keep in mind that I am also relatively new to XBMC so I may be missing something on that end. /Greg - outleradam - 2010-03-18 sports events should be handled using season (year) and episode (MonthDay). Can you post a debug log on your cycling dir? There should be a tvshow.nfo file in the folder as well as a nfo file that specifies the information for XBMC . - GregoryK - 2010-03-18 Upon some further investigation, it looks like the last time mythicalLibrarian tagged a Sports Event, it did in fact place it into an Episodes rather than Showings directory. So the earlier S0E0 files in my /Showings/Cycling subdirectory are probably artifacts of earlier versions of the script. Is there an easy way to re-run just those files? Can I do a --scan mpg on the files that have been renamed to Cycling S0E0 [...] without messing up mythtv's database? /Greg - outleradam - 2010-03-18 for now all episodes which are tagged with the sports event label can be redone with --doover. I would like some feed back before I remove that --doover option from categoric handling files.. I need to know it works before they get dumped into showings. For now they are still handled pretty much the same way as a episode which did not get scraped and was handled like a generic show. Until I can get confirmation that everything works, it will stay the same way. Once I'm sure everything works I want to move sports events into the /showings folder and remove their --doover option. - stratoscape - 2010-03-18 Wow, This crash could not have happened at a worst time LoL, I had posted a all my data about my busted MythicalLibrarian and was asking if I should somehow update mythtv to trunk and *poof* I was like damnnnn, where is everybody anyway, I am all screwed up after taking update that addressed unspecified episodes I got greedy and updated when I was stable and now getting this on mythweb status page after MythicalLibrarian runs "Error: User job returned non-zero, check logs" Looks like paths are messed up again and I when I update I choose where I want everyting but not changing Mythtv version information (should I update?) http://pastebin.com/wWTEW4A4 Errorlogs generated by mythbackend http://pastebin.com/XV1q5RK0 logs from setup (update to 272) http://pastebin.com/5xFT9Utp MythicalLibrarian Debug http://pastebin.com/F8pW3sWg as usual any help or advice would be greatly appreciated strato - outleradam - 2010-03-18 Try updating again. The errors were being falsely reported when sucessful. The permission errors can be fixed with a chown user:group /path/to/show command. I will review the update procedure tonight. - GregoryK - 2010-03-19 I upgraded to 272 and then ran --doover. No changes to the processing of the Cycling shows which are in my /Showings directories. Here's the one that seems to have been libraried (is that a verb?) correctly: Code: ls -al /mnt/video2/store/Episodes/Cycling Here's a 'ls -al' of my .../Showings/Cycling directory: http://pastebin.com/3zN5PHSK And here is the output.log from the --doover run I just did: http://pastebin.com/gW2dA4yS Hope that helps, and thanks as always for the support. /Greg Quote:outleradam Wrote:for now all episodes which are tagged with the sports event label can be redone with --doover. I would like some feed back before I remove that --doover option from categoric handling files.. - GregoryK - 2010-03-19 When I ran --update to get svn 272, it put a 'mythicalLibrarian' in User Job #2 for MythTV, even though 'mythicalLibrarian' was already in User Job #1. Now I have two in there. Bug or feature? Does it matter which of the two I delete? /Greg - GregoryK - 2010-03-19 outleradam Wrote:for now all episodes which are tagged with the sports event label can be redone with --doover. I would like some feed back before I remove that --doover option from categoric handling files.. Running a --doover with SVN 272 didn't change the Sports Event files in my /Showings/Cycling subdirectory. Should I have done anything specific other than 'sudo mythicalLibrarian --doover' to specify those files? Output log is here: http://pastebin.com/gW2dA4yS ls -al of the files that need to be re-done is here: http://pastebin.com/3zN5PHSK Thanks for the support! /Greg - outleradam - 2010-03-19 first make sure that all files were scanned properly in the first place Code: mythicalLibrarian --scan mpg /mnt/video1/store If that does not work, what I would do in this case is a full reset of all possibly trackable files. Code: sudo mythicalLibrarian --undo Please do: Code: mysql -u*YOURUSERNAME* -p*YOURPASSWORD* -e "use mythconverg; select data from settings where value like 'UserJob1';" | replace "data" "" |sed -n "2p" Also, are any of the cycling shows showing up with S2010? - GregoryK - 2010-03-19 Yes, there is one Cycling show that got filed with "S2010" in the /Episodes directory: Code: -rw-r--r-- 1 mythtv mythtv 1750162876 2010-03-15 13:00 Cycling S2010E315 (Tirreno-Adriatico Recorded [email protected]).mpg ...I'll try your suggestions on the --scan and the re-do later on tonight, hopefully. Regarding the User Jobs, here's what the database says: Re User Job #1: /usr/local/bin/mythicalLibrarian %DIR%/%FILE% Re User Job #2: /usr/local/bin/mythicalLibrarian "%DIR%/%FILE%" /Greg - stratoscape - 2010-03-19 outleradam Wrote:The permission errors can be fixed with a chown user:group /path/to/show command. which folders are you saying I should run this on. sorry for asking but this is not my main OS, thanks, strato - outleradam - 2010-03-19 ^^ Actually, it looks like everything is working properly, however I did not code a showings dir into the easy setup program. I'm working on it now. It's about 98.9304852% ready. The girlfriend just made brownies, so I can't take care of it right now, but if you --update it will work. GregoryK Wrote:Yes, there is one Cycling show that got filed with "S2010" in the /Episodes directory:I'd like to make sure everything gets resolved there. I want to finalize categoric naming. Let me know if you do not get season 2010. The user job which the setup sets up requires quotes. This prevents errors with people having folders with spaces. It is better to have quotes. Delete user job #1. mythicalLibrarian will see user job #2 and ignore it from now on. - GregoryK - 2010-03-19 Starting to go a bit in circles here. I tried the --scan that you suggested in the earlier post. It sort of worked, three episodes got moved from one directory, but the other directories did not move the files out of "Showings", (this is using SVN 280) So I tried the --undo you suggested as a reset, and got the following output: Code: greg@arbormyth:~$ sudo mythicalLibrarian --undo Not sure why we have permissions errors showing up now. /Greg |