Browse Source

harder better stronger

master
Armust Blegde 11 months ago
parent
commit
6111fde0c4
  1. 3
      ISOconfig.sh
  2. 4
      cron_MINUTE.sh
  3. 7
      zen/gchange_INIT.sh
  4. 2
      zen/mint_youtube.sh

3
ISOconfig.sh

@ -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/_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/ipfs_SWARM_refresh.sh

4
cron_MINUTE.sh

@ -92,8 +92,8 @@ fi
if [[ ! $isinotifywaitRunning ]]; then
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/mint_youtube.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 &
/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
# restart inotifywait (may be useless)

7
zen/gchange_INIT.sh

@ -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 like -p $liking_me -s 3
done
#$(cat ~/.zen/ipfs_swarm/xbian/_*)
#$(cat ~/.zen/ipfs_swarm/xbian/_*) # ACTIVATE AUTO FULL RESTORE
fi
fi
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

2
zen/mint_youtube.sh

@ -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?"
extension="${file##*.}"
TITLE="${file%.*}"
if [[ $extension == "part" ]]; then
if [[ ! -f ${path}${file} ]]; then
file="${TITLE%.*}"
extension="${TITLE##*.}"
fi

Loading…
Cancel
Save