diff --git a/src/Jellyfin.Plugin.MediaBar/Configuration/PluginConfiguration.cs b/src/Jellyfin.Plugin.MediaBar/Configuration/PluginConfiguration.cs index 28117ae..e9fbbd7 100644 --- a/src/Jellyfin.Plugin.MediaBar/Configuration/PluginConfiguration.cs +++ b/src/Jellyfin.Plugin.MediaBar/Configuration/PluginConfiguration.cs @@ -11,5 +11,9 @@ namespace Jellyfin.Plugin.MediaBar.Configuration public class PluginConfiguration : BasePluginConfiguration { public MediaBarState Enabled { get; set; } = MediaBarState.Enabled; + + public bool UseAvatarsFile { get; set; } = true; + + public string AvatarsPlaylist { get; set; } = string.Empty; } } \ No newline at end of file diff --git a/src/Jellyfin.Plugin.MediaBar/Configuration/config.html b/src/Jellyfin.Plugin.MediaBar/Configuration/config.html index a1298fb..b86fc59 100644 --- a/src/Jellyfin.Plugin.MediaBar/Configuration/config.html +++ b/src/Jellyfin.Plugin.MediaBar/Configuration/config.html @@ -28,6 +28,24 @@ Whether the media bar should appear or not. +
+ +
If checked, the plugin will look for a list.txt file in the avatars directory at the root of jellyfin-web.
+
+
+ + + +
If populated, and "Use physical avatars file" is disabled, this is the name of the playlist which is used to populate the media bar.
+ If empty, the media bar will randomly populate.
+