I am not gifted at scripting and need some help in setting up a rule to rename part of a file upon completion. The reason I need this is so that my external media player can scrape the title from the filename. Currently the media player cannot find the titles as the filenames are not recognised by the TVDB in its current form. Setting up the media player to recognise it is possible, but after many a day of googling I have concluded that this is a daunting task with many limitations, so that is not an option I want to further explore
My specific scenario is as follows:
- The file inside the torrent is named "[text] one two three - title - 01 [480p].mkv"
- I need it to be renamed to "[text] one two three - S03E01 [480p].mkv"
- In other words the file part "title - "
need to be renamed to "S03E"
- This needs to be able to handle all episodes in the series, ie be applicable to multiple files
The file preferably needs to be accessible by Tixati for seeding after rename. I believe this would be a non-issue if done by a script from inside Tixati, but I may definitely be wrong.
I suppose you can see my lack of knowledge and as such, if anyone could assist I wil be eternally grateful.
I still haven't found a solution to this. Seems my post have been hijacked without giving an answer to my question. 😜
I have decided to a batch file inside the specific folder which will run the code, but I still need the cmd command for my windows system. Is there anyone out there who can assist? This is driving me nuts - I have spent the better part of two weeks googling and trying, but I simply cannot get anywhere.
PLEASE HELP KIND PEOPLE! 😁