[RELEASE] Danish repository - dr.dk, tv2.dk, onside tv & more Denmark addons to come

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Ariba Offline
Junior Member
Posts: 2
Joined: May 2010
Reputation: 0
Thumbs Up  [RELEASE] Danish repository - dr.dk, tv2.dk, onside tv & more Denmark addons to come Post: #1
With the addition of repositories for XBMC addons I really feel it would be nice with a joined repository for danish addons. But it only makes sense if could get other danish addon developers onboard. I contacted twinther who has made the great addons for dr.dk and tv2.dk, he agreed. So now we have set up a repository at github.

Right now the following addons is in the repository:
  • dr.dk Bonanza
  • dr.dk Live
  • dr.dk podcast
  • tv2.dk
  • onside TV
  • TV2/Regionerne
  • Pixel.tv


The repository can be installed from the following zip.
http://github.com/xbmc-danish-addons/Dan...addons.zip

If you have made a danish plugin you want to include in the repo please make a pull request on github or contact me.
(This post was last modified: 2010-10-10 22:33 by Ariba.)
find quote
twinther Offline
Senior Member
Posts: 285
Joined: Sep 2004
Reputation: 7
Location: Denmark
Post: #2
It's official people - let's us know what you think and if you have any problems. My old repository can be considered deprecated.

For anyone interested in chipping in with some code help might be interested in the script.module.danishaddons addon I've been working on. It's an utility module to make our plugins more consistent and add convenience methods.

To use it you simply add an
<import addon="script.module.danishaddons" version="1.0.0"/>
in your addon.xml and
from danishaddons import *
in your .py file.

This will give you a set of constants: ADDON, ADDON_ID, ADDON_PATH, ADDON_HANDLE, ADDON_DATA_PATH and ADDON_PARAMS - as well as a couple convenience methods such as web.downloadAndCacheUrl(..)

If you are interested have a look at the plugin.video.dr.dk.podcast addon and feel free to ask questions Smile
find quote
bblauritzen Offline
Member
Posts: 83
Joined: Nov 2009
Reputation: 0
Thumbs Up    Post: #3
Great work guys..

This is highly appreciated..
find quote
Dannermax Offline
Junior Member
Posts: 30
Joined: Mar 2009
Reputation: 0
Location: Denmark
Post: #4
incredible work guys..im not a coder myself, so i can only contribute by telling you how cool i thing the work you guys are doing is... Smile
find quote
kazp0r Offline
Junior Member
Posts: 2
Joined: Nov 2008
Reputation: 0
Post: #5
Thanks guys, awesome! Wink
find quote
exxo Offline
Member
Posts: 51
Joined: Jun 2008
Reputation: 0
Post: #6
Thanks for the addons. They're great Smile

Is this repository the same which twinther released in another thread?
If no, then how do you uninstall a repository? I haven't found a way through the XBMC UI and I am not sure where to find the files Confused.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,186
Joined: Nov 2003
Reputation: 82
Post: #7
hit 'i' on the repo in your browser. or open context.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
InKaKiLLeR Offline
Junior Member
Posts: 11
Joined: Mar 2008
Reputation: 0
Post: #8
Hi!

I've created a plugin for the non live part of http://www.dr.dk/nu.

The plugin was made for the fun of it, and to get into xbmc python scripting.

For those who are interested, get it here: http://www.filedropper.com/pluginvideo

Issues...

Some videos are working and some are not, but the non working items does indeed work if downloaded and played offline.

Sorting a-z works on linux, but on win32 the sorting is z-a. I can't find any info on the asc / desc sorting stuff Confused

What's missing...

Newest added videos and videos being spotted for.
The possibility to download a video if it won't stream.
find quote
twinther Offline
Senior Member
Posts: 285
Joined: Sep 2004
Reputation: 7
Location: Denmark
Post: #9
exxo Wrote:Is this repository the same which twinther released in another thread?

No, this is a different repository. Mine wasn't updated so I have deleted it to avoid confusion.
find quote
twinther Offline
Senior Member
Posts: 285
Joined: Sep 2004
Reputation: 7
Location: Denmark
Thumbs Up    Post: #10
InKaKiLLeR Wrote:Hi!

I've created a plugin for the non live part of http://www.dr.dk/nu.

The plugin was made for the fun of it, and to get into xbmc python scripting.

For those who are interested, get it here: http://www.filedropper.com/pluginvideo

Issues...

Some videos are working and some are not, but the non working items does indeed work if downloaded and played offline.

Sorting a-z works on linux, but on win32 the sorting is z-a. I can't find any info on the asc / desc sorting stuff Confused

What's missing...

Newest added videos and videos being spotted for.
The possibility to download a video if it won't stream.

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 Smile

Btw. If others are testing this you need to copy the simplejson folder from the bonanza plugin.
find quote
Post Reply