mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Media: updates naming convention from mediacover to media-cover for media cover logo sources
This commit is contained in:
+1
-1
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user