Aren't the BPM tags scanned by the standard scanner into the tracks.bpm
column ? Do you really need Custom Scan to scan them ?

Try executing this SQL statement, either with your favorite SQL tool or
by installing the Database Query plugin and creating a "Free form
query":

Code:
--------------------
    
  select bpm,count(*) from tracks where bpm is not null group by bpm order by 
bpm desc
  
--------------------


What does it return ?

The general plan should probably be to create a playlist in SQL
Playlist plugin that takes a bpm parameter as input. The "Random for
rating" playlist type can probably be a good start if the bpm is
scanned by the standard scanner into the tracks table. If it isn't
scanned by the standard scanner it gets a bit more complex because then
you also need to join with the customscan_track_attributes table to do
the filtering.

By the way, how did you get the BPM tags into the flac files ? The last
time I checked there was only BPM calculation tools available that
supported MP3.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=80304

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to