Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Canal Digitaal (NL) #50

Merged
merged 1 commit into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ the same time.

## Supported providers

| Provider | Country | Add-on |
|----------------------------------------------------|------------------------------|-------------------------------------------------------------------------|
| [TV Vlaanderen](https://livetv.tv-vlaanderen.be/) | Belgium (Flanders) | [plugin.video.tvvlaanderen](brands/plugin.video.tvvlaanderen/README.md) |
| [HD Austria](https://livetv.hdaustria.at/) | Austria | [plugin.video.hdaustria](brands/plugin.video.hdaustria/README.md) |
| [Focus Sat](https://livetv.focussat.ro/) | Romania | [plugin.video.focussat](brands/plugin.video.focussat/README.md) |
| Provider | Country | Add-on |
|----------------------------------------------------|------------------------------|---------------------------------------------------------------------------------|
| [TV Vlaanderen](https://livetv.tv-vlaanderen.be/) | Belgium (Flanders) | [plugin.video.tvvlaanderen](brands/plugin.video.tvvlaanderen/README.md) |
| [HD Austria](https://livetv.hdaustria.at/) | Austria | [plugin.video.hdaustria](brands/plugin.video.hdaustria/README.md) |
| [Focus Sat](https://livetv.focussat.ro/) | Romania | [plugin.video.focussat](brands/plugin.video.focussat/README.md) |
| [Canal Digitaal](https://livetv.canaldigitaal.nl/) | The Netherlands | [plugin.video.canaldigitaal.nl](brands/plugin.video.canaldigitaal.nl/README.md) |

### Unsupported providers

Expand All @@ -26,7 +27,6 @@ list.

| Provider | Country |
|----------------------------------------------------|-------------------------------|
| [Canal Digitaal](https://livetv.canaldigitaal.nl/) | The Netherlands |
| [DirectOne](https://livetv.directone.hu/) | Hungary |
| [NextGenTel](https://nextgentel.tv/) | Norway |
| [Skylink.cz](https://livetv.skylink.cz/) | Czechia |
Expand Down
25 changes: 25 additions & 0 deletions brands/plugin.video.canaldigitaal.nl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Canal Digitaal Kodi Add-on

*plugin.video.canaldigitaal.nl* is een Kodi add-on om Live TV, Restart en Replay te bekijken met je Canal Digitaal
abonnement.

> Note: Je hebt hiervoor een betaald abonnement nodig bij [Canal Digitaal](https://www.canaldigitaal.nl/).

## Installatie

De laatste versie kan gedownload worden bij de [releases](https://github.com/add-ons/plugin.video.tvvlaanderen/releases)
van deze repository.

## Features

De volgende features worden ondersteund:

* Live TV
* Restart TV, bekijk het huidige programma vanaf het begin (niet voor alle zenders)
* Replay TV, bekijk een programma tot 7 dagen terug (niet voor alle zenders)
* Doorzoeken van alle programma's
* Integratie met [IPTV Manager](https://github.com/add-ons/service.iptv.manager)

## Disclaimer

Deze add-on wordt niet ondersteund door de M7 Group, en wordt aangeboden 'as is', zonder enige garantie.
33 changes: 33 additions & 0 deletions brands/plugin.video.canaldigitaal.nl/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.canaldigitaal.nl" name="Canal Digitaal" version="1.0.4" provider-name="Michaël Arnauts">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.dateutil" version="2.6.0"/>
<import addon="script.module.inputstreamhelper" version="0.5.1"/>
<import addon="script.module.pysocks" version="1.6.8" optional="true"/>
<import addon="script.module.requests" version="2.22.0"/>
<import addon="script.module.routing" version="0.2.0"/>
<import addon="script.module.pyjwt" version="1.6.4"/>
<import addon="inputstream.adaptive" version="2.4.3"/>
</requires>
<extension point="xbmc.python.pluginsource" library="addon_entry.py">
<provides>video</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary lang="nl_NL">Bekijk Live en on-demand TV via je Canal Digitaal abonnement.</summary>
<description lang="nl_NL">Deze add-on geeft toegang tot de live TV kanalen en de video-on-demand content dat beschikbaar is via je Canal Digitaal abonnement.</description>
<disclaimer lang="nl_NL">Deze add-on wordt niet ondersteund door Canal Digitaal, en wordt aangeboden 'as is', zonder enige garantie. Canal Digitaal is een merk van Canal+ Luxembourg S. à r.l.</disclaimer>
<summary lang="en_GB">Watch Live TV and on-demand TV with your Canal Digitaal subscription.</summary>
<description lang="en_GB">This add-on gives access to the live tv channels and the video-on-demand content available in your Canal Digitaal subscription.</description>
<disclaimer lang="en_GB">This add-on is not officially commissioned/supported by Canal Digitaal and is provided 'as is' without any warranty of any kind. Canal Digitaal is a brand of Canal+ Luxembourg S. à r.l.</disclaimer>
<platform>all</platform>
<license>GPL-3.0-only</license>
<news></news>
<source>https://github.com/add-ons/plugin.video.tvvlaanderen</source>
<assets>
<icon>resources/icon.png</icon>
<fanart>resources/fanart.jpg</fanart>
</assets>
<reuselanguageinvoker>true</reuselanguageinvoker>
</extension>
</addon>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
""" Solocoo API Config """
from __future__ import absolute_import, division, unicode_literals

TENANTS = dict([
('cds', dict(
name='Canal Digitaal',
domain='livetv.canaldigitaal.nl',
env='m7be2iphone',
app='cds',
)),
])
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions brands/plugin.video.canaldigitaal.nl/resources/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<setting id="metadata_last_updated" visible="false"/>
<category label="30800"> <!-- Credentials -->
<setting label="30801" type="lsep"/> <!-- Credentials -->
<setting label="30802" type="text" id="username"/>
<setting label="30803" type="text" id="password" option="hidden"/>
<setting type="text" id="tenant" default="cds" visible="false"/>
</category>
<category label="30820"> <!-- Interface -->
<setting label="30821" type="lsep"/> <!-- Channels -->
<setting label="30822" type="select" id="interface_adult" default="0" lvalues="30823|30824|30825"/>
</category>
<category label="30840"> <!-- Integrations -->
<setting label="30841" type="lsep"/> <!-- IPTV Manager -->
<setting label="30842" type="action" action="InstallAddon(service.iptv.manager)" option="close" visible="!System.HasAddon(service.iptv.manager)"/> <!-- Install IPTV Manager add-on -->
<setting label="30843" type="bool" id="iptv.enabled" default="true" visible="String.StartsWith(System.BuildVersion,18) + System.HasAddon(service.iptv.manager) | System.AddonIsEnabled(service.iptv.manager)" />
<setting label="30844" type="action" action="Addon.OpenSettings(service.iptv.manager)" enable="eq(-1,true)" option="close" visible="String.StartsWith(System.BuildVersion,18) + System.HasAddon(service.iptv.manager) | System.AddonIsEnabled(service.iptv.manager)" subsetting="true"/> <!-- IPTV Manager settings -->
<setting id="iptv.channels_uri" default="plugin://plugin.video.canaldigitaal.nl/iptv/channels" visible="false"/>
<setting id="iptv.epg_uri" default="plugin://plugin.video.canaldigitaal.nl/iptv/epg" visible="false"/>
</category>
<category label="30880"> <!-- Expert -->
<setting label="30881" type="lsep"/> <!-- Logging -->
<setting label="30882" type="bool" id="debug_logging" default="false"/>
<setting label="30883" type="action" action="InstallAddon(script.kodi.loguploader)" option="close" visible="!System.HasAddon(script.kodi.loguploader)"/> <!-- Install Kodi Logfile Uploader -->
<setting label="30884" type="action" action="RunAddon(script.kodi.loguploader)" visible="String.StartsWith(System.BuildVersion,18) + System.HasAddon(script.kodi.loguploader) | System.AddonIsEnabled(script.kodi.loguploader)" /> <!-- Open Kodi Logfile Uploader -->
</category>
</settings>