MythSExx - A MythTV renamer tool for XBMC
#16
When posting a log, please only post one portion from start to finish. if you could, please edit your previous post, remove all but one log, and then wrap it in code tags for clenliness.

It looks like your problem is that mythtv is the user running MythSExx but not in your group. It may be that you are in the mythtv group, but mythtv is not in your group. Add mythtv to your user group and see if that helps.

It would appear that you are using a earlier version of MythSExx.

The newest version will verify writeability by first verifying free space is greater then the file size. It then writes a small test file to each of the folders. When finished with writing, it verifies that the file was created, then deletes it. Upon deletion, it verifies that the file was deleted. Once all those conditions are applied, then the writable flag is set. Upon completion, it checks for the primary writable flag, then the seccondary writable flag, and finally if both of those fail, it will go into failsafe mode. The newest version has much better error handling and logging.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#17
ok, cleaned up previous post and fixed the group membership... updated script to most current and it works now, thanks.

I think it was mainly the group membership issue. & there were 2 issues - adding mythtv to my interactive login group was one issue. Also, since i ran the script interactively, the show directory in movedir already existed for the show i was testing by running script from mythweb. And that directory didn't have write permission for the group to which mythtv belonged...

Anyways, thanks for your help and the script..
Reply
#18
The newest version of MythSExx is designed to add from -1 to -999999 to the end of a show if the name is already taken.

I'm very glad it's working for you. It's nice to hear that this project is helping more then just me!

I've decided to move support officially to http://forum.xbmc.org/showthread.php?tid=64160 This thread will be for upcoming changes and feature requests.

Still to come:
  • TvDb Friendly downloading
  • Movies
  • Code optimization
  • Multiple Exx in single Recordings
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#19
MythSExx needs a new name. With the addition of movies, it will do more then just add Season and Episode. Also, SourceForge took the BashSExx page down because the unix name "bashsexx" was sexual in nature and I did not care to change it.

"MythEM" for Episodes and Movies? I'm open for suggestions.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#20
MythBMC

MythBoxTool

MythTool
Reply
#21
MythMER (movie episode renamer)
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#22
Any other suggestions?
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#23
How about MythSEnn?

Actually, I'm finding this script to be useful for purposes other than Myth (iTiVo with Plex). How about a more neutral name:

- SN2N (Series Name to Number)
- SeriesRenamr (note the missing vowel - popular with the kids these days)

Thanks for the great script!
Reply
#24
Renamr would be cool, and very Web 2.0
Reply
#25
^^ I would like to make the name speciffic enough to be descriptive, however broad enough to encompass all the features of the program. Renamr does not do it. It's too broad and does not encorperate LINK mode

roblight Wrote:How about MythSEnn?

Actually, I'm finding this script to be useful for purposes other than Myth (iTiVo with Plex). How about a more neutral name:

- SN2N (Series Name to Number)
- SeriesRenamr (note the missing vowel - popular with the kids these days)

Thanks for the great script!

That's awesome! I'm glad it's useful on many platforms! I'm working on pulling information out of the MythTvDb to add year to movies. So basically, the outline will go like this...

Define environment
Check myth database
if database says it's a movie then rename Movie (Year) and exit
else do the rest of MythSExx.

So with the encorperation of Movies, there will be more then just series. However, since you've pointed out that this script is useful on non-Myth platforms, I will keep MythSExx as it's own entity before moving on to use of Myth's Database and integration of movie recordings.

Which brings me to the current issue. All move dirs are not checked properly after the small file is written, it is verified, but it is not checked to see if it was deleted. So that issue will be addresssed tonight.

The next version, within a week, will include many more features, including a do-over mode which will be a file that you can make executable, then rerun to "do-over" the entire list of any failed jobs. This will allow the user to idenify if he/she needs a showtranslation file, or has issues with writable flags.

I would like more suggestions on names which will encorperate the entire project after the current version. Some of the words I'm brainstorming for the new name, in no particular order are Collection, Library, Convention, Standard, Myth, Movies, Series, TV, ME (movies and episodes).
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#26
I'm working on database access right now. MythSExx will now look for show name and if it does not find it, then it will go to original airdate, this adds extra lookup capability for the newest shows which have names that have not yet made it into the guide data.

You can find the beta here later tonight

Does anyone happen to know if there is a default mysql password?

Also, any more suggestions on the new name for MythSExx? I'm leaning towards the following
mythme
mymythcollection
mythstandard
mythlibrarian <I think i like this one. so speak up or you'll be using this name.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#27
this beta functions like the original, however the database is referenced when a match cannot be found by normal means. It's still buggy and outputs alot of junk in the terminal, does not yet support movies and I have not added documentation.

I state again:This is a beta, it functions better, however it is not elegant.
http://pastebin.com/f32fed327
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#28
Failed jobs now go to "doover.sh" make doover executable then run it. it will remove itself and rewrite while the job list is running.
Local tvdb database is updated at user interval. default 84000 seconds ~daily
http://pastebin.com/m7f6b3c1c

run doover.sh from terminal:
Code:
sudo -u mythtv chmod +x /home/mythtv/MythSExx/doover.sh; sudo -u mythtv /home/mythtv/MythSExx/doover.sh
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#29
Movie support added

http://pastebin.com/m1ede50e3

At this point, the original project, BashSExx, now known as MythSExx has maximized the current library capabilities of XBMC. From here out, this project will be known as mythicalLibrarian.
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#30
MythSExx's name has officially changed to mythicalLibrarian. Watch for a update near the end of this week.

Features:
  • MythTV recordings renamed to Show name.SxxExx (episode title).ext
  • Symlinks allow MythTV to maintain your library. Symlink from new file in place of old. Symlink to original.
  • TvDb recognition of Show Name and Episode Name
  • Fuzzy logic episode name matching allows for improperly named episodes
  • User defined show name translations for improper guide data
  • User is notified at the end of each operation
  • Dynamic mount support with alternate move dir
  • Failsafe Symlink mode
  • easy to troubleshoot permission errors and other problems in debug mode
  • Can be run as MythTV job.

New Features:
  • Movie Support! MythTV Database access allows movie(year) to be added to your XBMC collection
  • TvDb friendly download lets the user decide how often to download new episode data
  • Recognition of shows without names
  • Better recognition of shows with names
  • Commercial Skip data will be pulled from MythTV and added to the library
  • Failed jobs generate a "doover.sh" file which can be run when the problem is corrected
  • Improved Writablity flags for more thorough checks
So far I think this is prepped to go, however I want to verify 100 recordings without fail before releasing the new version.

so far the only problem I've found is shows that are too new and not very popular
WordGirl: Oh, Holiday Cheese; Change Day
ORIGINAL SERIES DATE:2009-12-10-
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
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply

Logout Mark Read Team Forum Stats Members Help
MythSExx - A MythTV renamer tool for XBMC0