[Approved] [French] allocine.fr (2009-01-31)

vinch100

MP Donator
  • Premium Supporter
  • August 21, 2006
    107
    18


    I created this script because the default FRDB wasn't working for me.

    This one doesn't grab everything that could be grabbed, mainly because each type of information needs to open a new web page, so I selected :

    - Title
    - Original Title
    - Year
    - Thumbnail/Cover
    - Rating
    - Director
    - Cast

    Please let me know if you have any issue using this script.

    Version history:
    • 2009-02-10 posted by fmarcia here
    • 2009-01-31 posted by fmarcia here
    • 2009-01-30 posted by fmarcia here
    • 2008-11-30 posted by fmarcia here
    • 2008-11-28 posted by fmarcia here
    • 2008-09-15 posted by vinch100 this post

    The green highlighted file is available via Update in MediaPortal Configuration.
     

    chronosghost

    Portal Member
    April 4, 2005
    13
    0
    no problem, you only need to create a new thread and attach it to the first post
    I will take care of, that it will be downloaded by the configuration when starting an update :)

    :D for your efforts
    OK, when you have a moment I will refer to me as
    My english is very bad , the text is a automatic traduction, sorry
     

    zamoth

    Portal Member
    June 5, 2007
    19
    0
    Hello, this script seems not to function when I use it.
    movie name => FRDB => shows it is using allocine => finding name of the movie => shows information pageof the movie ... but here I get :
    - movie name : unkown
    - It tries to get a cover but since it grabbed unknow as movie name, it doesn't show anything
    - Year : 1900
    - Votes : No info
    - Lenth : 0

    The only thing it seems to grab correctly is the "genre" of the movie ...

    So this seems not to function at all for me !
     

    fmarcia

    Portal Member
    April 20, 2008
    76
    0
    Boussy Saint Antoine
    This script works fine for me. I could even get the year and the director after I replaced every character with accent with a dot (for example, "Année de production" with "Ann.e de production" or "Réalisé par" with "R.alis. par").

    Remaining issues are the duration and the MPA rating which are not handled.
     

    fmarcia

    Portal Member
    April 20, 2008
    76
    0
    Boussy Saint Antoine
    Hi,

    Here is a new version of vinch100's script which grabs now the movie runtime. I've also modified regexps that contain characters with accent.

    It works fine on my computer. Hope it'll do the same with yours...
     

    fmarcia

    Portal Member
    April 20, 2008
    76
    0
    Boussy Saint Antoine
    Hi,

    Here is the last version:
    - fix : grab now correctly runtimes when they aren't like "#h #min" (for example "30min" or "2h")
    - add: convert <br/> tags to newlines
    - add: convert nbsps to spaces
    - bug: quotes are doubled when displayed (perhaps an issue with mp?)

    Cheers
     

    fmarcia

    Portal Member
    April 20, 2008
    76
    0
    Boussy Saint Antoine
    I updated this script once again to grab roles with actors.

    I don't post it yet since I think I found a bug: "as" isn't translated when #cast is expanded.

    Could someone confirm this? Is there any workaround?
     
    Top Bottom