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

[service.iptv.manager] 0.2.4+matrix.1 #2569

Merged
merged 1 commit into from
Jan 26, 2024
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
8 changes: 8 additions & 0 deletions service.iptv.manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v0.2.4](https://github.com/add-ons/service.iptv.manager/tree/v0.2.4) (2023-12-02)

[Full Changelog](https://github.com/add-ons/service.iptv.manager/compare/v0.2.3...v0.2.4)

**Fixed bugs:**

- Fix for Configure IPTV automatically [\#109](https://github.com/add-ons/service.iptv.manager/pull/109)

## [v0.2.3](https://github.com/add-ons/service.iptv.manager/tree/v0.2.3) (2021-02-04)

[Full Changelog](https://github.com/add-ons/service.iptv.manager/compare/v0.2.2...v0.2.3)
Expand Down
12 changes: 5 additions & 7 deletions service.iptv.manager/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="service.iptv.manager" name="IPTV Manager" version="0.2.3+matrix.1" provider-name="Michaël Arnauts">
<addon id="service.iptv.manager" name="IPTV Manager" version="0.2.4+matrix.1" provider-name="Michaël Arnauts">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.dateutil" version="2.6.0"/>
Expand All @@ -25,19 +25,17 @@
<summary lang="ru_RU">Интеграция IPTV каналов из других дополнений в Kodi PVR</summary>
<summary lang="hu_HU">Más kiegészítők által szolgáltatott IPTV csatornák integrációja a Kodi PVR felületbe</summary>
<summary lang="el_GR">Ενσωμάτωση καναλιών IPTV από άλλα πρόσθετα στο PVR του Kodi</summary>
<summary lang="fr_FR">Intégrer les chaînes IPTV des autres extensions dans les menus Kodi TV et Radio</summary>
<description lang="en_GB">IPTV Manager integrates IPTV channels from other add-ons in the Kodi TV and Radio menus.</description>
<description lang="nl_NL">IPTV Manager integreert IPTV kanalen van andere add-ons in de Kodi TV en Radio menu's.</description>
<description lang="ru_RU">Это дополнение интегрирует IPTV каналы из других дополнений в Kodi PVR.</description>
<description lang="hu_HU">Ez a kiegészítő lehetővé teszi más kiegészítők számára, hogy saját IPTV csatornákat publikáljanak a Kodi PVR felületébe.</description>
<description lang="el_GR">Το πρόσθετο αυτο ενσωματώνει τα κανάλια IPTV από άλλα πρόσθετα στο PVR του Kodi.</description>
<description lang="fr_FR">IPTV Manager intègre les chaînes IPTV des autres extensions dans les menus Kodi TV et Radio.</description>
<platform>all</platform>
<license>GPL-3.0-only</license>
<news>v0.2.3 (2021-02-04)
- Allow to process raw m3u8 or xmltv data.
- Add support for #KODIPROP.
- Support multiple groups for a channel.
- Improvements for Kodi Matrix.
- Update translations.</news>
<news>v0.2.4 (2023-12-02)
- Fix for Configure IPTV automatically.</news>
<source>https://github.com/add-ons/service.iptv.manager</source>
<assets>
<icon>resources/icon.png</icon>
Expand Down
10 changes: 10 additions & 0 deletions service.iptv.manager/resources/lib/modules/iptvsimple.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

from resources.lib import kodiutils

import xbmcvfs, glob, shutil

_LOGGER = logging.getLogger(__name__)

IPTV_SIMPLE_ID = 'pvr.iptvsimple'
Expand Down Expand Up @@ -65,6 +67,14 @@ def setup(cls):
# Activate IPTV Simple
cls._activate()

# If iptv simple uses another name than settings.xml for the configuration file then copy the generated settings.xml to that other name
path = xbmcvfs.translatePath(addon.getAddonInfo('profile'))
settingsxml = path + 'settings.xml'
if os.path.isfile(settingsxml):
for f in glob.glob(path + "*.xml"):
if os.path.basename(f) != 'settings.xml':
shutil.copyfile(settingsxml, f)

return True

@classmethod
Expand Down
Loading