Browse SVT and TV4 video archives | Page 4

Discussion in 'Improvement Suggestions' started by hakuna, December 23, 2005.

  1. c.hilding

    c.hilding Portal Member

    Joined:
    November 17, 2006
    Messages:
    40
    Likes Received:
    0
    Location:
    ABANDONED ACCOUNT
    Ratings:
    +0 / 0
    Home Country:
    Me too!


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. tkortell

    tkortell Portal Pro

    Joined:
    April 13, 2005
    Messages:
    320
    Likes Received:
    0
    Location:
    Vaasa / Sulva
    Ratings:
    +0 / 0
    Home Country:
    Finland Finland
    Me too! :)
     
  4. pbjorklund

    pbjorklund Portal Member

    Joined:
    November 6, 2006
    Messages:
    11
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    I cannot wait for this plugin.

    And im serious, i really can't wait. Post it now! ;)
     
  5. Feffe71

    Feffe71 Portal Member

    Joined:
    October 4, 2006
    Messages:
    13
    Likes Received:
    0
    Location:
    Stockholm
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    Mr.Mad,

    Any updates/news to give us?:D
     
  6. c.hilding

    c.hilding Portal Member

    Joined:
    November 17, 2006
    Messages:
    40
    Likes Received:
    0
    Location:
    ABANDONED ACCOUNT
    Ratings:
    +0 / 0
    Home Country:
    Pleeeeeease! :)
     
  7. mikael
    • Team MediaPortal

    mikael Retired Team Member

    Joined:
    April 30, 2005
    Messages:
    558
    Likes Received:
    94
    Location:
    Stockholm, Sweden
    Ratings:
    +94 / 0
    What is the progress?
     
  8. baloubic

    baloubic Portal Member

    Joined:
    June 10, 2006
    Messages:
    32
    Likes Received:
    1
    Ratings:
    +1 / 0
    En ultimat Mediaportal-plugin som jag alltid saknat...

    Snääälla, gör klar den...
     
  9. MrMad

    MrMad Portal Pro

    Joined:
    May 18, 2005
    Messages:
    191
    Likes Received:
    53
    Occupation:
    C# programmer
    Location:
    Göteborg
    Ratings:
    +53 / 0
    Home Country:
    Sweden Sweden
    There are some pages that are not correctly parsed with the regular expressions I use. I honestly haven't looked into the problem (I have too many ideas and projects, and not enough time).
    I'll try to release some kind of beta with the current plugin (works with some videos, not all) and the source code and perhaps you can help me out.
     
  10. baloubic

    baloubic Portal Member

    Joined:
    June 10, 2006
    Messages:
    32
    Likes Received:
    1
    Ratings:
    +1 / 0
    Would be perfect!

    Please add it on the official downloads list so as many as possible can get a chance to check out - and hopefully help out - with this much-needed plugin..

    /Jeff
     
  11. frippe75

    frippe75 Portal Member

    Joined:
    June 6, 2006
    Messages:
    41
    Likes Received:
    0
    Ratings:
    +0 / 0

    BUT... couldn't you make the plugin a bit more "dynamic" soo that other users could assist when the layout of svt page changes?? Maybe add some config option where you could enter reg.exp needed to populate the list with links to the shows??

    Maybe to complicated? The risk is that the plugin keeps getting outdated all the time. If you write a more generic plug thing would be different?

    Just some thoughts!


    Example:

    Baselink="http://svt.se/svt/road/Classic/shared/mediacenter/"
    Startlink= "navigation.jsp?d=37591"
    UrlRegExp[0]="navigation.jsp\?d=[0-9]{5}\&group=[0-9]{5}"
    LinkNameRegExp[0]="onClick="shL(false,'[0-9]{5}');">\([aA-zZ]*\)</a>"

    UrlRegExp[1]="navigation.jsp?d=[0-9]{6}"
    LinkNameRegExp[1]="onClick="shL();">\([aA-zZ]*\)</a>"
    FilenameRegExp[1]="onClickFile="\([aA-zZ]\)</a"


    The Baselink+Startlink would be the main page to parse to get a "Top menu".
    Looking at UrlRegExp[0] indicates that this is the way (using [0]) for getting the top level link to follow for item with name LinkNameRegExp[0].

    Once you press enter to follow a selection you go into [1] assuming things changes link-wise. Which I noticed it does for SVT. If they would be using the same naming convention for Menulevel[1] it could be left empty. But now since FilenameRegExp contains something it means that we have a link that can be played... ie started in the player..

    This type of thinking would enable you to write a generic plugin which could be used for tv4 as well... and any other channel have online clips like this.

    Of couse other things needs to be in place but anyone with regexp knowledge would be able to submit a new config for "SVT" and things would be fine and dandy. So you could incoporate many config's for example for SVT,TV4 and Kanal5.

    The regexp I entered is a mix between unix regexp and perl's reg exp which differs. To tired to look the correct syntax up but you probably get the message.

    Comments?
     

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!