Skip to content

Commit 0fd8012

Browse files
authored
Develop (#193)
* update sqlite DB * new Logger, Setttings, notifier setup * xbmc.translatePath to xbmcvfs.translatePath * aired date formating * extended Search * cleanup settings * type parameters in logger * allow duplicate idhash entries and update close handle * fix some message string * rename file * language file * debug * added debug for rename * new livestream ui * livestream * format 256x256 * new Channel icons * new channel ui * show and letter ui * change to filmlistui * change search to extendedSearchModel * added debug * cleanup * userAgent from setting, delayedStartup from setting * logger make nice * comments * remove legacy extended search * error message for corrupt files * log level to debug * update icons * make nice * color icons * new navigation flow * letter ui * fix for caching * MySql utf8 bug for concat * cleanup whitespace * remove size field * fix for special chars in letterui * black list from settings, cleanup settings, type save set params * keep MinLength at Minutes and convert when needed * removed due to security issues * release note draft * update to cache module * update to cache module * issue with ORF subtitle * merge conflict * added maxRows as search parameter * RC1.0.0 * update logging * NTP on cache key * kill switch * fix for viewids and kodi19 * New Screenshots * set interval for cmd to less than 1 hour to enable hourly cron * version migration support * update addon.xml news * delay startup by default 10 * increase chunksize for download files * added long title support for search results * release to matrix * update version * added kodi-repos * typo
1 parent da86713 commit 0fd8012

208 files changed

Lines changed: 5173 additions & 5556 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 23 additions & 10 deletions

addon.kodi18.xml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="plugin.video.mediathekview"
33
name="MediathekView"
4-
version="0.6.6"
4+
version="1.0.0"
55
provider-name="MediathekView.de, Leo Moll">
66
<requires>
77
<import addon="xbmc.python" version="2.25.0"/>
@@ -24,35 +24,17 @@
2424
<description lang="en_GB">Gives access to most video-platforms from German public service broadcasters using the database of MediathekView.de</description>
2525
<description lang="it_IT">Fornisce l'accesso a gran parte delle piattaforme video operate dalle emittenti pubbliche tedesche usando la banca dati di MediathekView.de</description>
2626
<news>
27-
v.0.6.6 (2020-11-21):
28-
- [fix] #175 fix for airdate 1969 (update mySql DB structure)
29-
- [other] #173 delay service startup by 10 sec to avoid error message
30-
- [other] #171 / #170 improved memory usage
31-
- [new] #169 new sort order (airdate desc)
32-
- [new] define content type in settings to enable more skins
33-
- [new] Bulk insert for mySQL / update to latest mySql driver
34-
v.0.6.4 (2020-05-26):
35-
[fix]
36-
- #143 ijson issue on FireTvStick
37-
- #136 MySql caching_sha2_password issue
38-
- #135 HTTPMessage Header issue
39-
- #134 ijson issue
40-
- #124 Corrupt database
41-
- #166 Sorttitle missing in shows and channel list
42-
- #168 Added urlopen timeout
43-
- Fixed heading on DB-Status-Dialog
44-
[new]
45-
- #140 / #131 Datenbank check interval
46-
- #71 Default Sort
47-
- #95 Sort by time, date
48-
- #147 Show error message for 8 sec
49-
[others]
50-
- Update 3rd party code for Py3 (subtitles SRT-Files)
51-
- Update cache for sqlListe for invalidate after DB update
52-
- RBTV logo add
53-
- Python 3 compat
54-
- Kodi loglevel change (notice to info)
55-
- Add User Agent String for all request to fix issue with ORF
27+
v.1.0.0 (2021-03-14):
28+
- [fix] #125 fix for add to favorits
29+
- [new] #56 simple black list
30+
- [other] New UI icons and adjusted view (Wall view)
31+
- [other] New extended search to filter all criteria
32+
- [other] Database structure between mysql and sqlite aligned
33+
- [other] Navigation for all channels moved into channel view
34+
- [other] Settings split into general (UI settings) and advanced settings for UI behaviour
35+
- [other] Code restructring
36+
37+
v.0.6.6 (2020-11-21)
5638
</news>
5739
<platform>all</platform>
5840
<language>de fr</language>

addon.kodi19.xml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="plugin.video.mediathekview"
33
name="MediathekView"
4-
version="0.6.6+matrix.1"
4+
version="1.0.0+matrix.1"
55
provider-name="MediathekView.de, Leo Moll">
66
<requires>
77
<import addon="xbmc.python" version="3.0.0"/>
@@ -23,35 +23,17 @@
2323
<description lang="en_GB">Gives access to most video-platforms from German public service broadcasters using the database of MediathekView.de</description>
2424
<description lang="it_IT">Fornisce l'accesso a gran parte delle piattaforme video operate dalle emittenti pubbliche tedesche usando la banca dati di MediathekView.de</description>
2525
<news>
26-
v.0.6.6 (2020-11-21):
27-
- [fix] #175 fix for airdate 1969 (update mySql DB structure)
28-
- [other] #173 delay service startup by 10 sec to avoid error message
29-
- [other] #171 / #170 improved memory usage
30-
- [new] #169 new sort order (airdate desc)
31-
- [new] define content type in settings to enable more skins
32-
- [new] Bulk insert for mySQL / update to latest mySql driver
33-
v.0.6.4 (2020-05-26):
34-
[fix]
35-
- #143 ijson issue on FireTvStick
36-
- #136 MySql caching_sha2_password issue
37-
- #135 HTTPMessage Header issue
38-
- #134 ijson issue
39-
- #124 Corrupt database
40-
- #166 Sorttitle missing in shows and channel list
41-
- #168 Added urlopen timeout
42-
- Fixed heading on DB-Status-Dialog
43-
[new]
44-
- #140 / #131 Datenbank check interval
45-
- #71 Default Sort
46-
- #95 Sort by time, date
47-
- #147 Show error message for 8 sec
48-
[others]
49-
- Update 3rd party code for Py3 (subtitles SRT-Files)
50-
- Update cache for sqlListe for invalidate after DB update
51-
- RBTV logo add
52-
- Python 3 compat
53-
- Kodi loglevel change (notice to info)
54-
- Add User Agent String for all request to fix issue with ORF
26+
v.1.0.0 (2021-03-14):
27+
- [fix] #125 fix for add to favorits
28+
- [new] #56 simple black list
29+
- [other] New UI icons and adjusted view (Wall view)
30+
- [other] New extended search to filter all criteria
31+
- [other] Database structure between mysql and sqlite aligned
32+
- [other] Navigation for all channels moved into channel view
33+
- [other] Settings split into general (UI settings) and advanced settings for UI behaviour
34+
- [other] Code restructring
35+
36+
v.0.6.6 (2020-11-21)
5537
</news>
5638
<platform>all</platform>
5739
<language>de fr</language>

addon.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,20 @@
99

1010
# -- Imports ------------------------------------------------
1111
from resources.lib.plugin import MediathekViewPlugin
12+
from resources.lib.loggerKodi import LoggerKodi
13+
from resources.lib.settingsKodi import SettingsKodi
14+
from resources.lib.notifierKodi import NotifierKodi
15+
import xbmcaddon
16+
import resources.lib.appContext as appContext
1217

1318
# -- Main Code ----------------------------------------------
1419
if __name__ == '__main__':
20+
appContext.init()
21+
appContext.initAddon(xbmcaddon.Addon())
22+
appContext.initLogger(LoggerKodi(appContext.ADDONCLASS.getAddonInfo('id'), appContext.ADDONCLASS.getAddonInfo('version')))
23+
appContext.initSettings(SettingsKodi(appContext.ADDONCLASS))
24+
appContext.initNotifier(NotifierKodi(appContext.ADDONCLASS))
1525
PLUGIN = MediathekViewPlugin()
16-
PLUGIN.init()
1726
PLUGIN.run()
1827
PLUGIN.exit()
1928
del PLUGIN

addon.xml

Lines changed: 50 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,54 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="plugin.video.mediathekview"
3-
name="MediathekView"
4-
version="0.6.6"
5-
provider-name="MediathekView.de, Leo Moll">
6-
<requires>
7-
<import addon="xbmc.python" version="2.25.0"/>
8-
<import addon="script.module.myconnpy" version="1.1.7"/>
9-
</requires>
10-
<extension
11-
point="xbmc.python.pluginsource"
12-
library="addon.py">
13-
<provides>video</provides>
14-
</extension>
15-
<extension
16-
point="xbmc.service"
17-
library="service.py"
18-
start="startup" />
19-
<extension point="xbmc.addon.metadata">
20-
<summary lang="de_DE">Öffentlich-Rechtliche Mediatheken</summary>
21-
<summary lang="en_GB">Public service video-platforms</summary>
22-
<summary lang="it_IT">Piattaforme video dalle emittenti pubbliche</summary>
23-
<description lang="de_DE">Ermöglicht den Zugriff auf fast alle deutschen Mediatheken der öffentlich Rechtlichen basierend auf der Datenbank von MediathekView.de</description>
24-
<description lang="en_GB">Gives access to most video-platforms from German public service broadcasters using the database of MediathekView.de</description>
25-
<description lang="it_IT">Fornisce l'accesso a gran parte delle piattaforme video operate dalle emittenti pubbliche tedesche usando la banca dati di MediathekView.de</description>
26-
<news>
27-
v.0.6.6 (2020-11-21):
28-
- [fix] #175 fix for airdate 1969 (update mySql DB structure)
29-
- [other] #173 delay service startup by 10 sec to avoid error message
30-
- [other] #171 / #170 improved memory usage
31-
- [new] #169 new sort order (airdate desc)
32-
- [new] define content type in settings to enable more skins
33-
- [new] Bulk insert for mySQL / update to latest mySql driver
34-
v.0.6.4 (2020-05-26):
35-
[fix]
36-
- #143 ijson issue on FireTvStick
37-
- #136 MySql caching_sha2_password issue
38-
- #135 HTTPMessage Header issue
39-
- #134 ijson issue
40-
- #124 Corrupt database
41-
- #166 Sorttitle missing in shows and channel list
42-
- #168 Added urlopen timeout
43-
- Fixed heading on DB-Status-Dialog
44-
[new]
45-
- #140 / #131 Datenbank check interval
46-
- #71 Default Sort
47-
- #95 Sort by time, date
48-
- #147 Show error message for 8 sec
49-
[others]
50-
- Update 3rd party code for Py3 (subtitles SRT-Files)
51-
- Update cache for sqlListe for invalidate after DB update
52-
- RBTV logo add
53-
- Python 3 compat
54-
- Kodi loglevel change (notice to info)
55-
- Add User Agent String for all request to fix issue with ORF
3+
name="MediathekView"
4+
version="1.0.0+matrix.1"
5+
provider-name="MediathekView.de, Leo Moll">
6+
<requires>
7+
<import addon="xbmc.python" version="3.0.0"/>
8+
<import addon="script.module.myconnpy" version="1.1.7"/>
9+
</requires>
10+
<extension
11+
point="xbmc.python.pluginsource"
12+
library="addon.py">
13+
<provides>video</provides>
14+
</extension>
15+
<extension
16+
point="xbmc.service"
17+
library="service.py"/>
18+
<extension point="xbmc.addon.metadata">
19+
<summary lang="de_DE">Öffentlich-Rechtliche Mediatheken</summary>
20+
<summary lang="en_GB">Public service video-platforms</summary>
21+
<summary lang="it_IT">Piattaforme video dalle emittenti pubbliche</summary>
22+
<description lang="de_DE">Ermöglicht den Zugriff auf fast alle deutschen Mediatheken der öffentlich Rechtlichen basierend auf der Datenbank von MediathekView.de</description>
23+
<description lang="en_GB">Gives access to most video-platforms from German public service broadcasters using the database of MediathekView.de</description>
24+
<description lang="it_IT">Fornisce l'accesso a gran parte delle piattaforme video operate dalle emittenti pubbliche tedesche usando la banca dati di MediathekView.de</description>
25+
<news>
26+
v.1.0.0 (2021-03-14):
27+
- [fix] #125 fix for add to favorits
28+
- [new] #56 simple black list
29+
- [other] New UI icons and adjusted view (Wall view)
30+
- [other] New extended search to filter all criteria
31+
- [other] Database structure between mysql and sqlite aligned
32+
- [other] Navigation for all channels moved into channel view
33+
- [other] Settings split into general (UI settings) and advanced settings for UI behaviour
34+
- [other] Code restructring
35+
36+
v.0.6.6 (2020-11-21)
5637
</news>
57-
<platform>all</platform>
58-
<language>de fr</language>
59-
<license>MIT</license>
60-
<forum>https://forum.kodi.tv/showthread.php?tid=326799</forum>
61-
<source>https://github.com/mediathekview/plugin.video.mediathekview</source>
62-
<website>https://mediathekview.de/</website>
63-
<email>info@mediathekview.de</email>
64-
<assets>
65-
<icon>resources/icon.png</icon>
66-
<fanart>resources/fanart.jpg</fanart>
67-
<screenshot>resources/screenshot1.png</screenshot>
68-
<screenshot>resources/screenshot2.png</screenshot>
69-
<screenshot>resources/screenshot3.png</screenshot>
70-
<screenshot>resources/screenshot4.png</screenshot>
71-
</assets>
72-
</extension>
38+
<platform>all</platform>
39+
<language>de fr</language>
40+
<license>MIT</license>
41+
<forum>https://forum.kodi.tv/showthread.php?tid=326799</forum>
42+
<source>https://github.com/mediathekview/plugin.video.mediathekview</source>
43+
<website>https://mediathekview.de/</website>
44+
<email>info@mediathekview.de</email>
45+
<assets>
46+
<icon>resources/icon.png</icon>
47+
<fanart>resources/fanart.jpg</fanart>
48+
<screenshot>resources/screenshot1.png</screenshot>
49+
<screenshot>resources/screenshot2.png</screenshot>
50+
<screenshot>resources/screenshot3.png</screenshot>
51+
<screenshot>resources/screenshot4.png</screenshot>
52+
</assets>
53+
</extension>
7354
</addon>

resources/icons/3sat-m.png

-8.96 KB
Binary file not shown.

resources/icons/ard-m.png

-8.08 KB
Binary file not shown.

resources/icons/arte.de-m.png

-4.68 KB
Binary file not shown.

resources/icons/arte.fr-m.png

-4.68 KB
Binary file not shown.

resources/icons/br-m.png

-12.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)