atrocity wrote: 
> intermittently selecting just individual tracks rather than entire
> albums
The important pref value in your case is the *min* number of *un*played
songs. If the number of unplayed tracks in your client's playlist < min,
then DPL3 will add new tracks, so that the remaining -un-played tracks
in your client's playlist + the added unplayed tracks = max. number of
*un*played songs in your playlist.
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.
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. 

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



'Ratings Light FAQ' (https://github.com/AF-1/lms-ratingslight) ••••
'Dynamic Playlists 3 FAQ'
(https://github.com/AF-1/lms-dynamicplaylists#faq) ••••
'*List of all plugins*'
(https://github.com/AF-1/)
------------------------------------------------------------------------
AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306
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

Reply via email to