Skip to content

Commit

Permalink
[plugin.video.orange.fr] 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
f-lawe committed Oct 12, 2024
1 parent d913b5b commit 7e45163
Show file tree
Hide file tree
Showing 35 changed files with 1,691 additions and 0 deletions.
164 changes: 164 additions & 0 deletions plugin.video.orange.fr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
# 2.x

## [2.3.1](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.3.1) - 2024-10-12

### Changed
- Routing and provider interface now allow various depths in catchup menus ([#67](https://github.com/f-lawe/plugin.video.orange.fr/issues/67))

## [2.3.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.3.0) - 2024-10-11

### Changed
- Update to InputstreamAdaptive for Kodi 21 ([#63](https://github.com/f-lawe/plugin.video.orange.fr/issues/63))
- Avoid reauthentication when stored session data is not expired ([#64](https://github.com/f-lawe/plugin.video.orange.fr/issues/64))
- Better error management ([#65](https://github.com/f-lawe/plugin.video.orange.fr/issues/65))

## [2.2.1](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.2.1) - 2024-10-07

### Changed
- HTTP requests are now handled with [requests](https://pypi.org/project/requests/) ([#61](https://github.com/f-lawe/plugin.video.orange.fr/issues/61))

## [2.2.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.2.0) - 2024-10-03

### Added
- Support remote authentication to Orange live and catchup streams ([#22](https://github.com/f-lawe/plugin.video.orange.fr/issues/22))

## [2.1.4](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.1.4) - 2024-08-08

### Changed
- Better UI items management

### Fixed
- InputStream Helper is now called properly ([#50](https://github.com/f-lawe/plugin.video.orange.fr/issues/50))
- Avoid plugin to be run twice on catchup TV videos ([#55](https://github.com/f-lawe/plugin.video.orange.fr/issues/55))

## [2.1.3](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.1.3) - 2024-07-21

### Fixed
- IPTV Manager should now detects Orange TV France from clean install

## [2.1.2](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.1.2) - 2024-07-05

### Changed
- Better timeshift management

## [2.1.1](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.1.1) - 2024-06-23

### Changed
- Use [ABC](https://docs.python.org/3/library/abc.html) for class inheritance
- Move Orange util functions to decicated abstract Orange provider
- Better authenticated request management
- Move caching logic to utils

## [2.1.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.1.0) - 2024-06-21

### Added
- Catchup TV

## [2.0.1](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.0.1) - 2024-06-20

### Changed
- Use Kodi Addon checker from pip package instead of GitHub Actions

## [2.0.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.0.0) - 2024-06-20

### Added
- Ready to publish on Kodi main repository!

## [2.0.0+beta.3](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.0.0+beta.3) - 2024-06-20

### Added
- Proxy settings (not active yet)

## [2.0.0+beta.2](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.0.0+beta.2) - 2024-06-19

### Fixed
- Load channels event if not found in EPG
- Prevent crash on unavailable paid channels

## [2.0.0+beta.1](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v2.0.0+beta.1) - 2024-06-13

### Changed
- Remove provider templates and move methods to utils
- Rename ProviderWrapper to CacheProvider
- Use Ruff for code formatting

### Removed
- Remove service entry point
- Removed basic Kodi integration

### Fixed
- Load data from Orange using new TV token

# 1.x

## [1.5.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.5.0) - 2021-11-22

### Added
- Support for Orange Caraïbe

## [1.4.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.4.0) - 2021-11-21

### Added
- Cache management over get_streams() to prevent Kodi from removing all channels using IPTV Manager

### Fixed
- Provider load from settings

## [1.3.1](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.3.1) - 2021-11-21

### Fixed
- Channel update when no logo available [#14](https://github.com/f-lawe/plugin.video.orange.fr/issues/14)

## [1.3.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.3.0) - 2021-09-11

### Added
- Provider templates now allow to easily support similar backends
- Support for Orange Réunion

## [1.2.2](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.2.2) - 2021-03-23

### Fixed
- Channel groups for basic integration
- Settings translations

## [1.2.1](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.2.1) - 2021-03-14

### Added
- French translations for settings and dialogs

### Changed
- EPG now loaded following TV Guide past and future days settings

### Fixed
- Audio doesn't drop anymore when timeshifting ([issue #612](https://github.com/xbmc/inputstream.adaptive/issues/612))

### Removed
- Remove basic interval setting (now use TV Guide update value)

## [1.2.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.2.0) - 2021-03-12

### Added
- Provider interface to allow multi ISP support
- Support for Orange TV groups

### Changed
- Migrate current Orange integration to the new provider interface
- Update generators to write data from JSON-STREAMS and JSON-EPG formats
- Data files now written into user data folder

## [1.1.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.1.0) - 2021-03-04

### Added
- API calls to Orange now use a randomised user agent string

### Changed
- IPTV Manager integration refactoring
- Multi-days program load logic now embedded directly into Orange API client
- Log helper signature

### Fixed
- Programs responses reduced by half to avoid IncompleteRead error

## [1.0.0](https://github.com/f-lawe/plugin.video.orange.fr/releases/tag/v1.0.0) - 2021-03-01

- Initial release
21 changes: 21 additions & 0 deletions plugin.video.orange.fr/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) François Lavaud-Wernert.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
42 changes: 42 additions & 0 deletions plugin.video.orange.fr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Orange TV France for Kodi
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/f-lawe/plugin.video.orange.fr)](https://github.com/f-lawe/plugin.video.orange.fr/releases)
[![Kodi version](https://img.shields.io/badge/kodi%20version-v21-blue)](https://kodi.tv/)
[![GitHub](https://img.shields.io/github/license/f-lawe/plugin.video.orange.fr)](https://github.com/f-lawe/plugin.video.orange.fr/blob/master/LICENSE)

____ _[Lisez-moi](doc/README.fr.md) en français_

_This addon is not officially commissioned/supported by Orange. All product names, logos, and trademarks mentionned in this project are property of their respective owners._

## Description
This addon brings Orange TV to Kodi. All channels included in your registration are now directly available from Kodi!

This addon features:
- Watching TV with Kodi TV (using [IPTV Simple PVR](https://github.com/kodi-pvr/pvr.iptvsimple))
- Watching catchup TV content
- Access to paid channels included into your subscription (for both live and catchup TV)

## Installation
Orange TV France is available directly from Kodi's main repository. Integration is handled via [IPTV Manager](https://github.com/add-ons/service.iptv.manager). You can install and activate it from the addon settings. Once set up on your system, channels and TV guide are loaded automatically.

You should now be able to view all the channels grouped by category in the TV section. If not already installed, Kodi will ask you to install the decrypting tool when accessing a channel for the first time.

Do not forget to properly configure IPTV Manager and select your TV provider in the settings!

If you need the latest update, you can download the latest ZIP archive from the [releases page](https://github.com/f-lawe/plugin.video.orange.fr/releases/latest) and manually install it into Kodi (Settings > Addons > Install from ZIP). Then install the dependencies from the addon screen (My addons > Video addons > Orange TV France > Dependencies).

## Available providers
| Country | Provider | |
|:---------:|:------------------|:-|
| 🇫🇷 | Orange | |
| 🇫🇷 | Orange Caraïbe | |
| 🇫🇷 | Orange Réunion | thanks to [@starmate](https://github.com/starmate) and [@sae-gfc](https://github.com/sae-gfc) |

## Known limitations
- Limited to 720p because Orange don't provide higher quality on their web TV
- Work only from the listed and tested areas (for now metropolitan France, French Caribbean, and Reunion island)

## Sponsorship
You like this project? Help me working on it!

[![Donate with PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate/?hosted_button_id=PNVV6FEQU94JG)

32 changes: 32 additions & 0 deletions plugin.video.orange.fr/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.orange.fr" name="Orange TV France" version="2.3.1" provider-name="Flawe">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="script.module.requests" version="2.31.0"/>
<import addon="script.module.routing" version="0.2.3"/>
<import addon="script.module.inputstreamhelper" version="0.6.1"/>
</requires>
<extension point="xbmc.python.pluginsource" library="resources/addon.py">
<provides>video</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary lang="en">Watch TV channels provided by your Orange subscription from Kodi!</summary>
<description lang="en">This addon brings to Kodi all the TV channels included in your Orange subscription. Easy install via IPTV Manager.</description>

<summary lang="fr">Regardez les chaînes de télé incluses dans votre abonnement Orange depuis Kodi !</summary>
<description lang="fr">Cet addon intègre à Kodi toutes les chaînes de télé incluses dans votre abonnement Orange. L'installation se fait facilement via IPTV Manager.</description>

<platform>all</platform>
<license>MIT</license>
<forum>https://forum.kodi.tv/showthread.php?tid=360391</forum>
<source>https://github.com/f-lawe/plugin.video.orange.fr</source>
<email>[email protected]</email>
<assets>
<icon>resources/media/icon.png</icon>
<fanart>resources/media/fanart.jpg</fanart>
<screenshot>resources/media/screenshot_1.jpg</screenshot>
<screenshot>resources/media/screenshot_2.jpg</screenshot>
<screenshot>resources/media/screenshot_3.jpg</screenshot>
</assets>
</extension>
</addon>
39 changes: 39 additions & 0 deletions plugin.video.orange.fr/doc/README.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Orange TV France pour Kodi
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/f-lawe/plugin.video.orange.fr)](https://github.com/f-lawe/plugin.video.orange.fr/releases)
[![Kodi version](https://img.shields.io/badge/kodi%20version-v21-blue)](https://kodi.tv/)
[![GitHub](https://img.shields.io/github/license/f-lawe/plugin.video.orange.fr)](https://github.com/f-lawe/plugin.video.orange.fr/blob/master/LICENSE)

_Cet addon n'est pas officiellement supporté par Orange. Tous les produits, logos et marques déposées mentionnés dans ce projet sont la propriété de leurs propriétaires respectifs._

## Description
Cet addon ajoute la TV d'Orange à Kodi. Toutes les chaînes inclues dans votre abonnement sont maintenant directement accessibles depuis Kodi !

Cet addon inclue :
- la télé en direct dans Kodi TV (en utilisant [IPTV Simple PVR](https://github.com/kodi-pvr/pvr.iptvsimple))
- les programmes en replay
- l'accès aux chaînes payantes qui font partie de votre souscription (pour le direct et le replay)

## Installation
Orange TV France est disponible directement depuis le dépôt principal de Kodi. L'intégration à la télévision sur Kodi se fait via [IPTV Manager](https://github.com/add-ons/service.iptv.manager). Vous pouvez l'installer et l'activer directement depuis les réglages de l'addon. Une fois configuré, les chaînes et le programme TV se chargent automatiquement.

Vous devriez maintenant voir toutes les chaînes regroupées par categories dans la section TV. S'il n'est pas déjà installé, Kodi vous demandera d'installer l'outil de décryptage quand vous regarderez une chaîne pour la première fois.

N'oubliez pas de configurer IPTV Manager correctement et de sélectionner le bon fournisseur dans les paramètres !

Si vous avez besoin de la dernière version, vous pouvez toujours télécharger la dernière archive ZIP depuis [cette page](https://github.com/BreizhReloaded/plugin.video.orange.fr/releases/latest) et installez-la directement depuis Kodi (Settings > Addons > Install from ZIP). Installez ensuite les dépendences depuis l'écan de l'adddon (My addons > Video addons > Orange TV France > Dependencies).

## Fournisseurs disponibles
| Pays | Fournisseur | |
|:---------:|:------------------|:-|
| 🇫🇷 | Orange | |
| 🇫🇷 | Orange Caraïbe | |
| 🇫🇷 | Orange Réunion | merci à [@starmate](https://github.com/starmate) et [@sae-gfc](https://github.com/sae-gfc)

## Limitations connues
- Qualité vidéo limitée à 720p, Orange ne propose pas plus sur leur plateforme web
- Ne fonctionne que depuis les zones listées et testées (pour le moment France métropolitaine, Caraïbes Françaises et La Réunion)

## Sponsoring
Vous aimez ce projet ? Aidez-moi à travailler dessus !

[![Donate with PayPal](https://www.paypalobjects.com/fr_FR/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate/?hosted_button_id=PNVV6FEQU94JG)
12 changes: 12 additions & 0 deletions plugin.video.orange.fr/resources/addon.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""Addon entry point."""

import sys

import lib.routes # noqa: F401
import xbmc
from lib.router import init_router
from lib.utils.kodi import log

if __name__ == "__main__":
log(sys.version, xbmc.LOGDEBUG)
init_router()
Loading

0 comments on commit 7e45163

Please sign in to comment.