twinther Wrote:Good stuff and so cool DR actually has a json api for this.
The videos that doesn't play can be fixed the same way I did for bonanza. At least it worked for Aftenshowet.
You need to patch the videoURL, something like this:
videoURL = videoURL.replace('http://vod.dr.dk/', 'http://vod.dr.dk/cms/')
so that /cms/ appears twice in the URL.
I don't think it's possible within xbmc to download stream from rtmp url's, but personally I don't care much for downloading this anyway.
It would be great if you could update this to use the script.module.danishplugins utility module. Things like int(sys.argv[1]) all over the place hurts the eyes
Btw. If others are testing this you need to copy the simplejson folder from the bonanza plugin.
I uploaded a new version of the script here:
http://www.filedropper.com/pluginvideodrnu-101
Se changelog below.
1.0.1 - Added an extra /cms to the rtmp url. All videos should now be working.
- Credits goes to twinther.
- This script uses script.module.danishaddons. The easiest way to get this is
- by adding the Danish XBMC Addons Repo. After doing that install the DR.dk Bonanza Video Add-on.
- You'll find the Danish XBMC Addons Repo here:
- http://github.com/xbmc-danish-addons/Dan...addons.zip
- Install this Add-on by using System -> Add-ons- > Install from zip file.
- This script also uses script.module.simplejson. You can download this module from varios places.
- Use this URL to find a download site. http://www.google.dk/search?q=script.mod...2.0.10.zip
- Install this Add-on by using System -> Add-ons- > Install from zip file.
- Updated script to use some constants from script.modules.danishaddons.


Search
Help