diff --git a/packages/addons/service/webgrabplus/changelog.txt b/packages/addons/service/webgrabplus/changelog.txt
deleted file mode 100644
index 3b0a72839d..0000000000
--- a/packages/addons/service/webgrabplus/changelog.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-105
-- Upgrade WebGrab!Plus to 2.1.5_beta
-
-104
-- Upgrade siteini.pack to 20161021
-- Add system.d timer
-- Add license headers
-
-103
-- Upgrade mdb ini files
-
-102
-- Upgrade WebGrab+Plus to 56.29.pre
-- Upgrade siteini.pack to 20160807
-- Call user defined pre/post processing
-
-101
-- Upgrade WebGrab+Plus to 56.28.pre
-- Upgrade siteini.pack to 20160729
-
-100
-- Initial addon
diff --git a/packages/addons/service/webgrabplus/icon/icon.png b/packages/addons/service/webgrabplus/icon/icon.png
deleted file mode 100644
index 1d627fb191..0000000000
Binary files a/packages/addons/service/webgrabplus/icon/icon.png and /dev/null differ
diff --git a/packages/addons/service/webgrabplus/package.mk b/packages/addons/service/webgrabplus/package.mk
deleted file mode 100644
index 58dcef7ae6..0000000000
--- a/packages/addons/service/webgrabplus/package.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
-
-PKG_NAME="webgrabplus"
-PKG_VERSION="2.1.5_beta"
-PKG_SHA256="bee5d6c12bc5b62366a0d05b48c1693d715199b28b12240fa74c0b2c0f613a72"
-PKG_REV="105"
-PKG_ARCH="any"
-PKG_LICENSE="prop."
-PKG_SITE="http://www.webgrabplus.com/"
-PKG_URL="http://webgrabplus.com/sites/default/files/download/SW/V2.1.5/WebGrabPlus_V2.1.5_beta_install.tar.gz"
-PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="service"
-PKG_SHORTDESC="WebGrab+Plus: a multi-site incremental xmltv epg grabber"
-PKG_LONGDESC="WebGrab+Plus ($PKG_VERSION) collects tv-program guide data from selected tvguide sites for your favourite channels."
-PKG_TOOLCHAIN="manual"
-
-PKG_IS_ADDON="yes"
-PKG_ADDON_NAME="WebGrab+Plus"
-PKG_ADDON_TYPE="xbmc.service"
-PKG_ADDON_REQUIRES="tools.mono:0.0.0"
-PKG_MAINTAINER="Anton Voyl (awiouy)"
-
-addon() {
- mkdir -p $ADDON_BUILD/$PKG_ADDON_ID
- cp -r $PKG_BUILD/bin $ADDON_BUILD/$PKG_ADDON_ID
-}
diff --git a/packages/addons/service/webgrabplus/source/bin/webgrabplus.init b/packages/addons/service/webgrabplus/source/bin/webgrabplus.init
deleted file mode 100644
index de7d9be169..0000000000
--- a/packages/addons/service/webgrabplus/source/bin/webgrabplus.init
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-
-# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
-
-. /etc/profile
-oe_setup_addon service.webgrabplus
-
-dir_bup=".backup"
-dir_cfg="$ADDON_DIR/config/"
-dir_sip="siteini.pack"
-dir_siu="siteini.user"
-dir_tmp="/tmp/wgp"
-sip_ver="siteini.version"
-url_ver="http://www.webgrabplus.com/sites/default/files/download/ini/latest_version.txt"
-url_zip="http://webgrabplus.com/sites/default/files/download/ini/SiteIniPack_current.zip"
-
-cd "$ADDON_HOME"
-
-# Hack to not test the patience of beta testers
-old_ver="version.siteini"
-if [ -f "$old_ver" ]; then
- mv "$old_ver" "$sip_ver"
-fi
-
-if [ ! -d "$dir_bup" -a ! -f "$sip_ver" ]; then
- for i in "mdb" "rex" "siteini.pack" "WebGrab++.config.xml"; do
- if [ -e "$i" ]; then
- mkdir -p "$dir_bup"
- mv "$i" "$dir_bup"
- echo "Moved obsolete $i to $dir_bup"
- fi
- done
-fi
-
-mkdir -p "$dir_sip"
-mkdir -p "$dir_siu"
-touch "$sip_ver"
-
-for s in $(find "$dir_cfg" -type f); do
- f="${s#$dir_cfg}"
- if [ ! -f "$f" ]; then
- d="$(dirname $f)"
- mkdir -p "$d"
- cp "$s" "$d"
- echo "Created default $f"
- fi
-done
-
-ver_cur="$(wget $url_ver -qO -)"
-ver_ins="$(cat $sip_ver)"
-
-if [ "$ver_cur" != "$ver_ins" ]; then
- rm -fr "$dir_tmp"
- mkdir -p "$dir_tmp"
- wget "$url_zip" -qP "$dir_tmp" && \
- unzip -q "$dir_tmp/*.zip" -d "$dir_tmp" && \
- rm -rf siteini.pack && \
- mv "$dir_tmp/siteini.pack" . && \
- echo "$ver_cur" > "$sip_ver" && \
- echo "Updated siteini.pack to $ver_cur"
- rm -fr "$dir_tmp"
-fi
diff --git a/packages/addons/service/webgrabplus/source/bin/webgrabplus.run b/packages/addons/service/webgrabplus/source/bin/webgrabplus.run
deleted file mode 100644
index 3811069b45..0000000000
--- a/packages/addons/service/webgrabplus/source/bin/webgrabplus.run
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
-
-. /etc/profile
-oe_setup_addon service.webgrabplus
-
-wgp_user () {
- echo "User defined $1"
- if [ -f "$2" ]
- then
- echo "Calling user defined $1 script $2"
- sh "$2"
- else
- echo "Nothing to do"
- fi
-}
-
-webgrabplus.init
-
-cd "$ADDON_HOME"
-
-wgp_user "pre-processing" "$ADDON_HOME/before.sh"
-mono "$ADDON_DIR/bin/WebGrab+Plus.exe" "$PWD"
-wgp_user "post-processing" "$ADDON_HOME/after.sh"
diff --git a/packages/addons/service/webgrabplus/source/bin/webgrabplus.start b/packages/addons/service/webgrabplus/source/bin/webgrabplus.start
deleted file mode 100644
index 3286e68eb6..0000000000
--- a/packages/addons/service/webgrabplus/source/bin/webgrabplus.start
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
-
-. /etc/profile
-oe_setup_addon service.webgrabplus
-
-webgrabplus.init
-
-[ "$wgp_on_act" ] && on_act="--on-active=$wgp_on_act"
-
-systemd-run $on_act --on-calendar="$wgp_on_cal" --unit=webgrabplus \
- /usr/bin/nice -n "$wgp_nice" "$ADDON_DIR/bin/webgrabplus.run"
diff --git a/packages/addons/service/webgrabplus/source/config/WebGrab++.config.xml b/packages/addons/service/webgrabplus/source/config/WebGrab++.config.xml
deleted file mode 100755
index 47239ad1ab..0000000000
--- a/packages/addons/service/webgrabplus/source/config/WebGrab++.config.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
- guide.xml
-
- mdb
- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
- on
- 4
- 0
- f
-
-
-
- Example
-
-
diff --git a/packages/addons/service/webgrabplus/source/config/mdb/mdb.config.xml b/packages/addons/service/webgrabplus/source/config/mdb/mdb.config.xml
deleted file mode 100755
index f4740feb79..0000000000
--- a/packages/addons/service/webgrabplus/source/config/mdb/mdb.config.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
- imdb.com.ask, imdb.com.imdb
-
-
- guide.xml
-
-
- mdb.xml
-
-
-
-
-
-
-
-
-
-
-. The individual values will be listed with a (standard WG++ internal element separator) | as separator unless another separator is specified as follows:
-'element-name(separator-string)' e.g. 'actor(, )'
- - text and element-names can be linked together by enclosing them by {}. This will ensure that, when the element in it is empty, everything between the {} is ignored. E.g. {\nProduced in : ('productiondate')}
- - the text in the xmltv-target elements may contain the following simple formatting :
- - \n or \r to force a newline
- - \t to add a tab
-2. The allowed xmltv-target elements (the ones in the target file specified above) are :
- (= special case : if the first mdb-title, which is the original showtitle, differs from the xmltv title it can be added to xmltv as extra 'original' title.)
-
-
- = the xmltv element name containing the productiondate
-
- (=optional new xmltv element)
- e.g to add /substitute the (additional?) mdb-director
- e.g to add /substitute the (additional?) mdb-actor
- - IMPORTANT! : any of the above listed xmltv-target elements that is specified in this allocation specification, replaces the existing xmltv element and its content!
-3. Supported element-names (from the existing xmltv listing, name definitions as in Appendix D) :
- - 'title' 'description' 'starrating' 'subtitle' 'productiondate' 'category' 'director' 'actor' 'presenter' 'writer' 'composer' 'producer' 'rating' 'episode' 'review' 'subtitles' 'premiere' previously-shown' 'aspect' 'quality'
-4. Supported MDB element-names
- - 'mdb-title' :
- If 'mdb-title' is used in the xmltv-target element , it will only be added if different from the existing xmltv title (see 2. above)
- If used in any of the other supported xmltv-target elements, there is no such restriction and it will be listed in any case.
- - 'mdb-starrating' 'mdb-description' 'mdb-plot' 'mdb-commentsummary'
-5. Attributes (might need completion)
- - for each of the xmltv-elements the following attribute can be specified
- (if not specified the existing one, if present in the xmltv, will be used) :
- - lang for and , default : no attribute
- - system for , default : no attribute
- - type for , default: type="text" ]]>
-
-
-
-
-
- 'mdb-title'
- 'title'
-
-
- {'mdb-title'...}{[plot: 'mdb-plot']\n}'description'{\n[imdb description: 'mdb-description']}
-
-
- 'starrating'
- 'mdb-starrating'
-
-
-
-
- {Viewers comments : 'mdb-commentsummary( ... )'}
- {IMDb review: 'mdb-review'}
-
-
- Disney Channel
- RTL 4
-
-
diff --git a/packages/addons/service/webgrabplus/source/config/rex/rex.config.xml b/packages/addons/service/webgrabplus/source/config/rex/rex.config.xml
deleted file mode 100755
index 47d7731a41..0000000000
--- a/packages/addons/service/webgrabplus/source/config/rex/rex.config.xml
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
- guide.xml
-
-
-
- 'description'\n'actor'
- The result is the existing 'description' , followed by, on a newline, the actor(s) separated by the standard WG++ element separator | .
- The result:
- This is the original description.
- Michael Douglas|Kim Basinger
-
- You probably don't like the | as separator between the actors, so you specify anther separator like this:
- 'description'\n'actor(, )'
- The result:
- This is the original description.
- Michael Douglas, Kim Basinger
-
- You can make this prettier by adding some text to the actors addition:
- 'description'\nActors: 'actor(, )'.
- The result:
- This is the original description.
- Actors: Michael Douglas, Kim Basinger.
-
- A small problem: Suppose the source xmltv show doesn't have any actors, then the result would be not so pretty:
- This is the original description.
- Actors: .
- To avoid that, the added text can be linked to the element it must be added to, like this:
- 'description'{\nActors: 'actor(, )'.}
- Result with actors:
- This is the original description.
- Actors: Michael Douglas, Kim Basinger.
- And without actors:
- This is the original description.
-
- An example with some more elements:
- 'description'{\n\tYear of production: 'productiondate'.}{\n\tProducer: 'producer(, )'.}{\n\tActors: 'actor(, )'.}
- Result:
- This is the original description.
- Year of production: 2002.
- Producer: Steven Spielberg.
- Actors: Michael Douglas, Kim Basinger.
-
- And another one:
- {Episode: 'episode'\t}'subtitle'
- Result:
- Episode: 3.2/12.1 The original subtitle
-
- You can also remove elements (but not the title!) from the xmltv listing by specifying an empty element, like this:
-
- This will remove all elements
- And this:
-
- Will remove the element, including all its child elements like , etc. ]]>
-. The individual values will be listed with a (standard WG++ internal element separator) | as separator unless another separator is specified as follows:
-'element-name(separator-string)' e.g. 'actor(, )'
- - text and element-names can be linked together by enclosing them by {}. This will ensure that, when the element in it is empty, everything between the {} is ignored. E.g. {\nProduced in : ('productiondate')}
-- the text in the xmltv-target elements may contain the following simple formatting :
- - \n or \r to force a newline
- - \t to add a tab
-
-2. The allowed xmltv-target elements (the ones in the target file specified above) are :
-
-
-
- = the xmltv element name containing the productiondate
-
- (=optional new xmltv element)
- e.g to add /substitute the (additional?) mdb-director
- e.g to add /substitute the (additional?) mdb-actor
-- IMPORTANT! : any of the above listed xmltv-target elements that is specified in this allocation specification, replaces the existing xmltv element and its content!
-
-3. Supported element-names (from the existing xmltv listing, name definitions as in Appendix D) :
- - 'title' 'description' 'starrating' 'subtitle' 'productiondate' 'category' 'director' 'actor' 'presenter' 'writer' 'composer' 'producer' 'rating' 'episode' 'review' 'subtitles' 'premiere' 'previously-shown' 'aspect' 'quality'
-
-4. Also supported are the additional elements created by the MDB-postprocessor.
-- Important : This MDB-postprocessor automatically makes use of this REX-postprocessor. In that case the REX-postprocessor uses the allocation specification from the MDB config file mdb.config.xml and ignores the specification entered here.
- - 'mdb-title'
-(if used in the xmltv-target element it will only be added if different from the existing xmltv title, see for more details mdb.config.xml)
- - 'mdb-starrating' 'mdb-description' 'mdb-plot' 'mdb-commentsummary' 'mdb-review'
-
-5. Attributes (might need completion)
- - for each of the xmltv-elements the following attribute can be specified
- (if not specified, the existing one, if present in the xmltv, will be used) :
- - lang for and , default : no attribute
- - system for , default : no attribute
- - type for , default: type="text"]]>
-
-
- {Episode: 'episode' }'subtitle'
- 'description'{\n\t¤ Produced in: 'productiondate'. }{¤ Category: 'category(, )'. }{\n\t¤ Actors: 'actor(, )'}{\n\t¤ Director: 'director(, )'}{\n\t¤ Presenter: 'presenter(, )'}
-
-
-
-
- {Ratings: 'rating(, )'.}
-
-
diff --git a/packages/addons/service/webgrabplus/source/default.py b/packages/addons/service/webgrabplus/source/default.py
deleted file mode 100644
index 0b9d649ccd..0000000000
--- a/packages/addons/service/webgrabplus/source/default.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
-
-import subprocess
-import xbmc
-import xbmcaddon
-
-
-class Monitor(xbmc.Monitor):
-
- def __init__(self, *args, **kwargs):
- xbmc.Monitor.__init__(self)
- self.id = xbmcaddon.Addon().getAddonInfo('id')
-
- def onSettingsChanged(self):
- subprocess.call(['systemctl', 'restart', self.id])
-
-
-if __name__ == '__main__':
- Monitor().waitForAbort()
diff --git a/packages/addons/service/webgrabplus/source/resources/language/English/strings.po b/packages/addons/service/webgrabplus/source/resources/language/English/strings.po
deleted file mode 100644
index fb383a64aa..0000000000
--- a/packages/addons/service/webgrabplus/source/resources/language/English/strings.po
+++ /dev/null
@@ -1,18 +0,0 @@
-msgid ""
-msgstr ""
-
-msgctxt "#30000"
-msgid "systemd-run"
-msgstr ""
-
-msgctxt "#30001"
-msgid "--on-active"
-msgstr ""
-
-msgctxt "#30002"
-msgid "--on-calendar"
-msgstr ""
-
-msgctxt "#30003"
-msgid "Priority (nice, 0=max, 19=min)"
-msgstr ""
diff --git a/packages/addons/service/webgrabplus/source/resources/settings.xml b/packages/addons/service/webgrabplus/source/resources/settings.xml
deleted file mode 100644
index c0e62aa40a..0000000000
--- a/packages/addons/service/webgrabplus/source/resources/settings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/packages/addons/service/webgrabplus/source/settings-default.xml b/packages/addons/service/webgrabplus/source/settings-default.xml
deleted file mode 100644
index f9c2020db9..0000000000
--- a/packages/addons/service/webgrabplus/source/settings-default.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/packages/addons/service/webgrabplus/source/system.d/service.webgrabplus.service b/packages/addons/service/webgrabplus/source/system.d/service.webgrabplus.service
deleted file mode 100644
index 6c51286242..0000000000
--- a/packages/addons/service/webgrabplus/source/system.d/service.webgrabplus.service
+++ /dev/null
@@ -1,15 +0,0 @@
-[Unit]
-Description=WebGrab+Plus
-Documentation=http://www.webgrabplus.com/
-After=network.target
-Requires=network.target
-
-[Service]
-ExecStart=/bin/sh /storage/.kodi/addons/service.webgrabplus/bin/webgrabplus.start
-ExecStop=/usr/bin/systemctl stop webgrabplus.timer
-ExecStop=/usr/bin/systemctl stop webgrabplus.service
-RemainAfterExit=yes
-Type=oneshot
-
-[Install]
-WantedBy=kodi.target