Beta TV Show renamer addon
#1
Brick 
Hi!

I'm glad to introduce you my first Kodi addon: script.customregex

It is actually just a frontend for tvrenamr by George Hickman.

It extracts the data from the filenames, then downloads additional info from tvdb and renames the files.
It is useful in cases like Kodi can't find the data in the filenames or your filenames don't have titles and you can't find subtitles for them.
An optional symlink mode is u̶n̶d̶e̶r̶ ̶d̶e̶v̶e̶l̶o̶p̶m̶e̶n̶t̶ now actually working, what will allow you to rename without hurting the original files. (useful if you got the files with a P2P file sharing software)

You can specify the regex to use with a simple syntax. (tvrenamr documentation)
You will be also able to specify the data manually, but it's not yet implemented.

Todo:

Code:
Settings XML:
    Custom output regex: [x]
Help: [ ]
Remote control: [x]
Multi language support: [ ]
Symlink support: [x]
Save regexes: [ ]
Progress bar: [ ]
Show log: [x]

Screenshot:

Image

Thanks to ghickman for tvrenamr!
Thanks to Roman_V_M for pyxbmct!

License:

tvrenamr - MIT License
defusedxml - PSFL
my code - GPLv3

I'm really new to programming, so please be bear with me, the code quality maybe isn't the best.

The software is in beta stage, it lacks some features.

Source repo: https://github.com/ata2001/script.customregex
Download link: script.customregex.zip

The idea was to keep tvrenamr and this addon separately, so the development can go simultaneously.

Feel free to ask any questions!

Please try it and give me feedback!
Report if you find bugs! (won't be hard)
Tell me if you like the idea or not, or if you have any idea, how could I make this better!

Kind regards,

ata2001
Reply
#2
You can generate example files to test it with "for i in {01..12}; do touch Regular.Show.S01.E$i.mkv; done".

If you enable debug mode in settings, it won't actually rename the files, just prints the info in the log.
Reply
#3
GIF screen capture:
Image
Reply
#4
Please move my thread to Support / Add-on Support / Program Add-ons!

Thanks!
Reply
#5
(2017-03-12, 12:45)ata2001 Wrote: Please move my thread to Support / Add-on Support / Program Add-ons!

Thanks!

Moved.
Always read the Wiki, FAQ and search the forum before posting.
Read/follow the forum rules.
Reply

Logout Mark Read Team Forum Stats Members Help
TV Show renamer addon1