home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
IMDb+
IMDb+ Plugin 2.0.0.281 with IMDb+ Scraper v4.9.41
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 1111927" data-attributes="member: 18896"><p>Yes, US title is default when localized title is missing. The problem is that IMDb.com doesn't tell me "Movie title shown" = Norwegian localized, and "(Original Title used)" = English. It could very well be English + Original Chinese title, or "Foreign title not translated", or "English title" as-is.</p><p> </p><p>The problem is that this causes dozens of different outcomes, and I need to come up with a way to figure out if the Title is English, if the "(Original Title)" is the actual correct English, or if I need to use the AKA page to try to locate an English title.</p><p> </p><p>For USA users I do this by looking at the "Title", and if the country listed is one where they speak English (US, Canada, etc), and the language specified is English, then the movie title must be English, so I use the title "as-is". Any "(Original Title)" is then going to be foreign and I'll use it without knowing what language it is. If the title check fails, then I fall back on the AKA page and go down the list of accepted English alternatives.</p><p> </p><p>For non-USA users this system totally fails, so need to figure out a way to fix identification.</p><p> </p><p>If the "generic.monitoring.set_twilight_info" title part is always set to "NO" for you (have to go by *not* "US" to support other countries as well), then it would not work. There is no way for me to know what titles are translated, which ones are foreign to your language, and which ones are used as-is from their original language. Was hoping that the non translated movies would show "US" for you.</p><p> </p><p>What I can however do is look at: </p><ol> <li data-xf-list-type="ol">if "US" not found inside HTML for "generic.monitoring.set_twilight_info"</li> <li data-xf-list-type="ol">use alternative RegExp to look for "Title" + "(Orginal Title)"</li> <li data-xf-list-type="ol">if only "Title" found use as-is, otherwise force "(Orginal Title)" to be the English title.</li> </ol><p>Can you confirm that would work?</p><p> </p><p>Is the AKA page even needed, or does an English title always show for you under "(Original Title)" (check like Asian/French/etc movies)?</p></blockquote><p></p>
[QUOTE="RoChess, post: 1111927, member: 18896"] Yes, US title is default when localized title is missing. The problem is that IMDb.com doesn't tell me "Movie title shown" = Norwegian localized, and "(Original Title used)" = English. It could very well be English + Original Chinese title, or "Foreign title not translated", or "English title" as-is. The problem is that this causes dozens of different outcomes, and I need to come up with a way to figure out if the Title is English, if the "(Original Title)" is the actual correct English, or if I need to use the AKA page to try to locate an English title. For USA users I do this by looking at the "Title", and if the country listed is one where they speak English (US, Canada, etc), and the language specified is English, then the movie title must be English, so I use the title "as-is". Any "(Original Title)" is then going to be foreign and I'll use it without knowing what language it is. If the title check fails, then I fall back on the AKA page and go down the list of accepted English alternatives. For non-USA users this system totally fails, so need to figure out a way to fix identification. If the "generic.monitoring.set_twilight_info" title part is always set to "NO" for you (have to go by *not* "US" to support other countries as well), then it would not work. There is no way for me to know what titles are translated, which ones are foreign to your language, and which ones are used as-is from their original language. Was hoping that the non translated movies would show "US" for you. What I can however do is look at: [LIST=1] [*]if "US" not found inside HTML for "generic.monitoring.set_twilight_info" [*]use alternative RegExp to look for "Title" + "(Orginal Title)" [*]if only "Title" found use as-is, otherwise force "(Orginal Title)" to be the English title. [/LIST] Can you confirm that would work? Is the AKA page even needed, or does an English title always show for you under "(Original Title)" (check like Asian/French/etc movies)? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
IMDb+
IMDb+ Plugin 2.0.0.281 with IMDb+ Scraper v4.9.41
Contact us
RSS
Top
Bottom