Possible to fetch french titles used in Quebec?
Possible to fetch french titles used in Quebec?
In preferences I select French and fetch from TheMovieDB but I get the title from Europe though TheMovieDB know the title used in Quebec.
Let me show you one example. When I search for the movie Inside Out on TheMovieDB website, this is what I get:
The poster may use the French Vice-Versa title used in Europe but you can see the main title shown to me Sens dessus dessous is the one used in Quebec and I would like to tell FileBot to use this one.
Is it possible? Is it a matter of adding a new flag for this to work?
Let me show you one example. When I search for the movie Inside Out on TheMovieDB website, this is what I get:
The poster may use the French Vice-Versa title used in Europe but you can see the main title shown to me Sens dessus dessous is the one used in Quebec and I would like to tell FileBot to use this one.
Is it possible? Is it a matter of adding a new flag for this to work?
Re: Possible to fetch french titles used in Quebec?
There's a similar requests for Mexican Spanish and Transliterated Japanese language preferences. I'm somewhat reluctant to add "special languages" that are only supported by a single database though.
I'll have a look and see what can be done.
I'll have a look and see what can be done.
Please read the FAQ and How to Request Help.
Re: Possible to fetch french titles used in Quebec?
r4714 adds support for Canadian French.
e.g.
e.g.
Code: Select all
filebot -rename Inside.Out.2015.mp4 --db TheMovieDB --lang "Canadian French"
Code: Select all
Rename movies using [TheMovieDB]
Auto-detect movie from context: [Inside.Out.2015.mp4]
[MOVE] Rename [Inside.Out.2015.mp4] to [Sens dessus dessous (2015).mp4]
Please read the FAQ and How to Request Help.
Re: Possible to fetch french titles used in Quebec?
Nice! Does this show up in GUI? I'm using FileBot on Windows.rednoah wrote:r4714 adds support for Canadian French.
Is r4714 a nightly build? Are they compiled? I would be happy to test this.
Re: Possible to fetch french titles used in Quebec?
Yes, it's in the GUI as well. The latest revision jar has been uploaded to the usual place. See FAQ.
Please read the FAQ and How to Request Help.
Re: Possible to fetch french titles used in Quebec?
Works perfect! Now I see TheMovieDB is not 100% accurate all the time but that's another story.
Thank you!
Thank you!
-
- Posts: 6
- Joined: 01 May 2017, 03:31
Re: Possible to fetch french titles used in Quebec?
Hi,
Is it possible to have filebot fetch all the info from --lang "canadian french" first
And if it doesn't find any, then it would fetch info from --lang "french" ?????
Currently, if no info is found in canadien french, it default to english.
Kind of annoying because most of the french titles are the same in canadian french except for a few exceptions...
Also, for collection info, even when fetching "canadian french", it results the "french" collection info...
Is it possible to have filebot fetch all the info from --lang "canadian french" first
And if it doesn't find any, then it would fetch info from --lang "french" ?????
Currently, if no info is found in canadien french, it default to english.
Kind of annoying because most of the french titles are the same in canadian french except for a few exceptions...
Also, for collection info, even when fetching "canadian french", it results the "french" collection info...
Re: Possible to fetch french titles used in Quebec?
Please give an example (i.e. TheMovieDB link) where this is the case.
Please read the FAQ and How to Request Help.
-
- Posts: 6
- Joined: 01 May 2017, 03:31
Re: Possible to fetch french titles used in Quebec?
https://www.themoviedb.org/movie/10865- ... uage=fr-CA
Title in canadian french is : Atlantis: l'Empire Perdu
Title in french is: Atlantide, l'Empire Perdu
Collection in canadian french is : Atlantis - Saga
Collection in french is : L'Atlantide - Saga
Title in canadian french is : Atlantis: l'Empire Perdu
Title in french is: Atlantide, l'Empire Perdu
Collection in canadian french is : Atlantis - Saga
Collection in french is : L'Atlantide - Saga
-
- Posts: 6
- Joined: 01 May 2017, 03:31
Re: Possible to fetch french titles used in Quebec?
Also another example where there is no canadian french info because it's the same as the french info
https://www.themoviedb.org/movie/15969- ... uage=fr-CA
fetch in canadian french, returned title = The Return of Jafar
fetch in french, returned title = Le Retour de Jafar
Collection info should be the same in canadian french and french, there would be no point in creating different info.
https://www.themoviedb.org/movie/15969- ... uage=fr-CA
fetch in canadian french, returned title = The Return of Jafar
fetch in french, returned title = Le Retour de Jafar
Collection info should be the same in canadian french and french, there would be no point in creating different info.
Re: Possible to fetch french titles used in Quebec?
That's just how TheMovieDB API returns the results I guess. FileBot will request fr-CA information but can't confirm that that's actually what it got.
However, you can just use the {localize} to dynamically localize information in the format to make things work the way you want:
@see viewtopic.php?t=3761
However, you can just use the {localize} to dynamically localize information in the format to make things work the way you want:
Code: Select all
{n} - {localize.French.n} - {localize.'Canadian French'.n}
Please read the FAQ and How to Request Help.
-
- Posts: 6
- Joined: 01 May 2017, 03:31
Re: Possible to fetch french titles used in Quebec?
Okrednoah wrote:That's just how TheMovieDB API returns the results I guess. FileBot will request fr-CA information but can't confirm that that's actually what it got.
However, you can just use the {localize} to dynamically localize information in the format to make things work the way you want:@see viewtopic.php?t=3761Code: Select all
{n} - {localize.French.n} - {localize.'Canadian French'.n}
Would there be a way to compare the returned info with the english one.
If it matches, it would mean that there was no "canadien french".
If it does not match, it would mean that there is "canadian french" info and that it can be kept.
If not, it would need to fetch using the standard french instead...
That would not work all the time, some movies have the same name in english and canadian french...
https://www.themoviedb.org/movie/277834 ... uage=fr-CA
I would like to automate the process...
Maybe with a script but I know nothing about coding.
Re: Possible to fetch french titles used in Quebec?
e.g. assuming n is the English name:
Code: Select all
any{[localize.'Canadian French'.n] - n}{[localize.'French'.n]}[0]
Please read the FAQ and How to Request Help.
-
- Posts: 6
- Joined: 01 May 2017, 03:31
Re: Possible to fetch french titles used in Quebec?
It worked with the code written like thisrednoah wrote:e.g. assuming n is the English name:Code: Select all
any{[localize.'Canadian French'.n] - n}{[localize.'French'.n]}[0]
Code: Select all
{localize.'Canadian French'.n - n}{localize.'French'.n}
It happens that the Canadian French title is the same as the English one and I will end up with the wrong title...
https://www.themoviedb.org/movie/277834 ... uage=fr-CA
Moana = Original Title
Moana = Canadian French Title
Vaiana, la légende du bout du monde = French Title
Should I worked with the TMDB api to change the way it works...
If I request a title FR-?? in and that it does not exist, then it should returned the title in FR-FR instead of ENG?
-
- Posts: 6
- Joined: 01 May 2017, 03:31
Re: Possible to fetch french titles used in Quebec?
FR_CA defaulting to FR would make sense in general. But individual may disagree and prefer the current behaviour. Also, TheMovieDB may not be interested in implementing corner cases like this, where there's no "right" or "wrong" answer.
e.g. French Canadian title that is the same in English:
https://pastebin.com/mtEZwFXY
e.g. French Canadian title the defaulted to English:
https://pastebin.com/aM9mP5k4
There's effectively no way to tell the difference as far as I can tell. The first thing you can do is sign up to TheTVDB and add all the missing fr-CA titles. That'll help you and everyone else.
e.g. French Canadian title that is the same in English:
https://pastebin.com/mtEZwFXY
e.g. French Canadian title the defaulted to English:
https://pastebin.com/aM9mP5k4
There's effectively no way to tell the difference as far as I can tell. The first thing you can do is sign up to TheTVDB and add all the missing fr-CA titles. That'll help you and everyone else.
Please read the FAQ and How to Request Help.