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 under developement, 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:
Settings XML:
Custom output regex: [ ]
Help: [ ]
Remote control: [ ]
Multi language support: [ ]
Symlink support: [ ]
Save regexes: [ ]
Progress bar: [ ]
Show log: [ ]
Screenshot:
Thanks ghickman for tvrenamr!
Thanks 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 alpha stage, it is really buggy and lacks a lot of features.
Source repo: https://github.com/ata2001/script.customregex
Download link: script.customregex.zip
The idea was to keep tvrenamr and this addon seperately, so the developement can go simultaneously, but if this not gonna work well, I may rewrite the whole thing from scratch.
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