You are not logged in.
I have folder for each movie and, in each folder there's a .mp4 and .srt file. How do I rename the .srt exactly like the .mp4 name so that I can load the .srt automatically whenever I play the .mp4?
Offline
You could try applying the same renaming rules to all files, i.e. both .mp4 and .srt files. It can work depending on the kind of renaming rules you are using.
Alternatively, check out this topic for more ideas: Rename files with specific extension same as provided one.
If you have additional questions, please include an example of input and desired output filenames.
Offline
You could try applying the same renaming rules to all files, i.e. both .mp4 and .srt files. It can work depending on the kind of renaming rules you are using.
Alternatively, check out this topic for more ideas: Rename files with specific extension same as provided one.
The result is Type mismatch
If you have additional questions, please include an example of input and desired output filenames.
The example like this:
C:\Movies\ABC
C:\Movies\ABC\ABC.mp4
C:\Movies\ABC\ABC bla bla.srt
C:\Movies\DEF
C:\Movies\DEF\DEF.mp4
C:\Movies\DEF\DEF bla bla.srt
I want the .srt to be exactly like the .mp4
C:\Movies\ABC
C:\Movies\ABC\ABC.mp4
C:\Movies\ABC\ABC.srt
C:\Movies\DEF
C:\Movies\DEF\DEF.mp4
C:\Movies\DEF\DEF.srt
or even rename both the .mp4 and .srt exactly like the folder name.
Last edited by HexaPro (2019-03-04 06:17)
Offline
These two rules will rename all files within a folder to the same name as the folder:
1. Delete from position 1 to the end
2. Insert :File_FolderName:
Drag in all your folders and make sure the preview looks OK.
Offline
These two rules will rename all files within a folder to the same name as the folder:
1. Delete from position 1 to the end
2. Insert :File_FolderName:Drag in all your folders and make sure the preview looks OK.
Thank you so much for the help.
Unfortunately the preview shows File_FolderName.mp4 and File_FolderName.srt
I actually need to match the .srt with the .mp4 in each folder. There's one movie title per folder and some have sub folder too like this:
C:\Movies
C:\Movies\Alien
C:\Movies\Alien\1. Alien
C:\Movies\Alien\1. Alien\1. Alien.mp4
C:\Movies\Alien\1. Alien\1. Alien.srt
C:\Movies\Alien\2. Aliens\2. Aliens.mp4
C:\Movies\Alien\2. Aliens\2. Aliens.srt
C:\Movies\MCU\1. Iron-Man\1. Iron-Man.mp4
C:\Movies\MCU\1. Iron-Man\1. Iron-Man.srt
C:\Movies\MCU\2. Incredible Hulk\2. Incredible Hulk.mp4
C:\Movies\MCU\2. Incredible Hulk\2. Incredible Hulk.srt
Or:
C:\Movies
C:\Movies\Alien
C:\Movies\Alien\1. Alien
C:\Movies\Alien\1. Alien\Alien.mp4
C:\Movies\Alien\1. Alien\Alien.srt
C:\Movies\Alien\2. Aliens\Aliens.mp4
C:\Movies\Alien\2. Aliens\Aliens.srt
C:\Movies\MCU\1. Iron-Man\Iron-Man.mp4
C:\Movies\MCU\1. Iron-Man\Iron-Man.srt
C:\Movies\MCU\2. Incredible Hulk\Incredible Hulk.mp4
C:\Movies\MCU\2. Incredible Hulk\Incredible Hulk.srt
I really know nothing about Pascal, so if anybody knows how exactly to do this then I would really appreciate it.
Offline
Make sure you have the colons at either end of File_FolderName.
Alternatively use the "Insert Meta Tag" button (just under the Insert field) and choose "File_FolderName" from the list.
Offline
Alternatively use the "Insert Meta Tag" button (just under the Insert field) and choose "File_FolderName" from the list.
That was exactly what I did, but it shows File_FolderName.mp4 and File_FolderName.srt in the preview.
Offline
AdrianW wrote:Alternatively use the "Insert Meta Tag" button (just under the Insert field) and choose "File_FolderName" from the list.
That was exactly what I did, but it shows File_FolderName.mp4 and File_FolderName.srt in the preview.
Sorry apparently I don't click it right, now it shows exactly what the folder name is, both .mp4 and .srt.
But there's a problem, the sub folder preview shows that they would be renamed exactly like the parent folder, like this:
From:
C:\Movies
C:\Movies\Alien
C:\Movies\Alien\1. Alien
C:\Movies\Alien\1. Alien\1. Alien.mp4
C:\Movies\Alien\1. Alien\1. Alien.srt
To:
C:\Movies
C:\Movies\Movies
C:\Movies\Movies\Movies
C:\Movies\Movies\Movies\Movies.mp4
C:\Movies\Movies\Movies\Movies.srt
Offline
It's wanting to rename the folders as well.
You'll need to change your filter settings:
Choose "settings" from the menu and then select "filters".
Uncheck "Add folders as files".
Then try again.
Last edited by AdrianW (2019-03-04 09:46)
Offline
It's wanting to rename the folders as well.
You'll need to change your filter settings:
Choose "settings" from the menu and then select "filters".
Uncheck "Add folders as files".Then try again.
Nice... That seems to work. But may I ask you again? There's also a sub folder in several folder named 'Subs' for more than one language .srt. How to exclude those 'Subs' sub folder? So that the .srt Inside untouched.
And what if I have several video files in one folder, also with it's .srt files. I want it to be like this:
C:\TV Series\The Walking Dead\Season 01\SE01E01 Begin.mp4
C:\TV Series\The Walking Dead\Season 01\SE01E01 Begin.srt
C:\TV Series\The Walking Dead\Season 01\SE01E02 Continue.mp4
C:\TV Series\The Walking Dead\Season 01\SE01E02 Continue.srt
C:\TV Series\Game of Thrones\Season 01\SE01E01 Begin.mp4
C:\TV Series\Game of Thrones\Season 01\SE01E01 Begin.srt
C:\TV Series\Game of Thrones\Season 01\SE01E02 Continue.mp4
C:\TV Series\Game of Thrones\Season 01\SE01E02 Continue.srt
I'm really sorry if I asked too much questions LOL.
Offline