Compare commits

..

2 commits

2 changed files with 4 additions and 2 deletions

View file

@ -263,7 +263,7 @@ namespace Jellyfin.Plugin.SmartPlaylist.Lisp {
private static Type? GetType(string name) {
return Type.GetType(
name,
(name) => { return AppDomain.CurrentDomain.GetAssemblies().Where(z => z.FullName == name.FullName).FirstOrDefault(); },
(name) => { return AppDomain.CurrentDomain.GetAssemblies().Where(z => (z.FullName != null) && z.FullName.StartsWith(name.FullName)).FirstOrDefault(); },
null,
true
);

View file

@ -37,7 +37,9 @@ namespace Jellyfin.Plugin.SmartPlaylist {
(invoke (lower (car (getitems item "Name"))) "Contains" (list (lower x)))))
(define is-favourite is-favorite)
(define all-genres (lambda (want have) (all (lambda (x) (is-genre x have)) want)))
(define any-genres (lambda (want have) (any (lambda (x) (is-genre x have)) want))))
(define any-genres (lambda (want have) (any (lambda (x) (is-genre x have)) want)))
(define get-name (lambda (x) (car (getitems x "Name"))))
(define find-parent (lambda (typename) (invoke-generic item "FindParent" nil (list typename)))))
""";
}
public string InitialProgram { get; set; }