themoviedb.org better search
This commit is contained in:
parent
c0e0e44420
commit
f105d39bd0
|
@ -244,7 +244,7 @@ FILE_TITLE="${FILE_NAME%.*}"
|
|||
# OPEN default browser and search TMDB
|
||||
zenity --question --width 300 --text "IMPORTANT! Nous allons ouvrir le site themoviedb pour y récuperer le numéro d'identification de votre vidéo"
|
||||
[ $? == 1 ] && exit 1
|
||||
xdg-open "https://www.themoviedb.org/search?query=${FILE_TITLE}"
|
||||
xdg-open "https://www.themoviedb.org/search?query=$(echo ${FILE_TITLE} | sed 's/_/%20/g')"
|
||||
|
||||
TMDB=$(zenity --entry --title="Identification TMDB" --text="Indiquez le numéro de la fiche du film. Exemple: 301528 (à extraire du lien https://www.themoviedb.org/movie/301528-toy-story-4)" --entry-text="")
|
||||
[[ $TMDB == "" ]] && exit 1
|
||||
|
|
Loading…
Reference in New Issue