jellyfin-smartplaylist-plugin
jellyfin-smartplaylist-plugin copied to clipboard
MenberName compare with a string
Hello, thanks with your plugin. It's really awesome.
I don't know if it's a bug ; hovewer, if i'm write a playlist with a MemberName
type string, Jellyfin give me an error. I don't find a good operator to find a string.
With this example, i have this error :
{
"MemberName": "Name",
"Operator": "Contains",
"TargetValue": "String"
}
Ambiguous match found. at System.RuntimeType.GetMethodImplCommon(String name, Int32 genericParameterCount, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr) at Jellyfin.Plugin.SmartPlaylist.QueryEngine.Engine.BuildExpr[T](Expression r, ParameterExpression param)
at Jellyfin.Plugin.SmartPlaylist.QueryEngine.Engine.CompileRule[T](Expression r)
at Jellyfin.Plugin.SmartPlaylist.SmartPlaylist.<>c.b__29_0(Expression r)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at Jellyfin.Plugin.SmartPlaylist.SmartPlaylist.CompileRuleSets()
at Jellyfin.Plugin.SmartPlaylist.SmartPlaylist.FilterPlaylistItems(IEnumerable`1 items, ILibraryManager libraryManager, User user)
at Jellyfin.Plugin.SmartPlaylist.ScheduleTasks.RefreshAllPlaylists.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
No error with other List Equal
, no error.