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 > > > > > That criteria in my music collection finds 124 songs. I'd like to put > -that- on play.
Thinking about this some more. Would it make sense to allow creation of 'Smart Mixes' that will select a number of tracks, allow this to be added to the queue, and then DSTM takes over adding new tracks. DSTM, however, would not know about the SmartMix, just that these would be the initial songs to create mixes from. If so creating another API that returns X songs based upon some attributes should be doable. It then requires the plugin to implement a JSONRPC and the creation of a UI to create these mixes. Obviously for me the UI would be created in Material. I know SlimBrowse would allow some sort of UI creation for this, but that's beyond my knowledge level at the mo - and as I -only- use Material it's not of major importance to me. e.g. I would add a 'Smart Mixes' (or similar) entry to 'My Music' to list current mixes, allow editing, etc. The edit dialog would allow you to specify which attributes to use, number of tracks, and (perhaps) order of tracks (closest to attributes, random, etc.) *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 plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins