Help creating LoveFilm genereic site please! | Page 2

Discussion in 'OnlineVideos' started by domb, May 7, 2011.

  1. tringler

    tringler Portal Pro

    Joined:
    July 19, 2009
    Messages:
    100
    Likes Received:
    6
    Gender:
    Male
    Location:
    Fürth
    Ratings:
    +6 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: Help creating LoveFilm genereic site please!

    any progress on that?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,799
    Likes Received:
    753
    Location:
    Nuenen
    Ratings:
    +1,117 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    not that I know of...
     
  4. goodlivin

    goodlivin Portal Member

    Joined:
    November 11, 2011
    Messages:
    5
    Likes Received:
    4
    Ratings:
    +4 / 0
    Home Country:
    United Kingdom United Kingdom
    Hi,

    I'm making a start on a LoveFilm plugin for MediaPortal Here is the project: (MPLF) MediaPortal LoveFilm Plugin

    I have just created it and I will be making a start in a couple of weeks. I havent yet found any open shared plugins that I can contribute to so I have created one. Does any one manage one? If not, It would be lovely if you would join me on getting this started.
     
  5. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,799
    Likes Received:
    753
    Location:
    Nuenen
    Ratings:
    +1,117 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Quite ambitious, that wishlist...

    You could also try to integrate it in onlinevideos. Not quite *that* amount of possibilities, but you do have an existing framework/skins on which to base your project
     
  6. FlipGer
    • Premium Supporter

    FlipGer Retired Team Member

    Joined:
    April 27, 2004
    Messages:
    2,658
    Likes Received:
    115
    Location:
    Leipzig, Germany
    Ratings:
    +115 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hiho,

    first of all thanks for the great OnlineVideos plugin.

    Since the VoD of Lovefilm gets better and better I thought it would be nice to have it inside MP. So I stumpled across this thread. Sad to see, that it is sleeping currently. So I decided to have a look into it.

    I managed to create a Siteparser for lovefilm.de VoD ("Teil des Ausleihpaketes"). I can browse through the genres. Really nice, the SiteParser is working quite well, especially when looking into the provided vid.

    But I fear playback will be an big issue, because lovefilm uses Silverlight :eek: and loads the player via JavaScript and Ajax into its site :mad:.

    So my questions are:
    • Is Silverlight supported by OnlineVideos at all?
    • Are there sites / examples using Silverlight to get a peek into it?
    • Are there sites / examples parsing JavaScript and Ajax?
    • If nothing of this works, would it be possible to Open IE with the URL of the videosite?
    I will have to take a look into the login process as mentioned above with a own SiteUtil. My C# knowledge is somewhat burried, but perhaps it will work. Main blocker will be my short spare time. ;)
    I fear the lovefilm API is a dead end currently. Because lovefilm does not provide any information at all anymore and the API was only for lovefilm.com.
    At least you can browse through lovefilm.de:
    Code (Text):
    1. <Site name="Lovefilm" util="GenericSite" agecheck="false" enabled="true" lang="de">
    2.   <Description>Lovefilme - VoD Teil des Ausleihpaketes</Description>
    3.   <Configuration>
    4.     <item key="dynamicCategoriesRegEx"><![CDATA[(?<!<span\s>Produktionsdekade</span>\s*<.*)(?<=<span\s>Genre</span>\s*.*)li>\s*<a\shref="(?<url>[^"]*)"\stitle="([^"]*)"><span\sclass='facet_link'>(?<title>[^<]*)</span>\s*<span\sclass='facet_results\s]]></item>
    5.     <item key="videoListRegEx"><![CDATA[<div\sid="ajaxItemRow[^"]*"(?:(?!<img).)*<img\sref="[^"]*"\ssrc="(?<ImageUrl>[^"]*)"(?:(?!<div\sclass="fl_detail_info").)*<div\sclass="fl_detail_info">\s*<h2><a\shref="(?<VideoUrl>[^"]*)"title="[^"]*">(?<Title>[^<]*)</a>\s*<span\sclass="release_decade">\((?<Airdate>[^\)]*)\)</span>\s*</h2>(?:(?!</ul>).)*</ul>\s*<div\sclass="read_more">(?<Description>[^<]*)(?:(?!<div\sclass='clearfix').)*<div\sclass='clearfix'></div>\s*</div>]]></item>
    6.     <item key="nextPageRegEx"><![CDATA[(?<=&lt;\sVorherige.*)(?<!Nächste\s&gt;.*)<li><a\shref="(?<url>[^"]*)"\s*>Nächste\s&gt;</a></li>]]></item>
    7.     <item key="baseUrl"><![CDATA[http://www.lovefilm.de/browse/filme/video-on-demand/teil-des-ausleihpaketes/]]></item>
    8.   </Configuration>
    9. </Site>
     
    Last edited: August 30, 2012
  7. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    Silverlight support depends on what actual protocol is used. If you check Onlinevideos SVN trunk, there's a new source filter version that support silverlight smooth streaming. (But not PlayReady Protected Streams).
    In order to play this, all you need to find is the URL to the manifest file. No js or ajax involved.

    As this is really new I have no sample sites where you can peek at it :(

    OnlineVideos currently doesn't offer the option to open IE (this is not really an option as the philosophy is the unified look and feel).
     
  8. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,799
    Likes Received:
    753
    Location:
    Nuenen
    Ratings:
    +1,117 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    And also it would be really hard to route the play/stop/pause actions through to IE
     
  9. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    I just registered and checked their playback method. They use IIS Smooth Streaming which is supported by our new filter, but they also use DRM Protection (PlayReady) on the streams, which I think we can't ever support with our filter :(
     
  10. georgius
    • Premium Supporter

    georgius Retired Team Member

    Joined:
    October 31, 2010
    Messages:
    1,376
    Likes Received:
    437
    Gender:
    Male
    Occupation:
    Software Architect
    Location:
    Bratislava
    Ratings:
    +668 / 0
    Home Country:
    Slovakia Slovakia
    Show System Specs
    Correct, there is no free PlayReady specification (you have to pay for specification and also it's no clear that we will be able to implement it in our filter).
     
  11. FlipGer
    • Premium Supporter

    FlipGer Retired Team Member

    Joined:
    April 27, 2004
    Messages:
    2,658
    Likes Received:
    115
    Location:
    Leipzig, Germany
    Ratings:
    +115 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi,

    I feared that. Shit DRM. Hopefully Silverlight will die one day.

    Anyway. Many thanks for taking a look into it. So we have currently to live with it. Well, the listing of the provided films is OK for me. And I will have to take a look into the login process. This is missing and would be great, since the listings depend on which packet you have booked at lovefilm.

    Flip.
     
Loading...

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!