Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 9 123 ... LastLast
Results 1 to 10 of 88
  1. #1
    Senior Member
    Join Date
    Mar 2017
    Posts
    2,112

    Announce: MusicIP DSTM Mixer

    This is a heavily modified fork of the DSTM part of the standard LMS MusicIP/MusicMagic plugin. The following enhancements have been made:
    1. 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
    2. 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.
    3. Filter out tracks with matching artist from last 15 tracks
    4. Filter out tracks with matching album from last 25 tracks
    5. Filter out tracks with matching artist from 5 seed tracks
    6. Prevent tracks from repeating within 100 tracks
    7. Exclude tracks whose artist is in a configured set of ‘exclude artists’
    8. Exclude tracks from albums in a configured set of ‘exclude albums’
    9. Optionally exclude tracks based on min/max duration
    10. Optionally exclude ‘Christmas’ tracks (based on genre – ‘Christmas’, ‘XMas’, ‘xmas’, or ‘Xmas’) if not in December
    11. 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, or by adding my repo file to LMS.
    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.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,452

    Announce: MusicIP DSTM Mixer

    ....and it doesn't use sync calls to MIP any more? :-)

    No need for
    https://github.com/CDrummond/lms-mip.../Plugin.pm#L21
    then.

    If only the analysis didn't take that long... I gave up using MIP a few
    years ago, even though its mixes were better than anything I've come up
    with since.

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Mar 2017
    Posts
    2,112
    Quote Originally Posted by mherger View Post
    ....and it doesn't use sync calls to MIP any more? :-)
    Yeah, I made the change you suggested.

    Quote Originally Posted by mherger View Post
    That line should be removed, its a left over.

    Quote Originally Posted by mherger View Post
    If only the analysis didn't take that long... I gave up using MIP a few
    years ago, even though its mixes were better than anything I've come up
    with since.
    After the initial bulk import its not that bad. But this slowness was why I looked at 'Musly' (see https://forums.slimdevices.com/showt...by-similarity)) Which is much faster, but (IMHO) the mixes are not as nice.
    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.

  4. #4
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    5,008
    Will this work if there is only one track in the seeding playlist?

    Sent from my Pixel 3a using Tapatalk

  5. #5
    Senior Member
    Join Date
    Mar 2017
    Posts
    2,112
    Quote Originally Posted by slartibartfast View Post
    Will this work if there is only one track in the seeding playlist?
    Yes. It chooses up to 5 - well it asks DSTM for the seed tracks, and I'm pretty sure that is up to 5 seeds.
    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.

  6. #6
    Senior Member bakker_be's Avatar
    Join Date
    May 2009
    Location
    Kwaadmechelen, Belgium
    Posts
    913
    Intrigued
    I'm a longtime MusicIP user, along with SpiceFly SugarCube. I'll give this one a good go to compare it.
    Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901 + Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer PDP-LX5090H
    Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
    Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
    Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel Ultima 20 Mk 2
    Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey + Topping A30 + Focal Elear
    Car: TBC ...

  7. #7
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    5,008
    Quote Originally Posted by cpd73 View Post
    Yes. It chooses up to 5 - well it asks DSTM for the seed tracks, and I'm pretty sure that is up to 5 seeds.
    It doesn't seem to add anything to the queue. I am just using the default settings.

    Sent from my Pixel 3a using Tapatalk

  8. #8
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    5,008
    Quote Originally Posted by slartibartfast View Post
    It doesn't seem to add anything to the queue. I am just using the default settings.

    Sent from my Pixel 3a using Tapatalk
    After trying this mixer DSTM doesn't seem to work at all even with song mix.

    Sent from my Pixel 3a using Tapatalk

  9. #9
    Senior Member
    Join Date
    Mar 2017
    Posts
    2,112
    Quote Originally Posted by slartibartfast View Post
    After trying this mixer DSTM doesn't seem to work at all even with song mix.
    Check your LMS log files - its highly likely I've made an error somewhere. Might need to inrease the log level for this plugin and DSTM.

    It works fine for my system, but then that's always the case when developing something...

    Also, are you sure you've seleceted "MusicIP Mixer" (this plugin) not "MusicIP Mix" (the existing LMS plugin)?
    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.

  10. #10
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    5,008
    Just had a thought. Do I need to input a path to Music IP? If so what would the format be?

    Sent from my Pixel 3a using Tapatalk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •