DR and TV2 plugins (Denmark)

Det lader til at “Seneste Uge” er gået død i DR plugin :frowning:

Kunne det evt være muligt at få dig til at se på viasatondemand.dk også ?



Det ville være lidt sejt med både DR/Sputnik/VDO i Plex :smiley:

Hi guys,



Try out this plug-in.



It is only for DR NU, the new DR Video On Demand service, which serves content in MP4(h.264 and AAC) format.



It is very basic, but it works fine for me. Let me know if anyone find good use of the plug-in - then maybe I’ll work on it some more. Also, feel free to contribute.




Thanks, but it does the same thing and less than the org plugin :/

But I can live with not using the latest week option.. :D


nice plugin btw

Yeah, I know. But the main advantage is that it does not use Flash or Silverlight. Not using plug-ins such as these makes it a lot more crash proof. Also, it allows for hardware video decode and for direct iOS compatibility :) Let's hope that DR will introduce a similar API for Bonanza :)



MTI - Det virker kanont! :)

Happy to finally see DR.dk again without having to use the webbrowser!

Any chance you could put this code on github.com or similar and I'll try help fix it as much as my time permits.

Any specific things I can help with ?

/max


MTI - I took the liberty to add newest, spotlight and most watched plus some minor fixes to your plugin.

I've pushed it to https://github.com/maxandersen/DRNU.bundle

Hope that is ok by you ?

/max

The DR beta streams won’t play. Nothing happens - this is both with the low and high streams. If I cancel, Plex stops responding.



Max, thanks a lot for your efforts! It's great to have someone with more coding power than me taking part - maybe you'll want to maintain this little project [at GitHub]?

Anyway, I suddenly wasn't able to play any video, which is strange since it worked fine, when I uploaded the plugin, and you haven't changed the playback code).
I added

HTTP.Headers['User-agent'] = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/534.16+ (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4'


globally and now it works like a charm. I'm not sure, I know why - maybe due to some HTML5/video tag thing...

Scratch that. It still doesn’t work - I don’t know why…



This clip (and all other clips, I’ve tried)



http://vodfiles.dr.dk/CMS/Resources/dr.dk/NETTV/DR1/2011/02/ffdffb1c-12e5-4d27-b408-24be364529ab/de86380d22dc4fe4a4041b972da4cdc1_1000.mp4?ID=878059



plays nicely in Safari, but fails in Plex with a "ERROR, could not determine input format" message.

DRNU.bundle.zip (31.8 KB)



well it was buffering forever, but then apparently just stopped. No Error though!


Just tried another...
"Oreflip: 24. jan. 2011"
works no problem! and a lot faster.

Thanks a lot for testing! :)

It is very strange - it doesn't work for me. Not the "Oreflip" clip, not other clips.

In the log (Plex.log) it says the "ERROR: Open - error probing input format" - very strange. Wonder if it possible to force Plex to treat the stream as MP4 AAC/H.264?


Hey MTI,
I noticed something off in your code.
I believe you need to correct your "prefix handler"
I think it was:

VIDEO_PREFIX = "/video/Player"


I think this should be specific to your plugin, for example:

VIDEO_PREFIX = "/video/DRNU"



hope this helps!


Well I don't have too much time, but if someone sends me pullrequest i'll happily integrate them; but remember the beauty of git(hub) is that anyone can fork it and maintain it if I get lazy ;)



I've had several problems replaying ...seems to be only certain streams...havent figured out why yet.


hmm - i see "/video/drnu" shouldnt that be enough ?

Me neither :(

Hej MTI



Det er fantastisk! Og det virker. Super mange tak!

Virker ikke for mig, hvis jeg f.eks. vil se Debatten, så er listen over afsnit tom.



Hvad med jer andre?

@ Martin:

Det virker fint for mig, prøv evt. at hente den nye fra github.