From c5c2b86557e4c5d71bd526e6ce345e91fa0ff336 Mon Sep 17 00:00:00 2001 From: redxef Date: Sun, 22 Dec 2024 18:43:55 +0100 Subject: [PATCH] fix: default programs use updated global variables. --- Jellyfin.Plugin.SmartPlaylist/SmartPlaylistDto.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Plugin.SmartPlaylist/SmartPlaylistDto.cs b/Jellyfin.Plugin.SmartPlaylist/SmartPlaylistDto.cs index 7d2e05a..5a2f41b 100644 --- a/Jellyfin.Plugin.SmartPlaylist/SmartPlaylistDto.cs +++ b/Jellyfin.Plugin.SmartPlaylist/SmartPlaylistDto.cs @@ -41,8 +41,8 @@ namespace Jellyfin.Plugin.SmartPlaylist { [Serializable] public class SmartPlaylistDto : ISerializable { - private static string DEFAULT_PROGRAM = "(begin (invoke item \"IsFavoriteOrLiked\" (list user)))"; - private static string DEFAULT_SORT_PROGRAM = "(begin items)"; + private static string DEFAULT_PROGRAM = "(begin (invoke item \"IsFavoriteOrLiked\" (list *user*)))"; + private static string DEFAULT_SORT_PROGRAM = "(begin *items*)"; public SmartPlaylistId Id { get; set; } public SmartPlaylistLinkDto[] Playlists { get; set; } public string Name { get; set; }