This is a heavily modified fork of the DSTM part of the standard LMS MusicIP/MusicMagic plugin. The following enhancements have been made: - Only the DSTM part of the plugin remains. This means no support for Create Mix, and the plugin will not query MusicIP for a list of supported files when LMS starts - Tracks chosen by MusicIP can be excluded from a mix if they are not within the same genre group as the seed tracks. Genre groups are defined in a separate JSON file. e.g. you can have a group with Rock, Hard Rock, Metal if a seed track contains one of these genres, then only tracks which also have one of these will be used. Likewise if a track in the mix is in one of these groups, but the seed tracks are not, then the track is also excluded. - Filter out tracks with matching artist from last 15 tracks - Filter out tracks with matching album from last 25 tracks - Filter out tracks with matching artist from 5 seed tracks - Prevent tracks from repeating within 100 tracks - Exclude tracks whose artist is in a configured set of exclude artists - Exclude tracks from albums in a configured set of exclude albums - Optionally exclude tracks based on min/max duration - Optionally exclude Christmas tracks (based on genre Christmas, XMas, xmas, or Xmas) if not in December - Convert LMS paths to MusicIP path, and vice versa The plugin will ask MusicIP to create a mix of 50 tracks. These tracks will then be filtered using the rules above until 12 are remaining. From these 12 tracks 5 will be chosen at random. If the filtering removes too many tracks (so there are less than 5) then tracks filtered by 3, 4, and 5 (above) will be added to make 5 tracks.
This plugin can be installed by using a release ZIP file from 'github' (https://github.com/CDrummond/lms-mipmixer/releases), or by adding my 'repo file' (https://raw.githubusercontent.com/CDrummond/lms-plugins/master/repo.xml) to LMS. *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json 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=112714
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
