Media: updates naming convention from mediacover to media-cover for media cover logo sources

This commit is contained in:
李通洲
2025-11-11 14:42:55 +08:00
parent a9f1f9a647
commit 084f9294f2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ Features:
* Adds the command-line flag `--dynamic-interval <interval-in-ms>` to enable dynamic output auto-refresh (#2041)
* Due to internal limitations, some modules do not support dynamic updates (notably Display and Media)
* Adds support for using the current playing media's cover art as a logo source (Media / Logo)
* Usage: `"logo": { "type": "<image-protocol>", "source": "mediacover" }`
* Usage: `"logo": { "type": "<image-protocol>", "source": "media-cover" }` in JSON config; or `--<image-protocol> media-cover` in command line
* Supports local sources only
* Adds native GPU detection support on OpenBSD and NetBSD (instead of depending on `libpciaccess`) (GPU)
* No functional changes
+1 -1
View File
@@ -485,7 +485,7 @@ static bool updateLogoPath(void)
if (ffStrbufEqualS(&options->source, "-")) // stdin
return true;
if (ffStrbufIgnCaseEqualS(&options->source, "mediacover"))
if (ffStrbufIgnCaseEqualS(&options->source, "media-cover"))
{
const FFMediaResult* media = ffDetectMedia(true);
if (media->cover.length == 0)