2.28 - Only ignore instrumental releases by disambiguation, not release group, enable by default
#159 - Further improvements... By default if not configured, ignore instrumental releases. However, the script will never ignore release groups that contain Instrumental in the album name/title. This will allow you to download instrumental releases when it happens to be in the main release group title and ignore it when it just happens to be a alternate version of a particular album/release group (disambiguation)
This commit is contained in:
parent
df1b9eb846
commit
1487dd7837
1 changed files with 13 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
scriptVersion="2.27"
|
scriptVersion="2.28"
|
||||||
scriptName="Audio"
|
scriptName="Audio"
|
||||||
|
|
||||||
### Import Settings
|
### Import Settings
|
||||||
|
@ -36,7 +36,7 @@ verifyConfig () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$ignoreInstrumentalRelease" ]; then
|
if [ -z "$ignoreInstrumentalRelease" ]; then
|
||||||
ignoreInstrumentalRelease="false"
|
ignoreInstrumentalRelease="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
audioPath="$downloadPath/audio"
|
audioPath="$downloadPath/audio"
|
||||||
|
@ -1277,13 +1277,17 @@ SearchProcess () {
|
||||||
#echo "Debugging :: $loopCount :: $releaseProcessCount :: $lidarrArtistForeignArtistId :: $lidarrReleaseTitle :: $lidarrAlbumReleasesMinTrackCount-$lidarrAlbumReleasesMaxTrackCount :: $lidarrAlbumReleaseTitleFirstWord :: $albumArtistNameSearch :: $albumTitleSearch"
|
#echo "Debugging :: $loopCount :: $releaseProcessCount :: $lidarrArtistForeignArtistId :: $lidarrReleaseTitle :: $lidarrAlbumReleasesMinTrackCount-$lidarrAlbumReleasesMaxTrackCount :: $lidarrAlbumReleaseTitleFirstWord :: $albumArtistNameSearch :: $albumTitleSearch"
|
||||||
|
|
||||||
|
|
||||||
# ignore instrumental releases
|
if "$lidarrAlbumTitle" | grep -i "instrumental" | read; then
|
||||||
if [ "$ignoreInstrumentalRelease" == "true" ]; then
|
sleep 0.01
|
||||||
if echo "$lidarrReleaseTitle" | grep -i "instrumental" | read; then
|
else
|
||||||
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Instrumental Release Found, Skipping..."
|
# ignore instrumental releases
|
||||||
continue
|
if [ "$ignoreInstrumentalRelease" == "true" ]; then
|
||||||
fi
|
if echo "$lidarrReleaseTitle" | grep -i "instrumental" | read; then
|
||||||
fi
|
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Instrumental Release Found, Skipping..."
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Skip Various Artists album search that is not supported...
|
# Skip Various Artists album search that is not supported...
|
||||||
if [ "$lidarrArtistForeignArtistId" != "89ad4ac3-39f7-470e-963a-56509c546377" ]; then
|
if [ "$lidarrArtistForeignArtistId" != "89ad4ac3-39f7-470e-963a-56509c546377" ]; then
|
||||||
|
|
Loading…
Reference in a new issue