master #2
|
@ -163,6 +163,9 @@ sed -i "s/_PROFIL_/$XZUID/g" ~/.kodi/addons/plugin.video.vstream/resources/sites
|
||||||
sed -i "s/_LOGIN_/$salt/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
|
sed -i "s/_LOGIN_/$salt/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
|
||||||
sed -i "s/_MDP_/$pepper/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
|
sed -i "s/_MDP_/$pepper/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
|
||||||
|
|
||||||
|
#BACKUP source... to restore after Vstream upgrade
|
||||||
|
cp -f ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py ~/.zen/
|
||||||
|
|
||||||
~/.zen/astrXbian/zen/gchange_IPFS_swarm.sh
|
~/.zen/astrXbian/zen/gchange_IPFS_swarm.sh
|
||||||
~/.zen/astrXbian/zen/ipfs_SWARM_refresh.sh
|
~/.zen/astrXbian/zen/ipfs_SWARM_refresh.sh
|
||||||
|
|
||||||
|
|
|
@ -92,8 +92,8 @@ fi
|
||||||
|
|
||||||
if [[ ! $isinotifywaitRunning ]]; then
|
if [[ ! $isinotifywaitRunning ]]; then
|
||||||
mkdir -p /home/$YOU/astroport
|
mkdir -p /home/$YOU/astroport
|
||||||
[[ $YOU == "xbian" ]] && /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/xbian_vstream.sh "$dir" "$file"; done &
|
#[[ $YOU == "xbian" ]] && /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/xbian_vstream.sh "$dir" "$file"; done &
|
||||||
[[ $YOU != "xbian" ]] && /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/mint_youtube.sh "$dir" "$file"; done &
|
/usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/mint_youtube.sh "$dir" "$file"; done &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# restart inotifywait (may be useless)
|
# restart inotifywait (may be useless)
|
||||||
|
|
|
@ -125,9 +125,14 @@ if [[ $g1node != "" ]]; then
|
||||||
/home/$YOU/.zen/astrXbian/zen/jaklis/jaklis.py unlike -p $liking_me
|
/home/$YOU/.zen/astrXbian/zen/jaklis/jaklis.py unlike -p $liking_me
|
||||||
/home/$YOU/.zen/astrXbian/zen/jaklis/jaklis.py like -p $liking_me -s 3
|
/home/$YOU/.zen/astrXbian/zen/jaklis/jaklis.py like -p $liking_me -s 3
|
||||||
done
|
done
|
||||||
#$(cat ~/.zen/ipfs_swarm/xbian/_*)
|
#$(cat ~/.zen/ipfs_swarm/xbian/_*) # ACTIVATE AUTO FULL RESTORE
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# RESTORE Vstream astroport.py source
|
||||||
|
if [[ -f ~/.zen/astroport.py ]]; then
|
||||||
|
cp -f ~/.zen/astroport.py ~/.kodi/addons/plugin.video.vstream/resources/sites/
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -25,7 +25,7 @@ echo "~/.zen/astrXbian/zen/mint_youtube.sh \"$path\" \"$file\""
|
||||||
[[ "$file" == "" || "$path" == "" ]] && echo "ERROR. Parameters missing. xbian_vstream.sh file=$file? path=$path?"
|
[[ "$file" == "" || "$path" == "" ]] && echo "ERROR. Parameters missing. xbian_vstream.sh file=$file? path=$path?"
|
||||||
extension="${file##*.}"
|
extension="${file##*.}"
|
||||||
TITLE="${file%.*}"
|
TITLE="${file%.*}"
|
||||||
if [[ $extension == "part" ]]; then
|
if [[ ! -f ${path}${file} ]]; then
|
||||||
file="${TITLE%.*}"
|
file="${TITLE%.*}"
|
||||||
extension="${TITLE##*.}"
|
extension="${TITLE##*.}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue