Does dr.dk work? (3 Viewers)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    OK, weird but good. Last night I just couldn't get OnlineVideos to play my stuff back home (Windows 7 x64) but here on work it...works :)

    This is on Windows XP x32.

    Now for the test:

    I need some danes to test my DLL before I submit it anywhere (DR NU is restricted to danish IP's).

    Please download the attached DLL (and unzip), and put it in
    C:\Programmer\Team MediaPortal\MediaPortal\plugins\Windows\OnlineVideos

    If you use Windows 7 you need to use
    C:\Programmer (x86)\Team MediaPortal\MediaPortal\plugins\Windows\OnlineVideos

    Then edit OnlineVideoSites.xml (located in C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal for Windows XP) and put this XML in the beginning of the file:

    Code:
        <Site name="DR NU" util="DRNU" agecheck="false" enabled="true" lang="da" lastUpdated="2011-02-13T13:45:46.3509578+01:00">
          <Description>Video fra DR NU.</Description>
          <Categories />
        </Site>

    The easiest thing is to just put it in after this code:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <OnlineVideoSites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Sites>

    Now try it out :)
     

    Attachments

    • OnlineVideos.Sites.pilehave.zip
      3.2 KB

    2thor

    Portal Pro
    November 1, 2009
    57
    1
    Home Country
    Denmark Denmark
    Hi Pilehave!

    Very happy to confirm that its working:)! (vista-mp 1.1.0.0)

    Really great after the"good old" "Dripper" seemes to be broken!

    Maybe too much to ask, but would skipping be possible to implement?

    Not sure if this maybe is caused a mistake of mine, BUT after adding your dll and changing the OnlineVideoSites.xml, I am not able to open the Onlinevideos config?

    "Typeinitialiseringsfunktionen for "OnlineVideos.SiteUtilFactory" udløste en undtagelse"

    If I ignore the warning, all the fields are left blank in "Groups" and "Sites"

    Any ideas?

    Thanks for your hard work!

    /thor
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Hi Pilehave!

    Very happy to confirm that its working:)! (vista-mp 1.1.0.0)

    Really great after the"good old" "Dripper" seemes to be broken!

    Maybe too much to ask, but would skipping be possible to implement?

    Not sure if this maybe is caused a mistake of mine, BUT after adding your dll and changing the OnlineVideoSites.xml, I am not able to open the Onlinevideos config?

    "Typeinitialiseringsfunktionen for "OnlineVideos.SiteUtilFactory" udløste en undtagelse"

    If I ignore the warning, all the fields are left blank in "Groups" and "Sites"

    Any ideas?

    Thanks for your hard work!

    /thor

    I have the same problem, it's probably something I didn't do right in the XML-config (I suppose).

    I'm sure offbyone can give us a hint on what is wrong ;)

    About the skipping...I don't know how I can do anything to help "fixing" it... :confused:
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #74
    Not sure, I am suspecting your dll. What .net framework are you targeting? 3.5 I hope?
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    offbyone, can I somehow display how many videos there are in each category? The number is already in the JSON I get when I scrape the categories, so should be simple...but how?
     

    msj33

    MP Donator
  • Premium Supporter
  • November 30, 2005
    471
    76
    Home Country
    England England
    Hi Everybody.

    Just wants to thank you all for contributing - this is awsome work:)

    Pilehave > I will help test your .dll tomorrow afternoon

    Could you be interested in contributing more on other danish streaming projects - like JP.dk, BT.dk, EB.dk, Borsen.dk, TV2 and similar?)

    Thanks in advance.

    Morten
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #80
    AW: Re: Does dr.dk work?

    On the category object you can set EstimatedVideoCount ;) Will be displayed on label2 in the list.

    offbyone, can I somehow display how many videos there are in each category? The number is already in the JSON I get when I scrape the categories, so should be simple...but how?
     

    Users who are viewing this thread

    Top Bottom