Skip to content

Commit

Permalink
Minor fix for edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCaptain989 committed Aug 27, 2024
1 parent f8305b0 commit 5a8d9f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/BuildImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
echo "MODNAME=${{ env.MODNAME }}" >> $GITHUB_OUTPUT
echo "MULTI_ARCH=${{ env.MULTI_ARCH }}" >> $GITHUB_OUTPUT
# **** If the mod needs to be versioned, set the versioning logic below. Otherwise leave as is. ****
MOD_VERSION="2.7.1"
MOD_VERSION="2.7.2"
echo "MOD_VERSION=${MOD_VERSION}" >> $GITHUB_OUTPUT
outputs:
GITHUB_REPO: ${{ steps.outputs.outputs.GITHUB_REPO }}
Expand Down
2 changes: 1 addition & 1 deletion root/usr/local/bin/striptracks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ elif [ -n "$striptracks_api_url" ]; then
[ $striptracks_debug -ge 1 ] && echo "Debug|Using new video file id '$striptracks_videofile_id'" | log

# Check if video is unmonitored after the delete/import
if [ $striptracks_conf_unmonitor -eq 1 -a "$(echo "$striptracks_videoinfo" | jq -crM ".monitored")" = "false" ]; then
if [ ${striptracks_conf_unmonitor:-0} -eq 1 -a "$(echo "$striptracks_videoinfo" | jq -crM ".monitored")" = "false" ]; then
striptracks_message="Warn|'$striptracks_title' is unmonitored after deleting the original video. Compensating for ${striptracks_type^} configuration."
echo "$striptracks_message" | log
# Set video to monitored again
Expand Down

0 comments on commit 5a8d9f6

Please sign in to comment.