Jump to content

New Plugin: Smart Playlists 2.0


Recommended Posts

  • 3 weeks later...
Posted

@LongManasked me to look at this plugin.

I identified some problems with the settings but couldn't be arsed looking through the whole code to find out how it worked so i explained to an AI what i found.
After a lot of tries and some more troubleshooting for what it gave me i might have something working.
It did require a whole new settings page and javascript for it so the settings will be a lot different.
 
I havn't tested it much my self but what i have tested works.
If nothing else it should be a good starting point for someone else to finish.

SmartPlaylist.dll SmartPlugin.rar

  • Like 3
Posted

Actually got it running with the original settings menu.
Basically a lot of stuff was no longer compatible and outdated.

Did the same as before, troubleshooted and told an AI my findings as i couldn't be bothered looking through most of the code.
Troubleshooted and corrected the code it gave me.
Rinse and repeat what felt like a thousand times.

Anyway... Here it is.

SmartPlaylist.dll Emby.SmartPlaylist.Plugin-master.rar

  • Like 2
  • Thanks 3
Posted
10 hours ago, yocker said:

Actually got it running with the original settings menu.
Basically a lot of stuff was no longer compatible and outdated.

Tested this version and everything seems to be working now, thanks!

For anyone else with "Live" playlists: updates don't trigger until the library changes - to force an update, toggle them off then on, or edit (no changes required) then save.

  • Like 1
ginjaninja
Posted
On 25/11/2025 at 21:48, yocker said:

Actually got it running with the original settings menu.
Basically a lot of stuff was no longer compatible and outdated.

Did the same as before, troubleshooted and told an AI my findings as i couldn't be bothered looking through most of the code.
Troubleshooted and corrected the code it gave me.
Rinse and repeat what felt like a thousand times.

Anyway... Here it is.

SmartPlaylist.dll 829 kB · 12 downloads Emby.SmartPlaylist.Plugin-master.rar 4.81 MB · 7 downloads

Thanks, can you share what the building blocks are to getting ai to do work?

Do you link one of the ais to visual studio and share an sdk with the ai and ask it to make suggestions?

is the ai able to run tests on compiled code and rework itself? or do you have to tell it whats not working manually...fascinating

 

 

 

Posted (edited)
On 11/27/2025 at 7:25 PM, ginjaninja said:

Thanks, can you share what the building blocks are to getting ai to do work?

Do you link one of the ais to visual studio and share an sdk with the ai and ask it to make suggestions?

is the ai able to run tests on compiled code and rework itself? or do you have to tell it whats not working manually...fascinating

Sorry, didn't see your post before now.

I opened the project folder in Visual Studio Code.
I manually troubleshooted for a bit.
Gave up as i didn't want to go through all the code.
i went to the menu view -> chat (still in visual code)
Told the AI my findings and what happens when trying to start the program plus error codes from Emby.
Pressed the send button and off it went.
Rinse and repeat the AI and troubleshooting part until it worked.

It has some limitations. AIs tend to focus on one problem, and that problem only, so if multiple things are wrong then it might not be of much help.

Edited by yocker
  • Thanks 1
Posted (edited)

Maybe I'm doing something wrong. I make playlists for movies consisting of certain actor(s). Every one I make doesn't work with movies. If i remove movies from the media item line and let it add everything, it only populates with TV episodes.

Edited by rigo8582
Posted
1 hour ago, rigo8582 said:

Maybe I'm doing something wrong. I make playlists for movies consisting of certain actor(s). Every one I make doesn't work with movies. If i remove movies from the media item line and let it add everything, it only populates with TV episodes.

Should work now.
This is not my plugin so all i've done is run it through an AI therefor can't guarantee nothing else is broke.

SmartPlaylist.dll Emby.SmartPlaylist.Plugin-master.zip

  • Like 2
  • Thanks 1
Posted

Is it possible to turn off the notification of "UpdateAllSmartPlaylistsCommand"? I've looked to see if I could turn it off at a system or user level but so far I've been unsuccessful.

Posted
46 minutes ago, rigo8582 said:

Is it possible to turn off the notification of "UpdateAllSmartPlaylistsCommand"? I've looked to see if I could turn it off at a system or user level but so far I've been unsuccessful.

Think i can disable it with a simple "false" flag.
But it would permanently disable it and possibly all notifications, not sure.

Posted

Possible to have it be toggled on or off by the user? I personally don't need to see the notification as its more of a distraction. Especially since its displayed during movie playback.

Posted
22 hours ago, rigo8582 said:

Possible to have it be toggled on or off by the user? I personally don't need to see the notification as its more of a distraction. Especially since its displayed during movie playback.

I can recommend looking at "Alternative Smart Playlists" by @mickle026 instead.
He's done an awesome job at a smart list plugin.

 

  • Like 1
  • Agree 1
Posted

If you have the time can make it without the notification it would be greatly appreciated as its really the only thing left.

 

The alternative smartplaylists at the moment isn't playing well for me.

Posted
9 hours ago, rigo8582 said:

If you have the time can make it without the notification it would be greatly appreciated as its really the only thing left.

 

The alternative smartplaylists at the moment isn't playing well for me.

Will look at it tomorrow. :)

  • Like 1
Posted

Two years ago, i asked if i could have a widget for unseen movies.

Those days, they said smart playlists could cover that, but it wasnt released.

Lol after 2 years i now see, it exists?

Right?

How do i install this? 

What do you guys have as smart playlists?

Thx in advance !

 

Maybe trending movies too ...

Give me some ideas 😛

Posted
1 hour ago, skank said:

Two years ago, i asked if i could have a widget for unseen movies.

Those days, they said smart playlists could cover that, but it wasnt released.

Lol after 2 years i now see, it exists?

Right?

How do i install this? 

What do you guys have as smart playlists?

Thx in advance !

 

Maybe trending movies too ...

Give me some ideas 😛

I suggest you find another smartplaylist plugin as this one doesn't seem to be maintained.

Posted
3 minutes ago, yocker said:

I suggest you find another smartplaylist plugin as this one doesn't seem to be maintained.

Really?

Altough it says 2.0 ..

There are others?

I also thought an official one would come? But none? Not even after 2 years? lol

Posted
12 minutes ago, skank said:

Really?

Altough it says 2.0 ..

There are others?

I also thought an official one would come? But none? Not even after 2 years? lol


@mickle026is making a new one and has done some awesome work.

I have heard (can not confirm) that the Emby Developers are also working on  a solution as we speak.

  • Like 1
Posted
28 minutes ago, yocker said:


@mickle026is making a new one and has done some awesome work.

I have heard (can not confirm) that the Emby Developers are also working on  a solution as we speak.

They've been working on one for years that I thought was meant to come out in 4.9 but didn't.

I would hope with all the fuss about playlists recently they'd be prioritising this task.

Posted (edited)
On 12/6/2025 at 4:28 AM, rigo8582 said:

If you have the time can make it without the notification it would be greatly appreciated as its really the only thing left.

 

The alternative smartplaylists at the moment isn't playing well for me.

Found the problem, i compiled it as a debug version and not release version so all the debug messages are shown.
Should be working now without the messages.

Edit:
To anyone reading this, i'm am not the developer or maintainer of this plugin.
I just ran it through an AI to fix it, nothing more.

SmartPlaylist.dll

Edited by yocker
  • Like 1
  • Thanks 4
Posted
On 12/7/2025 at 5:04 PM, yocker said:

Found the problem, i compiled it as a debug version and not release version so all the debug messages are shown.
Should be working now without the messages.

Edit:
To anyone reading this, i'm am not the developer or maintainer of this plugin.
I just ran it through an AI to fix it, nothing more.

SmartPlaylist.dll 847 kB · 8 downloads

Thank you!! Works Great!!!

  • Thanks 1
Posted

So it sounds like the SmartPlaylists is finally working. Excellent! But uh, does anyone know about Smart Collections?

Posted
38 minutes ago, JBloom91 said:

So it sounds like the SmartPlaylists is finally working. Excellent! But uh, does anyone know about Smart Collections?

Umm, isn't it the same? The SmartPlaylists plugin can also create smart collections.

Posted
1 hour ago, JBloom91 said:

But uh, does anyone know about Smart Collections?

 I think it does do some form of smart collections  BUT I don't think it has ever been able to do smart collections of music albums (if that is what you are looking for?).

image.png.067c5e6280c6928d0c563db3c11d122a.png

I did try to get this working for music albums quite a while back and asked about it, but never received any response at the time. The smart playlists are great for lists of songs, but it doesn't seem to work for album collection lists, Therefore I'm waiting to see what Emby comes up with for their own core integration.

If smart collections can be done for music albums now, perhaps someone else knows how???

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...