Page 1 of 1

[bash] rename tv show

Posted: 29 Apr 2021, 19:26
by knibal
Hello. I'm sorry if I'm asking something that has already been answered but I've been searching all afternoon and I can't find the solution.
I am using a filebot in a synology command line. I want to organize some tv shows that are in the "name [chap.101] [720p].mkv" format and I would like to get name \ 1x01.mkv all this I want to use without using any scrapper because most of the series are not recognized. Thank you so much for your time.

Re: [bash] rename tv show

Posted: 30 Apr 2021, 04:02
by rednoah
Have you tried Plain File Mode yet? For that to work, you'll have to write your own custom plain file format specifically tailored to matching information from your specific file naming patterns.



:idea: Alternatively, if the TV Shows do exist in any of the online databases, then you can use linear matching and renaming:
viewtopic.php?t=12553

Re: [bash] rename tv show

Posted: 30 Apr 2021, 13:15
by knibal
thanks for your atention. i can use linear matching becouse i have to many tvshows in only a folder. And the session arent complete.
i try the plain file mode but i use line command.
thanks

Re: [bash] rename tv show

Posted: 30 Apr 2021, 15:24
by rednoah
The Linear Rename technique should work just fine. Where exactly do you see a problem?


Here's are my thoughts:

* Use --q to define the Series ID
* Use name* glob to pass only episodes from a specific Series as input argument sequence
* Use --filter "s >= 2 && e >= 1" if you need a specific season / episode offset
* Use --action test for testing