If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

TheMovieDB (TMDB) in any foreign language

aqntbghdaqntbghd Posts: 275Members ✭✭
Français, English, Italiano, Deutsch, español, etc...
Hello,

I've modified the movie DB meta data agent to support many languages instead of just english. Here is attached a bundle to install in Library/Application Support/Plex Media Server/Plugins to enable it. I've tested the french part quite extensively and it seems to be a good replacement for the cine-passion plugins that stopped working (the backend changed and is now pay-per-scrap). If some official PMS dev is around, i'd like to have this integrated into the next incremental as the official TMDB metadata agent to allow wider testing.

I however have more questions to our fellow comunity :
  • What is the list of the officially supported languages ?
  • How to make an installable package for PMS ?
  • Is there a difference between a language and a country in Plex (TMDB makes this kind of difference, you can have french for france or french for canadian or belgian people) ?
  • Can you test it in your language, so you find plenty of bugs and i can continue working on this code instead of getting bored :)


And here is some screenshot for plex-porn : tmdb-aqntbghd-all-langugages.png
«1

Comments

  • HebhansenHebhansen Posts: 268Members ✭✭
    Great work in the making :-)

    Would love to see Danish supported in next Plex upgrade. It was supported in P8
    HB

    Plex: Server - Center - Streaming, running on:
    Mac Mini 2,53GHz 4MB Ram - Zepto 42" Plasma - DIY active reference speakers stereo
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    I can try to add it, do you know if there are many translated films in danish in the movie db ? :)
  • HebhansenHebhansen Posts: 268Members ✭✭
    There is a lot of them yes.

    Danish language has specific letters: Æ, Ø, Å - æ, ø, å

    Other than that letters are traditional European letters. Everytime I search for a danish title including Æ Ø or Å I get a bad match and it simply won't locate the movie.

    Ex:
    Det forsømte forår ("The neglected spring")
    Min søsters børn ("My sister's children")

    I lived in France back in the days and I remember the Bille August movie featured in France:

    Babettes gæstebud ("Festin de Babette")

    Looking forward to see what you come up with
    HB

    Plex: Server - Center - Streaming, running on:
    Mac Mini 2,53GHz 4MB Ram - Zepto 42" Plasma - DIY active reference speakers stereo
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    edited March 2011
    Hebhansen wrote:

    There is a lot of them yes.

    Danish language has specific letters: Æ, Ø, Å - æ, ø, å

    Other than that letters are traditional European letters. Everytime I search for a danish title including Æ Ø or Å I get a bad match and it simply won't locate the movie.

    It's a known bug of TMDB, however Plex can go around it as it first matches the movie in imdb and then uses the imdb id to fetch the info from tmdb, avoiding the broken search on the title.

    here is attached a tmdb scrapper with danish as a published language, if you want to test it ?
  • lauridsdlauridsd Posts: 131Members, Plex Pass Plex Pass
    Works great with german movies! Thanks for that!
  • flowflow Posts: 603Members, Plex Pass Plex Pass
    please, take a look at github:
    https://github.com/plexinc-agents
    Please note the Legal notice for the usage of Google Analytics in my Channels.
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    flow wrote:

    please, take a look at github: https://github.com/plexinc-agents

    I've just put a pull request for it in github :)
    I've tried cloning the plex github but there was nothing about PMS in there, where is the github for PMS and it's agents ?

    thanks,
  • flowflow Posts: 603Members, Plex Pass Plex Pass
    edited March 2011
    aqntbghd wrote:
    I've tried cloning the plex github but there was nothing about PMS in there, where is the github for PMS and it's agents?

    I don't know it for sure, but I believe that if you incorporate your changes into the "official" TheMovieDB-bundle (https://github.com/p...eMovieDB.bundle) it get's used (semi)automatically.
    Please note the Legal notice for the usage of Google Analytics in my Channels.
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    I'm working on it with the dev :)
  • flowflow Posts: 603Members, Plex Pass Plex Pass
    aqntbghd wrote:

    I'm working on it with the dev :)

    that's really nice to hear! :)
    Please note the Legal notice for the usage of Google Analytics in my Channels.
  • HebhansenHebhansen Posts: 268Members ✭✭
    Can someone interpret what github implies

    Will this pack be part of next Plex. If not will it work in next upgrade?

    If installed as stand alone - how is it done?
    HB

    Plex: Server - Center - Streaming, running on:
    Mac Mini 2,53GHz 4MB Ram - Zepto 42" Plasma - DIY active reference speakers stereo
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    GitHub is the system that plex uses to manage its development as a software. It is a well known system where people can provide source code modification of a project and have them integrated into the main project (roughtly). If you want a strict technical answer : github is a decentralized source control system. :)
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    The patch should be available on PlexOnline today. If you want The Movie DB to localize your movie title you should change its preferences :
    [attachment=6129:Screen shot 2011-03-15 at 9.21.55 AM.png]
  • sander1sander1 Channel Developer/Admin Posts: 3,664Members, Plex Pass, Plex Ninja Plex Ninja
    Great work Aqntbghd! We decided to make the "Get Movie Title from TMDB" optional, because this way the agent works exactly the same as before for people who are already using and/or have no interest in languages other than English.
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    Thanks :) Next step is to think about a way to separate the language and the country for matching films... but i fear some UI bloat if we dig too much this.
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    I've added a country selector in the preferences and submitted a git patch to plex :) now let's test it :)

    https://github.com/Aqntbghd/TheMovieDB.bundle/commit/02363c13e1cf0ea7822b2d050c1dca945fbf3a71
  • contemaxcontemax Posts: 6Members, Plex Pass Plex Pass
    Im sorry for my silly question....

    How can i install this on PMS ?

    Many thanks in advance.

    Contemax
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    You cannot..... yet :) I'm trying to have the patch pushed as an official update to TheMovieDB agent. What i did for my previous patch was releasing it as a variant to the agent and then when it went mainstream i had to help people de-install my agent and use the official one (with many still using the hack). So for that patch i've decided to go the official way and pushing only the official solution. If you have a hacker mind you still can get it from git and install it in the right place ;)
  • contemaxcontemax Posts: 6Members, Plex Pass Plex Pass
    You're right....... I am triyng to solve the problem of foreign languages in movie titles to avoid to re-scrap every time all the library (600 movies - 400 tv series). In other words, i would like to put all the right data of the movies "inside" the folder itself (Ex: Title, Poster, Director, Actors, Movie guide, Genre, Ratings etc. etc) so if you can't find your language you can put them inside your library itself. This, IMHO, could be a safe way to feed your library with correct data to avoid undesired re-scraping of your informations. thanks a lot for your answer, anyway...
    Regards.

    Contemax
  • aqntbghdaqntbghd Posts: 275Members ✭✭
    ConteMax> well you could look at the NFO agent but i feel like it's not the way that plex works (not srapping but matching meta data) :)
«1
Sign In or Register to comment.