AF1 wrote: > > For album dynamic playlists, there's the unlimited option so the max > pref value won't split albums in the middle. Then album dynamic > playlists should add 1 (or whatever album limit your SLQite code has) > entire album. So if you use the unlimted option in your dynamic > playlist, it will effectively disable the "max number of unplayed songs" > for this playlist. >
Perfect, exactly what I want. And new albums finally did get added last night (about 150 tracks), though once again after properly adding several complete albums, it then put a bunch of random single tracks down at the end: 38774 AF1 wrote: > > But there are corner cases I suppose. Example: your *min* number of > -un-played tracks = 4, DPL selects an EP or CD single with only 3 tracks > (both considered 'albums"). That's below the min number of unplayed > tracks, so it will add another album until the number of unplayed tracks > in your client's playlist >= min. number of unplayed tracks. Anyway, > that's the idea behind all of this. Thought you might be interested in > how this works. I definitely am interested and your explanation makes perfect sense, thank you! AF1 wrote: > > BTW if a track's play count is null, its lastplayed value should be null > too. You only need: > ifnull(tracks_persistent.playCount, 0) = 0 I was tracking that for a couple years back when still using Erland's plugin and there were always inconsistencies. I had tracks with a lastplayed value and no count and vice versa. When you rewrote the plugin, I imported the old data so that I wouldn't have to start again from the top (my goal is to eventually play *everything*) and that included the odd inconsistencies that came from who-knows-where. +-------------------------------------------------------------------+ |Filename: Screenshot_20220924-013840.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=38774| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009 View this thread: http://forums.slimdevices.com/showthread.php?t=115501 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins