FILE_NAME bug

This commit is contained in:
qo-op 2021-03-02 01:13:25 +01:00
parent 03ad207797
commit 8a7711711d
1 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ zenity --question --width ${large} --title "CONTROLE DES INFORMATIONS - EMBARQUE
### OK MOVING FILE TO ASTROPORT ####
mkdir -p ~/astroport/${CAT}/${TMDB}/
mv "${FILE_PATH}/${FILE_NAME}" "$HOME/astroport/${CAT}/${TMDB}/${TITLE}.${FILE_EXT}" && zenity --warning --width ${large} --text "Votre fichier ~/astroport/${CAT}/${TMDB}/${TITLE}.${FILE_EXT} est prêt à embarquer. Cliquez sur OK puis patientez quelques minutes..."
FILENAME=${TITLE}.${FILE_EXT}
FILE_NAME="${TITLE}.${FILE_EXT}"
;;
esac
@ -237,7 +237,7 @@ echo "${CAT};$TMDB;$YEAR;$TITLE;$SAISON;${GENRES};${GROUPES};$RES;/ipfs/_IPFSREP
########################################################################
# ADD $FILE to IPFS / ASTROPORT / KODI
########################################################################
~/.zen/astrXbian/zen/new_file_in_astroport.sh "$HOME/astroport/${CAT}/${TMDB}/" "${TITLE}.${FILE_EXT}"
~/.zen/astrXbian/zen/new_file_in_astroport.sh "$HOME/astroport/${CAT}/${TMDB}/" "${FILE_NAME}"
########################################################################
########################################################################
[ $? == 0 ] && zenity --warning --width 300 --text "OK! Votre source vidéo $cat a été transférée dans Astroport" \