forked from axiom-team/astrXbian
~/.zen/astrXbian/zen/new_file_in_astroport.sh
This commit is contained in:
parent
4f2186af3d
commit
d8a4742e0c
|
@ -14,13 +14,13 @@
|
|||
# https://github.com/Kodi-vStream/venom-xbmc-addons/wiki/Voir-et-partager-sa-biblioth%C3%A8que-priv%C3%A9e#d%C3%A9clarer-des-films
|
||||
########################################################################
|
||||
## RUN BY inotifywait process ~/astroport/ NEW FILE DETECT
|
||||
mkdir -p ~/astroport/youtube
|
||||
mkdir -p ~/astroport/mp3
|
||||
# mkdir -p ~/astroport/youtube
|
||||
# mkdir -p ~/astroport/mp3
|
||||
########################################################################
|
||||
path="$1"
|
||||
file="$2"
|
||||
fileipfs="$3"
|
||||
echo "~/.zen/astrXbian/zen/mint_youtube.sh \"$path\" \"$file\" \"$fileipfs\""
|
||||
echo "~/.zen/astrXbian/zen/new_file_in_astroport.sh \"$path\" \"$file\" \"$fileipfs\""
|
||||
[[ "$file" == "" || "$path" == "" ]] && echo "ERROR. Parameter missing.file=$file path=$path"
|
||||
|
||||
extension="${file##*.}"
|
||||
|
|
Loading…
Reference in New Issue