[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
twinther Offline
Fan
Posts: 304
Joined: Sep 2004
Reputation: 10
Location: Denmark
Thumbs Up   
Post: #16
pewpew1 Wrote:I am trying to understand python and xbmc better, so I download the tv2 plugin and found out when you click to watch a program, you are able to click other programs for a sec or so, before the DialogProgress window apear (if you click alot it will try to show alot of programs (flood)). So I looked in the code to try to fix it - but no luck. First I thought it was a xbmc bug like this one http://forum.xbmc.org/showthread.php?tid...ogProgress (should be fixed tho).
But without the DialogProgress window it still takes time before the stream is shown. I still believe it is a xbmc bug because I can not see any problems in the code, so anyone else having this problem? I have this problem on my linux and win7 box.
Well, maybe - for some reason - a function is called before playVideo (if key and id is set.. maybe), and that gives the delay. I may look at it later...

And I found 2 other things:
- When you use the DialogProgress you should check if someone have clicked cancel (right now you cant cancel even though you are able to click cancel, and it print it is cancelled).
- when click "tour de france 2009", some of the programs are shown more then once (I have only seen this in the "tour" view - but have not used the addon that much).

But keep up the good work - xbmc is great and so is the new addons Smile
(this is written on my android desire, so I hope the text is understandable)

Thanks for the feedback. I had a quick look on the video flood problem, but I don't think it's something I can fix in the python script. I think the delay (about 0.5-1 sec on my laptop) is caused by initializing the python engine, etc.
I added the progress dialog in the last version, to give the impression of something happening, instead of sometimes up to 5-10 seconds on my laptop (due to slow wifi, etc.) with no visual status of anything happening

About the other things you mentioned. I will add a check for the canceled progress dialog. The duplicate videos are actually also available on video.tv2.dk, so I can't do much about that.
find quote
pewpew1 Offline
Junior Member
Posts: 24
Joined: Sep 2010
Reputation: 0
Post: #17
Quote:I added the progress dialog in the last version, to give the impression of something happening
It is sad the delay is before playVideo is called, so the progress dialog only "solves" the slow internet and scrub "problem" :/
Sorry I did not check the source (tv2) if it had the programs shown more the once (sorry for been lazy :/ ).
find quote
twinther Offline
Fan
Posts: 304
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #18
pewpew1 Wrote:It is sad the delay is before playVideo is called, so the progress dialog only "solves" the slow internet and scrub "problem" :/
Sorry I did not check the source (tv2) if it had the programs shown more the once (sorry for been lazy :/ ).

I made a change to how XBMC get's the video URL. This change make the operation blocking and should fix the flood issues.
find quote
ameinild Offline
Senior Member
Posts: 106
Joined: May 2010
Reputation: 0
Post: #19
Suggestion - what about a plugin for http://www.southparkstudios.dk Confused
find quote
exxo Offline
Member
Posts: 51
Joined: Jun 2008
Reputation: 0
Post: #20
ameinild Wrote:Suggestion - what about a plugin for http://www.southparkstudios.dk Confused

If you want to watch South Park episodes, then bluecop has an addon in his repository for this.
http://code.google.com/p/bluecop-xbmc-re...loads/list
Quality is top notch.
find quote
pewpew1 Offline
Junior Member
Posts: 24
Joined: Sep 2010
Reputation: 0
Post: #21
http://www.southparkstudios.dk does not look Danish (besides the .dk in the url) Cool
find quote
InKaKiLLeR Offline
Junior Member
Posts: 11
Joined: Mar 2008
Reputation: 0
Post: #22
Updated plugin to version 1.0.2.
Get it here: http://www.filedropper.com/pluginvideodrnu-102



Changelog:

1.0.2 - DR changed the layout of the videoManifestUrl, so the plugin failed. This is now fixed.
- Cleaned up some code.

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.

1.0.0 - Initial release.
find quote
InKaKiLLeR Offline
Junior Member
Posts: 11
Joined: Mar 2008
Reputation: 0
Post: #23
I've created a new TV Guide plugin. Lots of features are missing but more to come.

Get it here: http://www.filedropper.com/pluginvideodrtvguide-100

Changelog:

1.0.0 - Initial release - alot of features are missing. More to come.
- 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.
find quote
twinther Offline
Fan
Posts: 304
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #24
Great work, InKaKiLLeR

I haven't tested the tvguide yet, but it sounds promising.

Also, please contact Ariba or me, so we can get you added to our github repo.
My email is available in all my plugins.
find quote
komocka Offline
Junior Member
Posts: 3
Joined: Oct 2010
Reputation: 0
Post: #25
Does anyone know what technique DR NU is using?

http://www.dr.dk/NU/

I can find the rtmp adress, but I can't download any streams using rtmpdump, so it has do be a little more complicated?
find quote
twinther Offline
Fan
Posts: 304
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #26
komocka Wrote:Does anyone know what technique DR NU is using?

http://www.dr.dk/NU/

I can find the rtmp adress, but I can't download any streams using rtmpdump, so it has do be a little more complicated?

It's quite simple actually. You just need to specific that it's a live stream:

rtmpdump --live -r rtmp://rtmplive.dr.dk/live/livedr01astream3 -o dr1.flv
find quote
ameinild Offline
Senior Member
Posts: 106
Joined: May 2010
Reputation: 0
Post: #27
Hello. I just tried the Bonanza plugin, and it seems I don't get any episodes for Casper & Mandrilaftalen - anyone else experience this? What can be wrong here? Thanks, Artur
find quote
twinther Offline
Fan
Posts: 304
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #28
InKaKiLLeR Wrote:I've created a new TV Guide plugin. Lots of features are missing but more to come.

I just gave it a test run and it looks promising. I know it's easiest to make this as a video plugin, but perhaps a script is better suited with a custom ui.
Then again, perhaps this will be added natively to xbmc at some point together with the live tv support.

I also tested the updated DR NU Player. It's working great, but I have two suggestions.
1. Sort the clips by date instead of alphabetically. Fx Aftenshowet would look better sorted by date. If you need a hint, you can take a look at my tv2.dk plugin.
2. If you have access to the entire contents in a single json file, perhaps you could add a search function. There is so much content in this plugin, so I think this would be a nice feature.

Also, please get in touch Rolleyes


I also added a new plugin for gametest.dk. It's available in the repo as usual..
find quote
twinther Offline
Fan
Posts: 304
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #29
ameinild Wrote:Hello. I just tried the Bonanza plugin, and it seems I don't get any episodes for Casper & Mandrilaftalen - anyone else experience this? What can be wrong here? Thanks, Artur

Hi. It's working fine here, though there is a problem with & instead of &.
Which OS are you using?

You could also try searching for mandril, see if that works.
find quote
ameinild Offline
Senior Member
Posts: 106
Joined: May 2010
Reputation: 0
Post: #30
I'm using XBMC Live. I can search for Mandril and see the episodes - thanks. But when I browse "Casper og mandrilaftalen" I just get a blank list. I tried this yesterday, and I'm pretty sure I could browse it then...

EDIT: Now it's working again - very strange!
(This post was last modified: 2010-10-15 18:00 by ameinild.)
find quote
Post Reply