Help creating LoveFilm genereic site please! (1 Viewer)

goodlivin

Portal Member
November 11, 2011
5
4
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.
 

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    3,562
    1,779
    Nuenen
    Netherlands Netherlands
    Country flag
    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
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    45
    Leipzig, Germany
    Germany Germany
    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:
    <Site name="Lovefilm" util="GenericSite" agecheck="false" enabled="true" lang="de">
      <Description>Lovefilme - VoD Teil des Ausleihpaketes</Description>
      <Configuration>
        <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>
        <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>
        <item key="nextPageRegEx"><![CDATA[(?<=&lt;\sVorherige.*)(?<!Nächste\s&gt;.*)<li><a\shref="(?<url>[^"]*)"\s*>Nächste\s&gt;</a></li>]]></item>
        <item key="baseUrl"><![CDATA[http://www.lovefilm.de/browse/filme/video-on-demand/teil-des-ausleihpaketes/]]></item>
      </Configuration>
    </Site>
     
    Last edited:

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,981
    3,703
    Stuttgart
    Germany Germany
    Country flag
    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).
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,562
    1,779
    Nuenen
    Netherlands Netherlands
    Country flag
    ...
    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).
    And also it would be really hard to route the play/stop/pause actions through to IE
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,981
    3,703
    Stuttgart
    Germany Germany
    Country flag
    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 :(
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Slovakia Slovakia
    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 :(
    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).
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    45
    Leipzig, Germany
    Germany Germany
    Hi,

    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 :(
    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.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    O Help with TV setup Newcomers Forum 76
    J Help with new grabber file. WebEPG 1
    J IPTV Sweden, need help with m3u list MediaPortal 1 Plugins 14
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    D Please help with getting Schedules Direct to work Newcomers Forum 10
    U [solved] Beginner needs help recording live TV General 19
    A IPTV from https m3u8 urls - Help General 6
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    M A little help with new install pls Installation, configuration support 3
    N Music player help Listen Music 4
    A Enigma2 receiver channels on Windows PC with Media Portal help General Support 0
    A Help! MP2 - DVB-T Not recognised (DRIVERS?) General 12
    milagroso Remote control with EventGhost - I'm stuck, need help General 3
    D Font size reduced. help. Skins and Plugins Installer (MPEI) 0
    S Gpu/hdtv/mp setup help please Newcomers Forum 3
    W Need help getting my TV guide working again General Support 1
    A I need help with 110 and 119 west Installation, configuration support 21
    A Need help rescaning Channels for 110 and 119 west MediaPortal 1 Talk 2
    C EPG-Buddy: so close to no help needed Electronic Program Guide 8
    mjmapi Help, getting My TVSeries 16
    C Problem playing videos created on IPhone X and Samsung S9 General Support 2
    G [fixed] No recorded video thumbnails created while recording. 2.2 Archive 2
    M [solved] MP2 v 2.2.1 Issue - Registry Key not created General 5
    uxDesign Can't play Blu Ray: VideoPlayer9: Exception while creating DShow graph 1.20 2
    Top Bottom