Moving Picture Public Beta: 0.5.4 | Page 29

Discussion in 'Moving Pictures' started by fforde, August 31, 2008.

Thread Status:
Not open for further replies.
  1. marvenius

    marvenius Portal Pro

    Joined:
    September 3, 2008
    Messages:
    523
    Likes Received:
    47
    Occupation:
    IT-Manager
    Location:
    Belgium
    Ratings:
    +47 / 0
    Home Country:
    Netherlands Netherlands
    at least my nationality is in there :)
    1 person (that I know of) is checking from Belgium.

    haven't done much last week with the 4x3 skin. Tried some stuff with the filmstrip view and did some tweaking of the thumbnail views.
    Hopefully this week will bring forth a bit more spare time (to spend on these things)

    Looking forward to install the latest version!!
    I expect no changes with regards to the skin? (So current skin files will be unchanged?)

     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ScoopD

    ScoopD Portal Member

    Joined:
    April 24, 2007
    Messages:
    37
    Likes Received:
    4
    Occupation:
    Application Packager
    Location:
    Melbourne
    Ratings:
    +4 / 0
    Home Country:
    If everyone else is getting in on it, then c'mon Aussie c'mon.
    6.5% from 20 mil is pretty good compared to the 17.3% from 300 mil Americans. :D

    Little man syndrome? :oops:
     
  4. armandp
    • Premium Supporter

    armandp Retired Team Member

    Joined:
    April 6, 2008
    Messages:
    990
    Likes Received:
    584
    Gender:
    Male
    Occupation:
    Application Designer
    Location:
    Zoetermeer
    Ratings:
    +616 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    i'm affraid i'm responsable for most of that traffic :p
    Ow and just so you know i will create an initial moviemeter.nl script that will probably make it into next release.
     
    • Like Like x 1
  5. Yabba

    Yabba Portal Pro

    Joined:
    July 13, 2007
    Messages:
    131
    Likes Received:
    4
    Ratings:
    +4 / 0
    Home Country:
    Spain Spain
    There's no Spanish on that list, but you can't only count Spain... maybe if all spanish-speaking countries were added we'd count as much as Italy for instance :)

    And more or less the same happens with Portuguese...
     
  6. z3us
    • Team MediaPortal

    z3us Super Moderator

    Joined:
    December 4, 2007
    Messages:
    1,047
    Likes Received:
    118
    Ratings:
    +123 / 0
    Home Country:
    Spain Spain
    Isnt it possible to use the existing scripts of ANT Movie catalog???
     
  7. morfeu78

    morfeu78 Portal Member

    Joined:
    September 16, 2008
    Messages:
    6
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Brazil Brazil
    The difference between the distribution of spanish and portuguese is that you guys have 50% more people speaking the language and those are more equally distributed between several nations, Portuguese is heavily weighted toward Brasil, with Portugal, Angola and a few other nations having far smaller populations. 200 mil in Brasil, It's pityfull that we probably have a dozen MP users, and only myself using Moving Pictures at that :p)
     
  8. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    There should be no skin changes.

    Unfortunately no. I might add support for ANT Movie Catalog scripts in the future but I think the odds of this are not incredibly high. I chose against reusing their scripting engine because:

    1) The ANT Movie Catalog uses Object Pascal as the scripting language. To understand and work with it you really need to be a programmer, which limits the number of people that can write a scraper.

    2) No Regular Expression support. This combined with #1 mean the scripts are much longer and much more complicated then they need to be. Look at their IMDb script verses ours that uses a custom XML/regex script. Ours is about a hundred lines of code, theirs is almost a thousand. I know their script is more stable and mature, and that this is not a fair comparison, but my point is their design creates the need for additional complexity.

    3) ANT is written in C++ meaning I would have to rewrite their scrapper engine. This means that you would probably find inconsistencies between how Moving Pictures parses the results of a scrapper and how the ANT Movie Catalog parses the results.

    ----------------------------------

    I also by the way spent a lot of time considering the reuse of the XBMC scraper engine and chose to not go with it because:

    1) XBMC is written in C++ while MediaPortal (and in turn Moving Pictures) is written in C#. This means I would have to rewrite their parser (which unfortunately has virtually no documentation in the code).

    2) Their regex parser is not fully featured. It does not support lazy matching or interestingly the "\w" element. I am not sure I could duplicate this exactly without writing my own regex parser, so this means that you would get inconsistent script behavior between XBMC and Moving Pictures. These limitations also make it more difficult to construct regex statements to scrape websites. It of course does not make it impossible, it just complicates things.

    3) The method of outputting results with the XBMC scripting engine is fairly cryptic. The script writer has to basically construct an XML document for the output. And what makes this even worse is this construction is embedded in an existing XML document, which means all special characters must be escaped. This dramatically complicates things, reducing the maintainability of existing scripts and making new scripts much more difficult to write.

    4) And the output of the search scripts is not consistent, making it very difficult to auto-approve effectively for all situations. I think the other issues would have prevented me from using this, but this really was a deal breaker for me.

    --------------------------------

    Please trust me, I spent a lot of time and did a lot of research trying to decide on which option to go with here. It was not an easy decision. I promise you though if I had found a scripting engine I felt like would work for our purposes I would have used it. I am not so arrogant to think that I can do it better than all these other people, their solutions just didn't work for Moving Pictures. For what it's worth I am writing the script engine as generic as possible so other people could hopefully reuse our scripts at some point in the future.
     
  9. Bingle

    Bingle Portal Member

    Joined:
    August 8, 2006
    Messages:
    16
    Likes Received:
    0
    Ratings:
    +0 / 0
    Really? That's bizarre. That means not even most programmers could work with it easily. What a strange choice for a scripting language.

    But good call on your part to not use it!
     
  10. piranha
    • Premium Supporter

    piranha MP Donator

    Joined:
    September 17, 2005
    Messages:
    370
    Likes Received:
    10
    Ratings:
    +10 / 0
    Will the XML scripts always embedded in the dll? That kinda makes it hard to update the script if the layout of site changes. As it is now, it requires recompile of the plugin to udate the script.
     
  11. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    Absolutely not. Default ones will be embedded in the DLL, but even those will be updatable by loading a new version of the script manually. Plus of course you could drop other scripts in.
     
Loading...
Thread Status:
Not open for further replies.

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!