Kodi Community Forum

Full Version: discovery+ add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
discovery+ add-on for Kodi
This add-on allows you to play content from discovery+.

Disclaimer
This add-on is unofficial and it is not supported by Discovery Networks, so it can break at anytime.

Tested countries
  • Denmark
  • Finland
  • India
  • Italy
  • Netherlands
  • Norway
  • Spain
  • Sweden
  • United Kingdom
  • United States
  • Canada

Features
  • Supports: Up NextIPTV Manager and PseudoTV Live (Kodi 19)
  • Playback progress is same in discovery+ site and on Kodi add-on (you can start video on site and continue it on Kodi or other way round)
  • Live TV channels
  • Videos
  • Favorites/My List
  • Profiles

How do I login?
There are three ways to login.
  1. If cookies aren't set add-on will show you PIN code which you then type to https://discoveryplus.com/link (USA and EU only)
  2. Export cookies from Chrome. Go to discovery+ website and login. After that use Get cookies.txt to export cookies and from add-on settings specify location of cookies.txt.
  3. Find cookie named st from your browser. Example in Chrome you can use this link chrome://settings/siteData?searchSubpage=prod-direct.discoveryplus and add value of st cookie to add-on settings.
Bugs
Please report bugs or other issues on Github: https://github.com/Dis90/plugin.video.di...lus/issues
Include debug log in bug report (http://kodi.wiki/view/Log_file/Advanced). Before uploading debug log remove your personal details (email, password) from log.

Links
Download (click Source code (zip)): https://github.com/Dis90/plugin.video.di...s/releases
Bug reports: https://github.com/Dis90/plugin.video.di...lus/issues

Repositories
Kodi 18 (Leia): https://github.com/Dis90/repository.dis9...-1.0.1.zip
Kodi 19 & 20 (Matrix & Nexus): https://github.com/Dis90/repository.dis9...-1.0.1.zip
Hi. First of all thanks. This is a long awaited addon for me.
In my case I had to manually install script.module.pycaption before the plugin would install.
After that it worked fine, and the videos play, but sometimes it starts with a black screen and only sound, but that is fixed by stopping and starting again.
I use the swedish version of DPlay Premium.

If I would add something to the plugin it would be sorting by episode-numbers or at least sorting by date.
Hi, thanks for the feedback.
About sorting it should already be by episode number. For some series for example Gold Rush they use numbering S09E101, S09E102 and so on for special episodes. So those will always be last videos on list.
Hi. Thank you for answering so quickly.

You are right, the episodes are in the right order, but they are not numbered in the list. I get "Episodename [DPlay+]  Playtime", and the airdate shows in the bottom right. The episodenumber shows in the info-window though. I updated the plugin to the latest version(0.1.2).

For some reason certain episodes won't start at all. For example The big bang theory S11E05. But it plays fine on dplays site.
(2019-02-18, 12:14)patrik.ekstrom Wrote: [ -> ]You are right, the episodes are in the right order, but they are not numbered in the list. I get "Episodename [DPlay+]  Playtime", and the airdate shows in the bottom right. The episodenumber shows in the info-window though. I updated the plugin to the latest version(0.1.2).
I don't like idea to add episode numbers to episode names. You can get those to be displayed by using different skin.
(2019-02-18, 12:14)patrik.ekstrom Wrote: [ -> ]For some reason certain episodes won't start at all. For example The big bang theory S11E05. But it plays fine on dplays site.
Works fine for me. Can you post debug log? Log can include your username and password, so please clean those from log before posting it.
I just pushed new version to Github.

This new version of Dplay addon now gets and reports video watched status to Dplay. Because of this change all previously only in Kodi addon watched videos are now shown as not played.
And because of how Kodi works context menu items "mark as watched" and "mark as unwatched" doesn't report playback progress to Dplay. So if you want some video to shown as watched you have to fast forward it end of the video.
Hi -Dis!

I just discovered your addon and are going to give it a try in the next couple of days. In the meantime, I've some advices which could increase the popularity of the addon: I'm thinking about contributing to Nordic addons in the future when I've some spare time from school, so just let us know in the forum if you need any help with bug tracking, testing etc!
Thanks for feedback. I quickly upgraded first post to give little bit more information about this addon, if you have suggestions how to make it better, please let me know.

At this point I'm not ready to submit addon to Official repo. Code needs lot of cleaning and other improvements.

I didn't test Up Next support and playback progress reporting to Dplay much so all feedback is welcome. Especially of these features:
- Does Up Next suggest next episode?
- Does next video start after choosing it?
- Is playback status (unwatched, watched and partly watched) same in Kodi and Dplay site, and does addon update it correctly (previously there was problem that addon reported wrong episodes as watched)?
Dplay stopped working last night for me. Attaching log.
https://paste.kodi.tv/ravuqumebe.kodi

Thanks
For some reason it started working again, so nevermind.
(2019-02-17, 16:55)patrik.ekstrom Wrote: [ -> ]Hi. First of all thanks. This is a long awaited addon for me.
In my case I had to manually install script.module.pycaption before the plugin would install.
After that it worked fine, and the videos play, but sometimes it starts with a black screen and only sound, but that is fixed by stopping and starting again.
I use the swedish version of DPlay Premium.

If I would add something to the plugin it would be sorting by episode-numbers or at least sorting by date.

where did you find script.module.pycaption that worked, tried a bunch of them with no success.
(2019-04-10, 21:11)Zacco Wrote: [ -> ]
(2019-02-17, 16:55)patrik.ekstrom Wrote: [ -> ]Hi. First of all thanks. This is a long awaited addon for me.
In my case I had to manually install script.module.pycaption before the plugin would install.
After that it worked fine, and the videos play, but sometimes it starts with a black screen and only sound, but that is fixed by stopping and starting again.
I use the swedish version of DPlay Premium.

If I would add something to the plugin it would be sorting by episode-numbers or at least sorting by date.

where did you find script.module.pycaption that worked, tried a bunch of them with no success. 

This one should work https://github.com/aussieaddons/script.module.pycaption

Addon is only tested with pycaption version 0.5.6 so that is why Dplay addon requires that specific version.
Can't get it to work. It gets a JSON exception.
Log file: https://paste.kodi.tv/aromebuces.kodi
Try to change line 22 in addon.py from:
python:
if collection['type'] == 'collection' and collection['attributes'].get('title'):
to:
python:
if collection['type'] == 'collection' and collection['attributes'].get('title') and collection.get('relationships'):

Tell me if that works so I can make update to Github.
(2019-04-26, 21:15)-Dis Wrote: [ -> ]Try to change line 22 in addon.py from:
python:
if collection['type'] == 'collection' and collection['attributes'].get('title'):
to:
python:
if collection['type'] == 'collection' and collection['attributes'].get('title') and collection.get('relationships'):

Tell me if that works so I can make update to Github.

It works and I get the menu. However a new exception occurs when i select something.
Log file: https://paste.kodi.tv/ucinezajom.kodi
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41