prabbit wrote: > > Imagine I want to query the music-similarity database for all songs with > these values and produce a playlist—that was SmartMix and that's what I > think the purpose of those values would or could be. > > > > > - happy: > 0.9 - aggressive: 0.4 - 0.6 - danceable: >0.75 - electronic: >0.8 - dark: >0.5 > > >
I have -started- work on this. Very early stage, but if you are interested you need to use the '5-smart-mixes' branch from your git checkout of lms-musicsimilarity. (Not sure about the name 'Smart Mix' will probably change). No way to create, edit, or delete these at the moment. But the plugin will list all ".attrmix" (e.g. "Sad songs.attrmix") files in LMS's playlists folder. You can then click on a "smart mix" and the new API is called - creating a mix of tracks. The file format is a key=value", with the keys detailed in https://github.com/CDrummond/music-similarity/blob/master/docs/API.md e.g. Code: -------------------- minbpm=30 maxbpm=100 danceable=52 count=20 genre=Pop;Dance -------------------- Note, 'Smart Mix' entry is shown under 'My Music' in Material but does not work with Default skin. Also, LMS will query music-similarity at start-up to see if Essentia is enabled - so its proably best if music-similarity is running before LMS. The plugin does check every 15 seconds for up to 5 minutes to obtain the Essentia level - so should not be required to already be started, but might help. *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here. ------------------------------------------------------------------------ cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686 View this thread: http://forums.slimdevices.com/showthread.php?t=115609
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
