Jump to content

New Plugin: Smart Playlists 2.0


Recommended Posts

feerlessleadr
Posted

Works fine for me. Are you on 4.8 or the beta 4.9?

GrimReaper
Posted
4 hours ago, phreaq said:

I grabbed the latest dll

Where have you grabbed it from? GitHub is a bit behind (as is opening post), DL from here:

 

  • Agree 1
Posted

thank you, that one worked. I must have had an older version.

Posted
On 14/02/2024 at 22:00, Phunkless said:

1. copy the dll-file to your syno: e. g.  "/volume1/Data/SmartPlaylist.dll"  and shutdown your emby server

2. ssh to your syno: e. g.

in windows cmd

3.

(password = administrator pw)

4.

this should copy the dll from your Data folder to the emby plugin folder

5. restart emby and it will show up

 

4.9 beta here - also didn't work as in 4.8

I've tried that, no matter what I do I just keep getting, access denied.

Like I say, it would be so much easier if @ShanePcould add it to the Emby catalogue?

Posted
7 minutes ago, Ninko said:

I've tried that, no matter what I do I just keep getting, access denied.

Like I say, it would be so much easier if @ShanePcould add it to the Emby catalogue?

Sounds like a permissions issue. Make sure your user has RW access to the folder. Otherwise, access it as root and see what happens.

Posted

@OracleI'm logged in as admin, that should have access to everything?

Posted

What I use to do of course, is place the file in a backup set and just restore the plugins from that set, but since backups was changed, that no longer seems possible!

scarfaro
Posted

Hello

Thank you very much for this great plugin.

Can you please make it possible to select extra actors in Favorite and not just movies? Creating an “Any” list with all favorite actors is tedious and inflexible.

Thank you very much

  • 4 weeks later...
Posted

Hello,

thanks @ShanePgood work :)

I just updated to 4.8, and no Smart Playlists anymore.

Here you can find my log traces:

2024-06-20 11:34:14.051 Info App: Loading SmartPlaylist, Version=2.4.0.3, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/SmartPlaylist.dll
Version: 4.8.8.0
Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
Operating system: Linux version 6.1.0-18-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT
Framework: .NET 6.0.25
OS/Process: x64/x64
Runtime: opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /var/lib/emby
Application path: /opt/emby-server/system
System.Reflection.ReflectionTypeLoadException: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load type 'MediaBrowser.Model.Playlists.PlaylistCreationResult' from assembly 'MediaBrowser.Model, Version=4.8.8.0, Culture=neutral, PublicKeyToken=null'.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Emby.Server.Implementations.ApplicationHost.GetTypes(Tuple`2 assemblyInfo)
System.TypeLoadException: Could not load type 'MediaBrowser.Model.Playlists.PlaylistCreationResult' from assembly 'MediaBrowser.Model, Version=4.8.8.0, Culture=neutral, PublicKeyToken=null'.
Source: System.Private.CoreLib
TargetSite: System.RuntimeType[] GetTypes(System.Reflection.RuntimeModule)
2024-06-20 11:34:14.088 Error App: LoaderException: Could not load type 'MediaBrowser.Model.Playlists.PlaylistCreationResult' from assembly 'MediaBrowser.Model, Version=4.8.8.0, Culture=neutral, PublicKeyToken=null'.

Screenshot 2024-06-20 114132.png

GrimReaper
Posted
8 minutes ago, Leahkim said:

Hello,

thanks @ShanePgood work :)

I just updated to 4.8, and no Smart Playlists anymore.

Here you can find my log traces:

2024-06-20 11:34:14.051 Info App: Loading SmartPlaylist, Version=2.4.0.3, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/SmartPlaylist.dll
Version: 4.8.8.0
Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
Operating system: Linux version 6.1.0-18-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT
Framework: .NET 6.0.25
OS/Process: x64/x64
Runtime: opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /var/lib/emby
Application path: /opt/emby-server/system
System.Reflection.ReflectionTypeLoadException: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load type 'MediaBrowser.Model.Playlists.PlaylistCreationResult' from assembly 'MediaBrowser.Model, Version=4.8.8.0, Culture=neutral, PublicKeyToken=null'.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Emby.Server.Implementations.ApplicationHost.GetTypes(Tuple`2 assemblyInfo)
System.TypeLoadException: Could not load type 'MediaBrowser.Model.Playlists.PlaylistCreationResult' from assembly 'MediaBrowser.Model, Version=4.8.8.0, Culture=neutral, PublicKeyToken=null'.
Source: System.Private.CoreLib
TargetSite: System.RuntimeType[] GetTypes(System.Reflection.RuntimeModule)
2024-06-20 11:34:14.088 Error App: LoaderException: Could not load type 'MediaBrowser.Model.Playlists.PlaylistCreationResult' from assembly 'MediaBrowser.Model, Version=4.8.8.0, Culture=neutral, PublicKeyToken=null'.

Screenshot 2024-06-20 114132.png

You're using incompatible plugin version. 

Quote

2024-06-20 11:34:14.051 Info App: Loading SmartPlaylist, Version=2.4.0.3

As linked few posts above:

On 5/25/2024 at 8:45 PM, GrimReaper said:

Where have you grabbed it from? GitHub is a bit behind (as is opening post), DL from here:

 

 

Posted

Thanks ! Sorry I've read this post but clicked on the wrong link (July 21 one instead of March 24...)

Posted (edited)

I have not used this Plugin and there's 28 pages in this thread. Is the first post updated to show current information?

BTW, what does this do exactly? Will it create Playlists such as Yacht Rock for around the pool or Smooth Jazz for a cocktail party?

I'd like to download from there and give this a whirl and am on Windows Emby Server Beta 4.9.0.XX.

Edited by Sammy
nospotify
Posted

Hi @ShaneP- I am such a fan of this plugin but am having similar challenge finding & downloading the most recent version. Is it possible to load the most recent to GitHub, or put a direct link here? All the ones above don't lead to an active download link to the latest version.

Posted
On 3/12/2024 at 12:15 PM, ShaneP said:

Hey All,

 

So after some time, it seems to be running stable in my environment, so here it is... This has been a bit of a battle with compatibility and time, but hope all is good. Please log any issue you may find on the repo. (https://github.com/ShanePe/Emby.SmartPlaylist.Plugin/issues)

So to recap, main issue is that Emby front end has changed to not support additional files and they way .js are loaded and additional new backend libs to integrate. I did see an odd toast pop up when saving a playlist but have not been able to replicate.

NOTE: I did notice on firefox that I had to manually refresh the page sometimes if it doesn't load, trying to get to the bottom of this.

This is NOT backward compatible and built/tested on version Emby 4.8.10.

SmartPlaylist-2.5.0.4810.zip 290.34 kB · 240 downloads

Normally this is the latest version and it works for me with emby version 4.9.x.x for the time being.

Posted

So I dropped the dll from 2.5.1.4850 into AppData\Roaming\Emby-Server\programdata\plugins and reloaded the Emby Server.

The Plugin Loaded but I'm not sure what I'm supposed to do from here. Is there a guide somewhere?

ginjaninja
Posted
1 hour ago, Sammy said:

So I dropped the dll from 2.5.1.4850 into AppData\Roaming\Emby-Server\programdata\plugins and reloaded the Emby Server.

The Plugin Loaded but I'm not sure what I'm supposed to do from here. Is there a guide somewhere?

https://github.com/AnthonyMusgrove/Emby-ScripterX

shows how to send  event data to a script....

Posted
2 hours ago, ginjaninja said:

https://github.com/AnthonyMusgrove/Emby-ScripterX

shows how to send  event data to a script....

I just want to create playlists for my music so I can have stations similar to those on Apple Music, Pandora, Spotify, etc. How does Emby-ScripterX help me with this?

ginjaninja
Posted
14 hours ago, Sammy said:

I just want to create playlists for my music so I can have stations similar to those on Apple Music, Pandora, Spotify, etc. How does Emby-ScripterX help me with this?

apologies i misread the thread......ignore scripter-x 🙂

ive never seen instructions..,

Create a smart playlist by defining the criteria of its members

It is quirky and the ui sometimes doesnt show up..so try a browser refresh if you dont see anything.

image.thumb.png.e15dd36e83c532ff6f2a04bc571396c0.png

image.thumb.png.0ac4a559fe6efae9c631ba00a9c76d1e.png

image.thumb.png.78be34ce900369e2388d26d59f93dddf.png

nospotify
Posted
22 hours ago, Sammy said:

So I dropped the dll from 2.5.1.4850 into AppData\Roaming\Emby-Server\programdata\plugins and reloaded the Emby Server.

The Plugin Loaded but I'm not sure what I'm supposed to do from here. Is there a guide somewhere?

Where did you find this version of the dll?

  • 4 weeks later...
cremonies
Posted

Im trying to make a 5 episode playlist for my kids that will update each day that only displays tv-Y shows.

Random shows but with the episodes in order.

 My current settings

Update: daily

Limit max: 5

Limit order: episode (no idea what this actually does)

It is only grabbing one show and the episodes are out of order.

Is there a guide that explains each setting?

What is the difference between update LIve vs shuffle daily vs daily?

 

Posted

Hi, This plugin is one of the most important plugin for Emby but unfortunately it has stopped working for me.

The playlists are showing only for me but it doesn't show to any other user.

Emby 4.8.8.0

Plugin 2.5.0

Tried to uninstall it tried to restart everything tried to duplicate the playlists tried to create new ones but still nothing is showing to the other users.

Really appreciate any help on this.

@ShaneP

@GrimReaper

cremonies
Posted
6 minutes ago, fahad92 said:

Hi, This plugin is one of the most important plugin for Emby but unfortunately it has stopped working for me.

The playlists are showing only for me but it doesn't show to any other user.

Emby 4.8.8.0

Plugin 2.5.0

Tried to uninstall it tried to restart everything tried to duplicate the playlists tried to create new ones but still nothing is showing to the other users.

Really appreciate any help on this.

@ShaneP

@GrimReaper

Emby has updated the playlist to be private by default.

Steps:

1. Open the playlist you created.

2. Click (...) more

3. Click manage collaboration.

4.change visibility to collaboration.

5. Select each user to allow visibility or edibility.

Done.

  • Thanks 1
Posted
2 hours ago, cremonies said:

Emby has updated the playlist to be private by default.

Steps:

1. Open the playlist you created.

2. Click (...) more

3. Click manage collaboration.

4.change visibility to collaboration.

5. Select each user to allow visibility or edibility.

Done.

 

Thank you so much

  • 3 weeks later...
Lizardman
Posted

Hi folks, I'm wondering if someone better versed with playlist construction would be able to help me set something up.

 

I want to create a playlist that picks a random whole album, and everyday it refreshes with a new album (basically an album of the day playlist) . I've tried a few different things, but not quite managed it. Thought I'd throw it out there in case anyone has suggestions on how to do it.

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