Skip to content

Commit

Permalink
General code cleanup (#99)
Browse files Browse the repository at this point in the history
* Add KodiWrapper from VRT NU
* Rename addon.py -> plugin.py
* Fix double pylint check
* Move VTM GO libs to seperate folder
* Use kodi.show_listing for menus
* Finish cleanup
* Drop direct dependency on xbmcplugin from plugin.py
* Improve logging and pydoc
* Fix log message
* Fix test in Python 2.7
* Unicode fixes. Fix subtitles
* Fix days remaining
  • Loading branch information
michaelarnauts authored Oct 12, 2019
1 parent 54050af commit 037dbe0
Show file tree
Hide file tree
Showing 22 changed files with 1,245 additions and 1,020 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ check: check-pylint check-tox check-translations

check-pylint:
@printf "${blue}>>> Running pylint checks$(reset)"
@pylint *.py resources/ resources/lib/ test/
@pylint *.py resources/ test/

check-tox:
@printf "${blue}>>> Running tox checks$(reset)"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

**This add-on is currently under development and isn't ready for use yet. The [Release 1.0](https:/michaelarnauts/plugin.video.vtm.go/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22Release+1.0%22) milestone indicates what issues I think are blocking the general use of this add-on.**

*plugin.video.vtm.go* is a Kodi add-on for watching all live video streams and all video-on-demand content available on the VTM GO platform.
*plugin.video.vtm.go* is a Kodi add-on for watching all live video streams and all video-on-demand content available on the VTM GO platform.
This add-on will also play the ads that are added to the streams by VTM GO.

The following features are supported:
* Watch live TV (VTM, Q2, Vitaya, CAZ, VTM Kids, VTM Kids Jr & QMusic)
Expand Down
12 changes: 2 additions & 10 deletions addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,12 @@
<import addon="script.module.routing" version="0.2.0"/>
<import addon="script.module.inputstreamhelper" version="0.3.4"/>
</requires>
<extension point="xbmc.python.pluginsource" library="main.py">
<extension point="xbmc.python.pluginsource" library="plugin.py">
<provides>video</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary lang="en_GB">Access the VTM GO library</summary>
<description lang="en_GB">This is a Kodi add-on for watching all live video streams and all video-on-demand content available on the VTM GO platform.

The following features are supported:
* Watch live TV (VTM, Q2, Vitaya, CAZ, VTM Kids, VTM Kids Jr &amp; QMusic)
* Watch on-demand content (movies and series)
* Watch YouTube content from some of the DPG Media channels
* Browse a TV Guide
* Search the catalogue
* Browse the Kids zone</description>
<description lang="en_GB">This add-on gives access to all live tv channels and all video-on-demand content available on the VTM GO platform.</description>
<disclaimer lang="en_GB">This add-on is not officially commissioned/supported by DPG Media and is provided 'as is' without any warranty of any kind. The VTM GO name, VTM GO logo and channel icons are property of DPG Media and are used according to the fair use policy.</disclaimer>
<platform>all</platform>
<license>GPL-3.0</license>
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions resources/language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -329,5 +329,5 @@ msgid "Logging"
msgstr ""

msgctxt "#30891"
msgid "Log level"
msgstr ""
msgid "Enable debug logging"
msgstr "Activeer debug logging"
4 changes: 2 additions & 2 deletions resources/language/resource.language.nl_nl/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -329,5 +329,5 @@ msgid "Logging"
msgstr "Logboek"

msgctxt "#30891"
msgid "Log level"
msgstr "Log niveau"
msgid "Enable debug logging"
msgstr "Activeer debug logging"
51 changes: 0 additions & 51 deletions resources/lib/kodilogging.py

This file was deleted.

192 changes: 0 additions & 192 deletions resources/lib/kodiutils.py

This file was deleted.

Loading

0 comments on commit 037dbe0

Please sign in to comment.