Sorry to bother you again. This playlist tests fine (once I changed
rand() to random() as explained in your wiki), but nothing is
played/added to the current playlist.


Code:
--------------------
    -- PlaylistName:Random songs from one trackyear
  -- PlaylistGroups:
  -- PlaylistParameter1:year:Select year:
  select customscan_track_attributes.url from customscan_track_attributes
        left join dynamicplaylist_history on
                customscan_track_attributes.id=dynamicplaylist_history.id and 
dynamicplaylist_history.client='PlaylistPlayer'
        where
  module='customtag'
  and attr='TRACKYEAR'
  and value='PlaylistParameter1'
  and dynamicplaylist_history.id is null
        order by random()
        limit 10;
--------------------


-- 
vagskal

2 x SB3 (wired), Receiver (wired), Boom (wireless), Controller, iPeng on
iPhone 4 & iPad, muso on remote computer running Win 7 64-bit | 7.6.2
(r33496) on Win XP
------------------------------------------------------------------------
vagskal's Profile: http://forums.slimdevices.com/member.php?userid=20778
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to