v3.4 - Adjust naming to match tidal video script
This commit is contained in:
parent
fff1bb86db
commit
a8d3a9891d
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
scriptVersion="3.3"
|
scriptVersion="3.4"
|
||||||
scriptName="Video"
|
scriptName="Video"
|
||||||
|
|
||||||
### Import Settings
|
### Import Settings
|
||||||
|
@ -585,7 +585,8 @@ VideoProcess () {
|
||||||
for imvdbVideoData in $(ls /config/extended/cache/imvdb/$lidarrArtistMusicbrainzId--*.json); do
|
for imvdbVideoData in $(ls /config/extended/cache/imvdb/$lidarrArtistMusicbrainzId--*.json); do
|
||||||
imvdbProcessCount=$(( $imvdbProcessCount + 1 ))
|
imvdbProcessCount=$(( $imvdbProcessCount + 1 ))
|
||||||
imvdbVideoTitle="$(cat "$imvdbVideoData" | jq -r .song_title)"
|
imvdbVideoTitle="$(cat "$imvdbVideoData" | jq -r .song_title)"
|
||||||
videoTitleClean="$(echo "$imvdbVideoTitle" | sed -e "s/[^[:alpha:][:digit:]$^&_+=()'%;{},.@#]/ /g" -e "s/ */ /g" | sed 's/^[.]*//' | sed 's/[.]*$//g' | sed 's/^ *//g' | sed 's/ *$//g')"
|
videoTitleClean="$(echo "$imvdbVideoTitle" | sed 's%/%-%g')"
|
||||||
|
videoTitleClean="$(echo "$videoTitleClean" | sed -e "s/[:alpha:][:digit:]._' -/ /g" -e "s/ */ /g" | sed 's/^[.]*//' | sed 's/[.]*$//g' | sed 's/^ *//g' | sed 's/ *$//g')"
|
||||||
imvdbVideoYear=""
|
imvdbVideoYear=""
|
||||||
imvdbVideoYear="$(cat "$imvdbVideoData" | jq -r .year)"
|
imvdbVideoYear="$(cat "$imvdbVideoData" | jq -r .year)"
|
||||||
imvdbVideoImage="$(cat "$imvdbVideoData" | jq -r .image.o)"
|
imvdbVideoImage="$(cat "$imvdbVideoData" | jq -r .image.o)"
|
||||||
|
|
Loading…
Reference in a new issue