mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
webgrabplus: update and add pre/post-processing
This commit is contained in:
parent
bb46c69f82
commit
3a4386a6f7
@ -1,3 +1,8 @@
|
||||
8.0.102
|
||||
- Upgrade WebGrab+Plus to 56.29.pre
|
||||
- Upgrade siteini.pack to 20160807
|
||||
- Call user defined pre/post processing
|
||||
|
||||
8.0.101
|
||||
- Upgrade WebGrab+Plus to 56.28.pre
|
||||
- Upgrade siteini.pack to 20160729
|
||||
|
@ -1,6 +1,6 @@
|
||||
PKG_NAME="webgrabplus"
|
||||
PKG_VERSION="56.28pre-20160729"
|
||||
PKG_REV="101"
|
||||
PKG_VERSION="56.29pre-20160807"
|
||||
PKG_REV="102"
|
||||
PKG_ARCH="arm x86_64"
|
||||
PKG_LICENSE="prop."
|
||||
PKG_SITE="http://www.webgrabplus.com/"
|
||||
|
@ -3,6 +3,17 @@
|
||||
. /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
|
||||
}
|
||||
|
||||
mkdir -p "$ADDON_HOME"
|
||||
cd "$ADDON_HOME"
|
||||
|
||||
@ -22,9 +33,13 @@ then
|
||||
cp -r "$ADDON_DIR/config/siteini.pack" .
|
||||
fi
|
||||
|
||||
wgp_user "pre-processing" "$ADDON_HOME/before.sh"
|
||||
|
||||
mono $ADDON_DIR/WebGrab+Plus/WebGrab+Plus.exe
|
||||
|
||||
cp guide_wgp.xml guide.xml
|
||||
mono $ADDON_DIR/WebGrab+Plus/xmltv_time_correct.exe guide_wgp.xml guide.xml < /dev/zero
|
||||
|
||||
mono $ADDON_DIR/WebGrab+Plus/WG2MP.exe guide.xml mediaportal.xml
|
||||
|
||||
wgp_user "post-processing" "$ADDON_HOME/after.sh"
|
||||
|
Loading…
x
Reference in New Issue
Block a user