[STY] Add "barry" (white) theme #1

Open
Boris wants to merge 139 commits from axiom-team/astrXbian:master into boris
1 changed files with 5 additions and 4 deletions
Showing only changes of commit 33906a35d4 - Show all commits

View File

@ -556,9 +556,10 @@ timestamp=$(date -u +%s%N | cut -b1-13)
echo "MEDIAKEY=${MEDIAKEY}" > ~/astroport/Add_${MEDIAKEY}_script.sh
[[ $CHOICE == "TMDB" ]] && echo "\"Encoder ${FILE_NAME} en h265 avant import ? Tapez sur ENTER pour continuer sans...\"
read reponse
if [[ \$reponse ]]; then
[[ $CHOICE == "TMDB" ]] && echo "\"Encoder ${FILE_NAME} en h265 avant import ? Tapez sur ENTER.. Sinon saisissez qqch avant...\"
reponse=\$1
[[ \! \$reponse ]] \&\& read reponse
if [[ \! \$reponse ]]; then
ffmpeg -i \"$HOME/astroport/${CAT}/${MEDIAID}/${FILE_NAME}\" -vcodec libx265 -crf 28 $HOME/astroport/${MEDIAID}.mp4
mv \"$HOME/astroport/${CAT}/${MEDIAID}/${FILE_NAME}\" \"$HOME/astroport/${CAT}/${MEDIAID}/${FILE_NAME}.old\"
mv $HOME/astroport/${MEDIAID}.mp4 \"$HOME/astroport/${CAT}/${MEDIAID}/${FILE_NAME}.mp4\"
@ -621,6 +622,6 @@ cat /tmp/${MEDIAKEY}.log
if [ ! $2 ]; then
[ $? == 0 ] && \
zenity --question --width 300 --text "OK! ~/astroport/Add_${MEDIAKEY}_script.sh prêt. Voulez-vous lancer immédiatement l'ajout dans Astroport ?"; \
[ $? == 0 ] && bash ~/astroport/Add_${MEDIAKEY}_script.sh || exit 0 \
[ $? == 0 ] && bash ~/astroport/Add_${MEDIAKEY}_script.sh "no" || exit 0 \
|| zenity --warning --width 300 --text "Désolé une erreur est survenue... /tmp/${MEDIAKEY}.log" && exit 1
fi