Rename by country of origin
Rename by country of origin
Hello,
I watch 90% english movies and 10% french movies:
- I have to switch language each time I want the right name
- I have been thinking (yes it happens)
Can you add an option where renaming will depend on movie origin ?
Thanks
I watch 90% english movies and 10% french movies:
- I have to switch language each time I want the right name
- I have been thinking (yes it happens)
Can you add an option where renaming will depend on movie origin ?
Thanks
Re: Rename by country of origin
1.
{languages} will give you the Spoken Languages as defined by TheMovieDB. Alternatively, you can use {audioLanguages} which relies solely on MediaInfo. {info.ProductionCountries} could be an option if you care about the production country rather than the spoken language.
2.
These values can then be used in the file name, or for if-then-else conditions:
viewtopic.php?t=4191
{languages} will give you the Spoken Languages as defined by TheMovieDB. Alternatively, you can use {audioLanguages} which relies solely on MediaInfo. {info.ProductionCountries} could be an option if you care about the production country rather than the spoken language.
2.
These values can then be used in the file name, or for if-then-else conditions:
viewtopic.php?t=4191
Please read the FAQ and How to Request Help.
Re: Rename by country of origin
Hi,
Sorry I don't get, when I use this in file editor it gives language information after rename but I'd like french name for french movie actors and english name for english movie actors.
perhaps I did not treat your feedback well, sorry in that case.
Sorry I don't get, when I use this in file editor it gives language information after rename but I'd like french name for french movie actors and english name for english movie actors.
perhaps I did not treat your feedback well, sorry in that case.
Re: Rename by country of origin
If you want clear & specific help, please provide clear & specific examples and goals:
* representative input file path for each unique use case
* example for the preferred destination file path for each unique use case
* representative input file path for each unique use case
* example for the preferred destination file path for each unique use case
Please read the FAQ and How to Request Help.
Re: Rename by country of origin
I will show one example with french donwloaded movies:
1. J'accuse-2019.mkv from Polanski
2. Les_diamants_sont_éternels.mkv, James Bond Movie
With the feature I am talking about it will give:
1. "J'accuse - 2019.mkv" instead of "an officier and a spy.mkv" with english search => French actor so I keep french name
2. "Diamonds are eternal.mkv" => English movie so the name given is in english
Do you see what I mean ?
1. J'accuse-2019.mkv from Polanski
2. Les_diamants_sont_éternels.mkv, James Bond Movie
With the feature I am talking about it will give:
1. "J'accuse - 2019.mkv" instead of "an officier and a spy.mkv" with english search => French actor so I keep french name
2. "Diamonds are eternal.mkv" => English movie so the name given is in english
Do you see what I mean ?
Re: Rename by country of origin
I think this covers your use case:
viewtopic.php?t=3761
e.g.
viewtopic.php?t=3761
e.g.
Code: Select all
{localize[languages[0]].plex}
Please read the FAQ and How to Request Help.
Re: Rename by country of origin
Sorry but I'm a newbie and I do not knwo where to put this code:
Thank you
Code: Select all
{localize[languages[0]].n}
Re: Rename by country of origin
Please read the FAQ and How to Request Help.
Re: Rename by country of origin
Code: Select all
{audio.language =~ /en/ ? localize.en.n : n} ({y}){' CD'+pi}{subt}
Thank you
-
- Posts: 1
- Joined: 23 Aug 2020, 23:24
Re: Rename by country of origin
Sorry to bump an old topic, but is there any way to enter this custom format using commands? I'm using Filebot on a seedbox so I can't do differently.
My problem is that I have an English series named in French, and it seems Filebot's just not recognizing it because it didn't do anything with it.
My problem is that I have an English series named in French, and it seems Filebot's just not recognizing it because it didn't do anything with it.
Re: Rename by country of origin
FileBot custom formats are not specific to either GUI or the CLI. Any format that works in the GUI, will also work on the CLI.
https://www.filebot.net/cli.html
https://www.filebot.net/cli.html
Please read the FAQ and How to Request Help.