Skip to content

Commit

Permalink
disable prioCustomContent if lower audio id is allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Aug 30, 2024
1 parent 00416a0 commit 691c474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler_cloud.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ error_t handleCloudFreshnessCheck(HttpConnection *connection, const char_t *uri,

tonieInfo->updated = boxAudioId < serverAudioId;
tonieInfo->updated = tonieInfo->updated || (client_ctx->settings->cloud.updateOnLowerAudioId && (boxAudioId > serverAudioId));
if (client_ctx->settings->cloud.prioCustomContent)
if (client_ctx->settings->cloud.prioCustomContent && !client_ctx->settings->cloud.updateOnLowerAudioId)
{
if (custom_box && !custom_server)
tonieInfo->updated = false;
Expand Down

0 comments on commit 691c474

Please sign in to comment.