Media Ressource Database: Problems with IMDB

Post Reply
adgen
Posts: 11
Joined: Tue Mar 23, 2010 9:17 pm

Media Ressource Database: Problems with IMDB

Post by adgen »

Hello,

my video library is still growing. To retrieve meta-data from several different movie-databases is really nice thing. Its kind of cool to have movie pictures, genres, actors and so on on your device display.

But I have a small problem with the script of IMDB-reading: I've modified it for the german version of IMDB, but got still the problem of putting the year into the proper field. Also the list of actors isn't completed filled by the script. Only the first actor is choosing by script. Other scripts (I think TheMovieDB.org) works well, but is not in german available.

Has anyone a modified script for IMDB.de with more then one actor and year insertion????

Thanks alot.

Bye.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Media Ressource Database: Problems with IMDB

Post by Eugene »

Hello,
adgen wrote:
my video library is still growing. To retrieve meta-data from several different movie-databases is really nice thing. Its kind of cool to have movie pictures, genres, actors and so on on your device display.

But I have a small problem with the script of IMDB-reading: I've modified it for the german version of IMDB, but got still the problem of putting the year into the proper field. Also the list of actors isn't completed filled by the script. Only the first actor is choosing by script. Other scripts (I think TheMovieDB.org) works well, but is not in german available.

Code: Select all

...
  csImdbTitle       = '<title>(.*?)</title>';         
  csImdbYear        = '<title>.*?\((.*?)\)</title>';
...
    AddMediaInfoMulti(IMDBItem, [csImdbColor,       'Color',
                                csImdbCountry,     'Country', 
...
                                csImdbPlot,        'Plot',
                                csImdbYear,        'Year']);
...
    SetMediaItemProperties(IMDBItem, ['Title', 'mpTitle', 'Genre', 'mpGenre',
                                      'Director', 'mpDirector', 'Year', 'mpYear']);
For actors uncomment

Code: Select all

   // Actor list  
    ActorItem := IMDBItem.ChildList.FindItem('Cast');
    if ActorItem <> nil then begin
      sActorList := '';
      for i := 0 to ActorItem.ChildList.Count - 1 do begin           
        if sActorList <> '' then 
          sActorList := sActorList + ', ';
        sActorList := sActorList + ActorItem.ChildList[i].Name;
      end;
      if sActorList <> '' then
        WmsSetMediaItemProperty('mpActor', sActorList);  
    end;
adgen
Posts: 11
Joined: Tue Mar 23, 2010 9:17 pm

Re: Media Ressource Database: Problems with IMDB

Post by adgen »

Sorry for the delay.

Thank you very much, Eugene. This helps alot.

But I have still small problem: What about germans "Umlaute" (e.g. in genre names as "Komödie"). Is there an option available to handle this type of chars?

Thanks again.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Media Ressource Database: Problems with IMDB

Post by Eugene »

adgen wrote: But I have still small problem: What about germans "Umlaute" (e.g. in genre names as "Komödie"). Is there an option available to handle this type of chars?
In Control Panel (Regional and Language Settings), try to choose German for non-Unicode programs
Ostpower
Posts: 8
Joined: Fri May 21, 2010 5:48 am

Re: Media Ressource Database: Problems with IMDB

Post by Ostpower »

Hello Together,
could someone help me with the settings for IMDb.de and web radio. It works for me
Unfortunately, not everything. 'm not a technology expert and would need a simple guide or the right
Scripts for IMDb.de and web radio ( Example for my http://www.loveradio.ru/) My wife like this russian radio, with good music mix.
Hope someone can help me.

Thanks for your help
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Media Ressource Database: Problems with IMDB

Post by Eugene »

Ostpower wrote: web radio ( Example for my http://www.loveradio.ru/) My wife like this russian radio, with good music mix.
Hope someone can help me.
1. Download and install VLC media player (http://www.videolan.org).
2. Settings-Transcoder-"Transcoding file params"-"Internet-radio"-"Transcoding profile"-"Music - Internet-radio (VLC)"-OK
3. http://www.loveradio.ru/online.htm - on right click mouse "Copy shortcut" for selected radio (96 Kbps)
4. Select folder "Internet radio"-on right click mouse "Add link" in list of music - Path -on right click mouse - Paste; Title - Love Radio - OK
Ostpower
Posts: 8
Joined: Fri May 21, 2010 5:48 am

Re: Media Ressource Database: Problems with IMDB

Post by Ostpower »

Thanks Eugene,
it´s works very fine now. Internet Radio yaaahooooooooo...

Now we have only the IMDb.de problem ;).

Ostpower
Ostpower
Posts: 8
Joined: Fri May 21, 2010 5:48 am

Re: Media Ressource Database: Problems with IMDB

Post by Ostpower »

hello Eugene and community,
can you help me for the modification from imdb.com to imdb.de. Sorry I´m not an programmer.
I´ve two left hands ;). That we say in german

Thanks for help
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Media Ressource Database: Problems with IMDB

Post by Eugene »

Hello,
Ostpower wrote:hello Eugene and community,
can you help me for the modification from imdb.com to imdb.de. Sorry I´m not an programmer.
I´ve two left hands ;). That we say in german
imdb_de.zip
(2.04 KiB) Downloaded 343 times
1. Unzip
2. In form "Internet database of films, music" click load - imdb_de.cfg - "Clear the currents lists ?" - No

Updated 2012/05/07 (changes for thumbnails)
Ostpower
Posts: 8
Joined: Fri May 21, 2010 5:48 am

Re: Media Ressource Database: Problems with IMDB

Post by Ostpower »

Thank you very much!! :lol:

great job!!

great Ostpower
Post Reply