Jump to content

New Plugin: Smart Playlists 2.0


Recommended Posts

Posted
3 hours ago, FredFeinbein said:

Yeah its a shame, i really miss the smart playlist creation

Hmm, it is still working for me. Version 2.5.0.0

Posted
2 hours ago, shinedou said:

Hmm, it is still working for me. Version 2.5.0.0

Oh word? How'd you get it set up?

Posted
1 hour ago, JBloom91 said:

Oh word? How'd you get it set up?

Actually after looking it is actually the version 2.5.0.4810 ShaneP released as a fix for Emby server version 4.8.1.0. It's located here 

 

I am currently running this version with Emby Sever 4.8.11.0

I have done nothing special to get it working. It has worked for me since it was made available.

Posted

Fine here too.

For those who can't get it to work - are you running beta servers? Maybe it's 4.9+ that breaks the plug in.

  • Agree 1
Posted
On 9/13/2025 at 12:41 PM, JBloom91 said:

Oh word? How'd you get it set up?

For me, I had to setup the playlists first, then add my music to the library. It was the only way the plugin would "see" and add the music to the playlists.

TheLivingBubba
Posted
On 9/14/2025 at 4:14 AM, emdubya77 said:

Fine here too.

For those who can't get it to work - are you running beta servers? Maybe it's 4.9+ that breaks the plug in.

I just tried to run it on Version 4.9.1.34 beta and it doesn't work. 

  • Thanks 1
  • 2 weeks later...
KevinSartori
Posted

Smart Playlists had been working fine for me, but I just checked and it's no longer launching with the 4.9.1.80 Emby server update.  I haven't run any of the Emby server betas, only the full public releases, so I believe I was running 4.8.11.0 prior to this when it was working fine.

The playlists are all still there for me to use, but I suspect they won't update as I add new music to my library.

  • Agree 3
Posted

Isn't this now supposed to be built into v4.9.1.80? I see no such plug-in or configuration setting.

gillmacca01
Posted
33 minutes ago, mattl1979 said:

Isn't this now supposed to be built into v4.9.1.80? I see no such plug-in or configuration setting.

Been pushed back

  • Sad 2
  • Agree 1
ginjaninja
Posted

wait what....?4.9.1.80?....im on 4.9.1.36 which i thought was latest [beta] version...maybe emby is protecting me and not offering the update.

seanbuff
Posted
17 minutes ago, ginjaninja said:

im on 4.9.1.36 which i thought was latest [beta] version..

That is the previously most widely available beta version. Be on the lookout for 4.9.2.1 which should be rolling out soon.

4.9.1.80 is that latest stable version.

  • Thanks 1
  • 3 weeks later...
Posted

Is plugin working with 4.9x versions of the emby server?

Posted (edited)
1 hour ago, LongMan said:

Is plugin working with 4.9x versions of the emby server?

No, not working on 4.9.1.80

First problem is:

 

The functions are still there in MediaBrowser.Controller.dll, however the function signatures have changed. Re-work is required to update the plugin to work with the following functions and who knows what else to work with the new version of Emby.

QueryResult GetAudioCodecs(InternalItemsQuery query, CancellationToken cancellationToken);
QueryResult GetVideoCodecs(InternalItemsQuery query, CancellationToken cancellationToken);

QueryResult GetSubtitleCodecs(
InternalItemsQuery query,
CancellationToken cancellationToken);

QueryResult GetVideoCodecs(InternalItemsQuery query, CancellationToken cancellationToken);

All now take a new variable a struct called a CancellationToken that seems to aid Emby in scheduling and managing of the requests of these functions. It also has other complex dependencies.

The last commit for this repo was 2024 Summer so it may be a while before a fix. Wait or roll back to the last working version of Emby if this plugin is needed.

Edited by pj223
Posted

I was able to download the source from github and give it a quick compatibility update. the build is in the first post. There are separate downloads for the 4.8 and 4.9 servers.

  • Thanks 3
ginjaninja
Posted
5 hours ago, Luke said:

I was able to download the source from github and give it a quick compatibility update. the build is in the first post. There are separate downloads for the 4.8 and 4.9 servers.

I cant see the plugin ui on 4.9.2.6...used the version for 4.9.1.80+ (2.5.1.4850)...anyone else seeing?

the address bar is

http://localhost:8096/web/index.html#!/configurationpage?name=smartplaylist.2.5.1.4850.html

 

  • Agree 1
Posted
9 hours ago, Luke said:

I was able to download the source from github and give it a quick compatibility update. the build is in the first post. There are separate downloads for the 4.8 and 4.9 servers.

Using 4.9 version with server 4.9.1.80, can't get into the admin interface.

Clicking on Smart Playlists from the admin menu results in the 3 dots 'busy' animation and nothing else, but the animation keeps playing when changing to different pages. Only a browser refresh gets rid of the animation.

2025-10-25 16:11:22.542 Error SmartPlaylistService-0HNGJQ06NJFHN:0000000B: Error processing request
	*** Error Report ***
	Version: 4.9.1.80
	Command line: /volume3/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp
	Operating system: Linux version 4.4.302+ (root@build7) (gcc version 12.2.0 (GCC) ) #81180 SMP Fri Oct 3 14:03:36 CST 2025
	OS/Process: x64/x64
	Framework: .NET 8.0.11
	Runtime: volume3/@appstore/EmbyServer/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/packages/EmbyServer/var
	Application path: /volume3/@appstore/EmbyServer/system
	System.MissingMethodException: System.MissingMethodException: Method not found: 'MediaBrowser.Model.Querying.QueryResult`1<System.String> MediaBrowser.Controller.Library.ILibraryManager.GetStreamLanguages(MediaBrowser.Controller.Entities.InternalItemsQuery, MediaBrowser.Model.Entities.MediaStreamType)'.
	   at Getter.<>c.<get_AudioLanguages>b__21_0()
	   at Getter.CreateListValues(Func`1 funct, String def)
	   at Getter.get_AudioLanguages()
	   at SmartPlaylist.Domain.CriteriaDefinition.CriteriaDefinitions.StreamAudioLanguageCriteriaDefinition.get_Values()
	   at SmartPlaylist.Services.SmartPlaylist.CleanupOldCriteriaDecorator.CleanupOldCriteria(SmartPlaylistDto dto)
	   at SmartPlaylist.Services.SmartPlaylist.CleanupOldCriteriaDecorator.CleanupSmartPlaylist(SmartPlaylistDto dto)
	   at System.Collections.Generic.List`1.ForEach(Action`1 action)
	   at SmartPlaylist.Services.SmartPlaylist.CleanupOldCriteriaDecorator.GetAllSmartPlaylistsAsync()
	   at SmartPlaylist.Services.SmartPlaylist.CacheableSmartPlaylistStore.<GetAllCachedSmartPlaylistAsync>b__8_0()
	   at SmartPlaylist.Infrastructure.MemCache.<>c__DisplayClass4_0.<<GetOrCreateManyAsync>b__0>d.MoveNext()
	--- End of stack trace from previous location ---
	   at SmartPlaylist.Infrastructure.MemCache.GetOrCreateManyAsync(Func`1 createAllFunc, TimeSpan absoluteExpiration)
	   at SmartPlaylist.Services.SmartPlaylist.CacheableSmartPlaylistStore.GetAllCachedSmartPlaylistAsync()
	   at SmartPlaylist.Services.SmartPlaylist.CacheableSmartPlaylistStore.LoadPlaylistsAsync(Guid userId)
	   at SmartPlaylist.PerfLoggerDecorators.Services.SmartPlaylistStorePerfLoggerDecorator.LoadPlaylistsAsync(Guid userId)
	   at SmartPlaylist.Api.SmartPlaylistService.Get(GetAppData request)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
	Source: SmartPlaylist
	TargetSite: SmartPlaylist.Domain.Values.ListValue[] <get_AudioLanguages>b__21_0()
	
2025-10-25 16:11:22.542 Info SmartPlaylistService-0HNGJQ06NJFHN:0000000B: http/1.1 Response 500 to host1. Time: 532ms. GET http://host2:8096/smartplaylist/appData?v=2.5.0.4810&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome macOS&X-Emby-Device-Id=4e362fe4-efba-45e9-9e64-c3deab38a468&X-Emby-Client-Version=4.9.1.80&X-Emby-Token=x_secret2_x&X-Emby-Language=en-gb&reqformat=json. 
2025-10-25 16:12:21.633 Info SessionsService-0HNGJQ06NJFHL:00000016: http/1.1 POST http://host2:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome macOS&X-Emby-Device-Id=4e362fe4-efba-45e9-9e64-c3deab38a468&X-Emby-Client-Version=4.9.1.80&X-Emby-Token=x_secret2_x&X-Emby-Language=en-gb&reqformat=json. Source Ip: host1, UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
2025-10-25 16:12:21.635 Info SessionsService-0HNGJQ06NJFHL:00000016: http/1.1 Response 204 to host1. Time: 2ms. POST http://host2:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome macOS&X-Emby-Device-Id=4e362fe4-efba-45e9-9e64-c3deab38a468&X-Emby-Client-Version=4.9.1.80&X-Emby-Token=x_secret2_x&X-Emby-Language=en-gb&reqformat=json. 

 

  • Agree 1
nospotify
Posted
12 hours ago, Luke said:

I was able to download the source from github and give it a quick compatibility update. the build is in the first post. There are separate downloads for the 4.8 and 4.9 servers.

Could you please include a link to those versions? Not sure where to find the new updates you posted on GitHub.

Posted
49 minutes ago, nospotify said:

Could you please include a link to those versions? Not sure where to find the new updates you posted on GitHub.

 

13 hours ago, Luke said:

the build is in the first post. There are separate downloads for the 4.8 and 4.9 servers.

 

Posted
4 hours ago, bobbyzero said:

Using 4.9 version with server 4.9.1.80, can't get into the admin interface.

Clicking on Smart Playlists from the admin menu results in the 3 dots 'busy' animation and nothing else, but the animation keeps playing when changing to different pages. Only a browser refresh gets rid of the animation.

2025-10-25 16:11:22.542 Error SmartPlaylistService-0HNGJQ06NJFHN:0000000B: Error processing request
	*** Error Report ***
	Version: 4.9.1.80
	Command line: /volume3/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp
	Operating system: Linux version 4.4.302+ (root@build7) (gcc version 12.2.0 (GCC) ) #81180 SMP Fri Oct 3 14:03:36 CST 2025
	OS/Process: x64/x64
	Framework: .NET 8.0.11
	Runtime: volume3/@appstore/EmbyServer/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/packages/EmbyServer/var
	Application path: /volume3/@appstore/EmbyServer/system
	System.MissingMethodException: System.MissingMethodException: Method not found: 'MediaBrowser.Model.Querying.QueryResult`1<System.String> MediaBrowser.Controller.Library.ILibraryManager.GetStreamLanguages(MediaBrowser.Controller.Entities.InternalItemsQuery, MediaBrowser.Model.Entities.MediaStreamType)'.
	   at Getter.<>c.<get_AudioLanguages>b__21_0()
	   at Getter.CreateListValues(Func`1 funct, String def)
	   at Getter.get_AudioLanguages()
	   at SmartPlaylist.Domain.CriteriaDefinition.CriteriaDefinitions.StreamAudioLanguageCriteriaDefinition.get_Values()
	   at SmartPlaylist.Services.SmartPlaylist.CleanupOldCriteriaDecorator.CleanupOldCriteria(SmartPlaylistDto dto)
	   at SmartPlaylist.Services.SmartPlaylist.CleanupOldCriteriaDecorator.CleanupSmartPlaylist(SmartPlaylistDto dto)
	   at System.Collections.Generic.List`1.ForEach(Action`1 action)
	   at SmartPlaylist.Services.SmartPlaylist.CleanupOldCriteriaDecorator.GetAllSmartPlaylistsAsync()
	   at SmartPlaylist.Services.SmartPlaylist.CacheableSmartPlaylistStore.<GetAllCachedSmartPlaylistAsync>b__8_0()
	   at SmartPlaylist.Infrastructure.MemCache.<>c__DisplayClass4_0.<<GetOrCreateManyAsync>b__0>d.MoveNext()
	--- End of stack trace from previous location ---
	   at SmartPlaylist.Infrastructure.MemCache.GetOrCreateManyAsync(Func`1 createAllFunc, TimeSpan absoluteExpiration)
	   at SmartPlaylist.Services.SmartPlaylist.CacheableSmartPlaylistStore.GetAllCachedSmartPlaylistAsync()
	   at SmartPlaylist.Services.SmartPlaylist.CacheableSmartPlaylistStore.LoadPlaylistsAsync(Guid userId)
	   at SmartPlaylist.PerfLoggerDecorators.Services.SmartPlaylistStorePerfLoggerDecorator.LoadPlaylistsAsync(Guid userId)
	   at SmartPlaylist.Api.SmartPlaylistService.Get(GetAppData request)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
	Source: SmartPlaylist
	TargetSite: SmartPlaylist.Domain.Values.ListValue[] <get_AudioLanguages>b__21_0()
	
2025-10-25 16:11:22.542 Info SmartPlaylistService-0HNGJQ06NJFHN:0000000B: http/1.1 Response 500 to host1. Time: 532ms. GET http://host2:8096/smartplaylist/appData?v=2.5.0.4810&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome macOS&X-Emby-Device-Id=4e362fe4-efba-45e9-9e64-c3deab38a468&X-Emby-Client-Version=4.9.1.80&X-Emby-Token=x_secret2_x&X-Emby-Language=en-gb&reqformat=json. 
2025-10-25 16:12:21.633 Info SessionsService-0HNGJQ06NJFHL:00000016: http/1.1 POST http://host2:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome macOS&X-Emby-Device-Id=4e362fe4-efba-45e9-9e64-c3deab38a468&X-Emby-Client-Version=4.9.1.80&X-Emby-Token=x_secret2_x&X-Emby-Language=en-gb&reqformat=json. Source Ip: host1, UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
2025-10-25 16:12:21.635 Info SessionsService-0HNGJQ06NJFHL:00000016: http/1.1 Response 204 to host1. Time: 2ms. POST http://host2:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome macOS&X-Emby-Device-Id=4e362fe4-efba-45e9-9e64-c3deab38a468&X-Emby-Client-Version=4.9.1.80&X-Emby-Token=x_secret2_x&X-Emby-Language=en-gb&reqformat=json. 

 

This log suggests you downloaded the 4.8 version by mistake.

Posted

I can't access the configuration page either, it's frozen. Emby version 4.9.1.80

  • Agree 2
Posted
12 minutes ago, Luke said:

This log suggests you downloaded the 4.8 version by mistake.

100% certain I downloaded the zip marked as the 4.9 version - SmartPlaylist-4.9.1.80.zip, the content was a 302kb dll, which matches with what I have in the Emby plugin folder.

  • Agree 1
Posted

as he said, in the first post of this plugin thread.

 

there are two links

 

Plugin for Emby Server 4.8:

and

Plugin for Emby Server 4.9.1.80+:

 

  • Thanks 1
nospotify
Posted (edited)
38 minutes ago, bobbyzero said:

100% certain I downloaded the zip marked as the 4.9 version - SmartPlaylist-4.9.1.80.zip, the content was a 302kb dll, which matches with what I have in the Emby plugin folder.

Same. Downloaded, installed, restarted Emby, clicked on "Smart Playlist" in settings and nothing happens.

Edited by nospotify
  • Agree 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...