Giter VIP home page Giter VIP logo

drnu.bundle's Introduction

dr.dk/nu Plex Plugin

Provides access to the content available from dr.dk/nu.

Most content is freely available, but some of the content might not be viewable outside of Denmark.

Installation

Automatic (Recommended): Look in Plex' Channel Directory for DR NU

Manually (Mac): Download master branch of DR NU as zip. Download master branch of Services.bundle as zip from dkplex (https://github.com/dkplex/Services.bundle) Unzip both Rename DR NU to DRNU.bundle Rename Services to Services.bundle Move both files to a place on your harddrive. Close Plex Media Server Open Terminal (cmd+space "terminal") Delete Plex's DR NU channel (rm ~/Library/Application Support/Plex Media Server/Plug-ins/DRNU.bundle) Delete Plex's Services (rm ~/Library/Application Support/Plex Media Server/Plug-ins/Services.bundle) Make a symbolic link from The unzipped files i Terminal (Syntax ln -s [source] [destination]) Start Plex Media Server Now Plex should see the DRNU plugin.

Manually (Other platforms): TBA

Changes

Based on plugin posted at (http://forums.plexapp.com/index.php/topic/6283-dr-and-tv2-plugins-denmark/page__view__findpost__p__150323) by Plex forum user MTI.

07/03/2011:

  • Added support for Newest, Most Viewed & Spotlight.
  • Started making better usage of summary/subtitles.

14/06/2011:

  • Added support for live TV and radio

15/06/2001:

  • Added Logos for Live TV
  • Added Fanart
  • Bugfix: DR Hit (Obsolete) is now DR R&B

16/06/2011:

  • If available, the information for now / next will be shown in live radio menu.
  • Currently showing Live TV is shown in Live TV Menu
  • Live Radio moved to music plugins
  • Added background art til Live TV and Live Radio

18/06/2011:

  • Solved problem with on-demand clips buffering, and clips looking bad
  • Bugfix. Some data did not supply braodcast channel and broadcast time, which prevented the plugin from playing the file
  • Bugfix. Some videos had no bitrate set and provided only mp4 and wmv source. Now choosing highest bitrate and otherwise first mp4 video found.
  • Bugfix. Videos not available from DK now marked with [DK Only] and if no video source found marked with "Not found"
  • Feature. Quality preferenceg "high, medium, low" which will be used to select videos that have multiple bitrates available.
  • Feature. Group per first letter preference. If enabled the program serie menu will be grouped by single letters - most useful when not having a keyboard attached.

drnu.bundle's People

Contributors

eldor avatar huxdk avatar maxandersen avatar sander1 avatar sullman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

baekdahl huxdk

drnu.bundle's Issues

Exception in bundles_with_public_asset

Hej,

Jeg får en fejl når jeg bruger pluginnet... Jeg kan ikke se listerne med programmer.

Når jeg forsøger at hente f.eks. listen med programmer a-z får jeg følgende exception:

2013-05-16 13:05:09,332 (1228) : INFO (core:336) - Starting framework core - Version: 2.3.7, Build: de45ef3 (Tue May 7 17:27:01 UTC 2013)
2013-05-16 13:05:09,332 (1228) : DEBUG (core:348) - Using the standard policy
2013-05-16 13:05:09,332 (1228) : DEBUG (core:437) - Starting runtime component.
2013-05-16 13:05:09,336 (1228) : DEBUG (core:437) - Starting caching component.
2013-05-16 13:05:09,338 (1228) : DEBUG (core:437) - Starting data component.
2013-05-16 13:05:09,338 (1228) : DEBUG (core:437) - Starting networking component.
2013-05-16 13:05:09,367 (1228) : DEBUG (networking:318) - Loaded HTTP cookies
2013-05-16 13:05:09,456 (1228) : DEBUG (networking:504) - Setting the default network timeout to 20.0
2013-05-16 13:05:09,457 (1228) : DEBUG (core:437) - Starting localization component.
2013-05-16 13:05:09,457 (1228) : INFO (localization:408) - Setting the default locale to en-us
2013-05-16 13:05:09,558 (1228) : DEBUG (localization:426) - Loaded en strings
2013-05-16 13:05:09,559 (1228) : DEBUG (core:437) - Starting messaging component.
2013-05-16 13:05:09,559 (1618) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.plugins.drnu'
2013-05-16 13:05:09,561 (1228) : DEBUG (core:437) - Starting debugging component.
2013-05-16 13:05:09,562 (1228) : DEBUG (core:437) - Starting services component.
2013-05-16 13:05:09,562 (1228) : DEBUG (core:437) - Starting myplex component.
2013-05-16 13:05:09,562 (1228) : DEBUG (core:437) - Starting notifications component.
2013-05-16 13:05:09,755 (1228) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.plugins.drnu in namespace 'metadata'
2013-05-16 13:05:09,760 (1228) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2013-05-16 13:05:09,865 (1298) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2013-05-16 13:05:09,865 (1228) : DEBUG (runtime:1104) - Created a thread named 'load_all_services'
2013-05-16 13:05:09,868 (1298) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2013-05-16 13:05:09,875 (1228) : DEBUG (runtime:1104) - Created a thread named 'get_server_info'
2013-05-16 13:05:09,875 (1228) : DEBUG (core:149) - Finished starting framework core
2013-05-16 13:05:09,875 (1228) : DEBUG (core:547) - Loading plug-in code
2013-05-16 13:05:09,924 (14e0) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2013-05-16 13:05:09,933 (14e0) : DEBUG (core:525) - Machine identifier is a9ae3f37769ae4e7e2a1e93f93abf02e78696a94
2013-05-16 13:05:09,933 (14e0) : DEBUG (core:526) - Server version is 0.9.7.22-4b5280f
2013-05-16 13:05:10,371 (1228) : DEBUG (core:553) - Finished loading plug-in code
2013-05-16 13:05:10,371 (1228) : DEBUG (runtime:637) - Adding a prefix handler for 'DR NU' ('/video/drnu')
2013-05-16 13:05:10,434 (1228) : DEBUG (runtime:637) - Adding a prefix handler for 'DR NU' ('/music/drnu')
2013-05-16 13:05:10,440 (1228) : INFO (core:598) - Started plug-in
2013-05-16 13:05:10,440 (1228) : DEBUG (socketinterface:144) - Starting socket server
2013-05-16 13:05:10,444 (1228) : DEBUG (runtime:1104) - Created a thread named 'start'
2013-05-16 13:05:10,444 (1228) : INFO (socketinterface:168) - Socket server started on port 52790
2013-05-16 13:05:10,444 (1228) : INFO (pipeinterface:25) - Entering run loop
2013-05-16 13:05:10,446 (1228) : DEBUG (runtime:714) - Handling request GET /:/prefixes
2013-05-16 13:05:10,447 (1228) : DEBUG (runtime:811) - Found route matching /:/prefixes
2013-05-16 13:05:10,450 (1228) : DEBUG (runtime:911) - Response: [200] MediaContainer, 684 bytes
2013-05-16 13:05:10,625 (1298) : DEBUG (services:362) - Loaded services
2013-05-16 13:05:10,799 (1458) : DEBUG (services:438) - No shared code to load
2013-05-16 13:05:11,223 (14fc) : DEBUG (runtime:714) - Handling request GET /:/plugins/com.plexapp.plugins.drnu/resources/icon-default.png?t=1368645701
2013-05-16 13:05:11,250 (14fc) : DEBUG (runtime:811) - Found route matching /:/plugins/com.plexapp.plugins.drnu/resources/icon-default.png
2013-05-16 13:05:21,625 (14fc) : DEBUG (runtime:911) - Response: [200] DataObject, 23947 bytes
2013-05-16 13:05:21,645 (16e0) : DEBUG (runtime:714) - Handling request GET /:/plugins/com.plexapp.plugins.drnu/resources/art-default.jpg?t=1368645702
2013-05-16 13:05:21,647 (16e0) : DEBUG (runtime:811) - Found route matching /:/plugins/com.plexapp.plugins.drnu/resources/art-default.jpg
2013-05-16 13:05:21,701 (16e0) : DEBUG (runtime:911) - Response: [200] DataObject, 157207 bytes
2013-05-16 13:05:21,729 (17d8) : DEBUG (runtime:714) - Handling request GET /:/plugins/com.plexapp.plugins.drnu/resources/icon-default.png?t=1368668832
2013-05-16 13:05:21,730 (17d8) : DEBUG (runtime:811) - Found route matching /:/plugins/com.plexapp.plugins.drnu/resources/icon-default.png
2013-05-16 13:05:21,732 (17d8) : DEBUG (runtime:911) - Response: [200] DataObject, 23947 bytes
2013-05-16 13:05:21,740 (1758) : DEBUG (runtime:714) - Handling request GET /:/plugins/com.plexapp.plugins.drnu/resources/art-default.jpg?t=1368668833
2013-05-16 13:05:21,742 (1758) : DEBUG (runtime:811) - Found route matching /:/plugins/com.plexapp.plugins.drnu/resources/art-default.jpg
2013-05-16 13:05:21,743 (1758) : DEBUG (runtime:911) - Response: [200] DataObject, 157207 bytes
2013-05-16 13:06:08,075 (174c) : DEBUG (runtime:714) - Handling request GET /:/plugins/com.plexapp.plugins.drnu/resources/icon-default.png?t=1368668832
2013-05-16 13:06:08,076 (174c) : DEBUG (runtime:811) - Found route matching /:/plugins/com.plexapp.plugins.drnu/resources/icon-default.png
2013-05-16 13:06:08,078 (174c) : DEBUG (runtime:911) - Response: [200] DataObject, 23947 bytes
2013-05-16 13:06:08,099 (448) : DEBUG (runtime:714) - Handling request GET /:/plugins/com.plexapp.plugins.drnu/resources/icon-default.png?t=1368668832
2013-05-16 13:06:08,102 (448) : DEBUG (runtime:811) - Found route matching /:/plugins/com.plexapp.plugins.drnu/resources/icon-default.png
2013-05-16 13:06:08,104 (448) : DEBUG (runtime:911) - Response: [200] DataObject, 23947 bytes
2013-05-16 13:06:12,506 (1740) : DEBUG (runtime:714) - Handling request GET /video/drnu
2013-05-16 13:06:12,516 (1740) : DEBUG (runtime:811) - Found route matching /video/drnu
2013-05-16 13:06:12,516 (1740) : DEBUG (context:198) - Checking for Real RTMP support... Enabled:True Platform:Windows Product:None Client:0.9.5.4 Server:0.9.7.22-4b5280f
2013-05-16 13:06:12,546 (1740) : DEBUG (localization:426) - Loaded da strings
2013-05-16 13:06:12,549 (1740) : DEBUG (networking:172) - Requesting 'http://www.dr.dk/mu/Configuration'
2013-05-16 13:06:12,668 (1740) : WARNING (runtime:1052) - Generating a callback path for a function with no route: <function Bundle at 0x04DCF530>
2013-05-16 13:06:12,671 (1740) : WARNING (runtime:1052) - Generating a callback path for a function with no route: <function Bundle at 0x04DCF530>
2013-05-16 13:06:12,671 (1740) : DEBUG (base:123) - Checking if com.plexapp.plugins.drnu is broken
2013-05-16 13:06:12,697 (1740) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjQKY29tLnBsZXhhcHAucGx1Z2lucy5kcm51czEwCmlkZW50aWZpZXJyMAo_'
2013-05-16 13:06:12,711 (1740) : DEBUG (runtime:911) - Response: [200] MediaContainer, 1944 bytes
2013-05-16 13:06:15,671 (1788) : DEBUG (runtime:714) - Handling request GET /video/drnu/programmenu
2013-05-16 13:06:15,674 (1788) : DEBUG (runtime:811) - Found route matching /video/drnu/programmenu
2013-05-16 13:06:15,674 (1788) : WARNING (runtime:1052) - Generating a callback path for a function with no route: <function bundles_with_public_asset at 0x04DCF670>
2013-05-16 13:06:15,678 (1788) : WARNING (runtime:1052) - Generating a callback path for a function with no route: <function bundles_with_public_asset at 0x04DCF670>
2013-05-16 13:06:15,680 (1788) : DEBUG (runtime:911) - Response: [200] MediaContainer, 2276 bytes
2013-05-16 13:06:16,667 (1418) : DEBUG (runtime:714) - Handling request GET /video/drnu/:/function/bundles_with_public_asset?function_args=Y2VyZWFsMQoxCmRpY3QKNgpzNAp0cnVlczkKRHJDaGFubmVsczE1CiRvcmRlcmJ5KCdhc2MnKXM1ClRpdGxldTEwClByb2dyYW1tZXJzNQp0aXRsZXM2CiRlcSgwKXM1CmxpbWl0czQKJ1RWJ3MxMQpDaGFubmVsVHlwZXM5CmZpcnN0Q2hhcnM3Cmdyb3VwYnlyMAo_
2013-05-16 13:06:16,668 (1418) : DEBUG (runtime:811) - Found route matching /video/drnu/:/function/bundles_with_public_asset
2013-05-16 13:06:16,668 (1418) : DEBUG (runtime:143) - Calling function 'bundles_with_public_asset'
2013-05-16 13:06:16,671 (1418) : DEBUG (networking:172) - Requesting 'http://www.dr.dk/mu/View/bundles-with-public-asset?ChannelType='TV'&limit=$eq(0)&DrChannel=true&Title=$orderby('asc')'
2013-05-16 13:06:36,730 (1418) : CRITICAL (core:561) - Exception when calling function 'bundles_with_public_asset' (most recent call last):
File "C:\Users\asgerhallas\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call_named_function
result = f(args, *kwargs)
File "C:\Users\asgerhallas\AppData\Local\Plex Media Server\Plug-ins\DR NU.bundle\Contents\Code__init
.py", line 542, in bundles_with_public_asset
programcards= JSON.ObjectFromURL(url)
File "C:\Users\asgerhallas\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 145, in ObjectFromURL
method=method,
File "C:\Users\asgerhallas\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request
req = self._core.networking.http_request(url, _args, *_kwargs)
File "C:\Users\asgerhallas\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 422, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File "C:\Users\asgerhallas\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 147, in init
self.load()
File "C:\Users\asgerhallas\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 183, in load
f = self._opener.open(req, timeout=self._timeout)
File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib2.py", line 391, in open
response = self._open(req, data)
File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib2.py", line 409, in _open
'_open', req)
File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib2.py", line 369, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib2.py", line 1161, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib2.py", line 1136, in do_open
raise URLError(err)
URLError:

2013-05-16 13:06:36,730 (1418) : DEBUG (runtime:911) - Response: [404] NoneType, 0 bytes

Er det noget du har set før?

Bandwidth limitation

Needs some sort of easy to set the bandwidth for a lower speed.
Remember to return either the lowest bandwidth clip or a pop-up warning about no content being available

clip prompts more than one clip with the title "Unknown"

This is due to the fact that the option "Allow picking of alternate media" has been enabled.
This is a mac only option that allows for Plex to select the best suitable quality and/or format to be shown.
This can be disabled in "Preferences" -> "Video" -> "Allow picking of alternate media"
DR NU does automatically add all media options to a single clip.
To throttle the clip (view a lower bandwidth that plex suggests) select "Preferences"/"Indstillinger" and lower the max bandwidth. (Low = max 500/250 Kbs (on-demand/live), medium :1000/500 Kbs (on-demand/ live), high no-limit/1000 kbs (on-demand/live)

URL Services

Implementation of URL services needs implementation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.