Update Extras.bash
This commit is contained in:
parent
50df232b9f
commit
ae84972d03
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
scriptVersion="1.3"
|
scriptVersion="1.4"
|
||||||
arrEventType="$radarr_eventtype"
|
arrEventType="$radarr_eventtype"
|
||||||
arrItemId=$radarr_movie_id
|
arrItemId=$radarr_movie_id
|
||||||
tmdbApiKey="3b7751e3179f796565d88fdb2fcdf426"
|
tmdbApiKey="3b7751e3179f796565d88fdb2fcdf426"
|
||||||
|
@ -233,8 +233,10 @@ do
|
||||||
log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle :: Moving file to final destination"
|
log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle :: Moving file to final destination"
|
||||||
mv "$tempFolder/$finalFileName.mkv" "$finalPath/$finalFileName.mkv"
|
mv "$tempFolder/$finalFileName.mkv" "$finalPath/$finalFileName.mkv"
|
||||||
chmod 666 "$finalPath/$finalFileName.mkv"
|
chmod 666 "$finalPath/$finalFileName.mkv"
|
||||||
|
if [ -d "$tempFolder" ]; then
|
||||||
rm -rf "$tempFolder"
|
rm -rf "$tempFolder"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
updatePlex="true"
|
updatePlex="true"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue