Skip to content

Commit

Permalink
[service.iptv.manager] 0.2.4+matrix.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pihug12 committed Jan 2, 2024
1 parent 3378507 commit b45a98d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
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

0 comments on commit b45a98d

Please sign in to comment.