|
|
#1 |
|
Junior Member
Join Date: Nov 2006
Posts: 3
|
Where are ratings stored?
When you right click on a playlist entry, there is the option to select a rating for that song. Where is this information stored? I would like to develop a plugin that uses this information as a weighted value to help determine which songs Winamp should play most frequently. If a free plugin like this already exists (I couldn't fine one), please let me know. Thanks!
|
|
|
|
|
|
#2 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,278
|
in the media library database. i think there's apis for getting/setting the rating of a file in the sdk, a search for 'rating' should show up anything and should help to get you going
-daz |
|
|
|
|
|
#3 |
|
Member
Join Date: Sep 2006
Posts: 89
|
There are WM_COMMAND messages for setting the rating (for current item as well as selected items). I guess SDK lacks functionality of getting the rating.
|
|
|
|
|
|
#4 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,278
|
well i see IPC_SETRATING and IPC_GETRATING which have been in the 5.04 sdk for a good 2 years or so now. using IPC_GETLISTPOS and IPC_SETPLAYLISTPOS, it's possible to make it work for any playlist item that you want (current current position, set to the one wanted, call the rating api's as needed and then restore the current entry to where it was on starting)
-daz |
|
|
|
|
|
#5 |
|
Member
Join Date: Sep 2006
Posts: 89
|
Oh, I missed that, because this message is "in-process only" section. Haven't yet got so far in my class implementation.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|