Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,482

    ANNOUNCE: Group Players

    Here is a plugin which adds a new type of players to LMS: Group Players

    A Group Player is a new player that you can create using the plugin settings. Each Group Player
    represents an arbitrary set of real SB players and you can create as many Group Players you want

    They will appear in LMS like any other "real" player but as soon as you start to play on a Group Player,
    all the real players (the "members") will be assembled in a synchronization group and will play together.

    When a Group Player is stopped or paused, the group is immediately disassembled. It's really on-the-fly
    LMS group creation. Of course, a real SB PLayer can be member of multiple groups, there is no limitation
    in combinations.

    For example, you can have a Group Player named ‘Master Bedroom’ made of a SB and a Duet, a
    Group Player named ‘1st Floor’ that contains these two plus a Boom and a last Group Player named
    ‘Whole House’ which adds another Boom and a duet.

    You can also think about "scenes" where a Group Player is more dedicated to a type of usage, rather
    than to a topology of players. For example when you listen to Podcasts, you might want a certain set
    of SB to play across the whole house, but not all of them, then just create another Group Player
    named "Podcast"

    That's pretty much about it. A Group Player shall be seen by LMS as any other SB player,
    so - in theory - everything that works with a player should work with a group

    You cannot have nested Group Players - DON’T TRY - there is some protection against that,
    but it's not fool proof, just DON'T

    Code:
    dev: http://downloads.sourceforge.net/project/lms-groups/dev/repo-sf.xml
    
    no need to add a repo for the stable version, but as the "official" 3rd party plugins 
    might take some time to get updated, here is the direct link 
    
    stable: http://downloads.sourceforge.net/project/lms-plugins-philippe44/repo-sf.xml
    A few more details

    • Volume of a Group Player is the average of the volume of each players. Changes made to the Group
      Player are applied to each player with the same ratio. To set all member's volume at the same level,
      just set the Group Player Volume to 0 then set it to the desired volume.
    • The Volume settings of each member only applies when the group is assembled. The values before
      the "gathering" happended are restored when the group breaks up.
    • Powering on/off the Group Player powers on/off all members. This can be disabled in settings
    • All members of a Group Player can be powered on when starting to play. They will be restored to their
      previous power state when the group is broken up. This can be disabled in Settings


    More details and special cases:

    • Powering on/off a member has no effect on the Group Player. A powered off member will restart playing
      when powered back on but only if it was already on when the gathering started
    • When pausing a member, the Group Player stops but the group is *not* broken up and this is the only
      exception. It is assumed that resume with occur later using one of the members (for example using pause
      button on Radio or a Boom). Be careful with that, do not try to change playlist
    • When stopping (or clearing playlist) of a member, only that member stops, the rest of the gathering continues
      without that member. That allows you to start playing something on that player without affecting the
      other members
    • So if you change the playlist of a member, only that member will be affected. You must change the
      Group Player if you want all to be affected.
    • If a member was part of a LMS sync group before the Group Player started, it is re-affected to that group
      when the gathering is broken up. If that LMS sync group is playing then the ex-member will be powered
      off (otherwise it would start playing what’s on the group, which could be inconvenient)
      This re-assembly can be disabled (which I prefer)
    • If a member was not connected when a Group Player started to play, it will not join the group when
      connecting. You must pause/resume the Group Player
    • If a member belongs to Group Player A and B and a track is started on B while A was playing, the member
      moves to B without interrupting the playback on A. Note that when B finished, this Player will NOT be
      re-affected to A.
      Now, if a play/resume/playlist change happen on A, then that member will be re-affected to A. Basically,
      whoever came last wins the member
    • You cannot manually add or remove members to a Player Groups using the LMS ‘synchronize’ menu (or iPeng).
      You must use the plugin’s settings

    Note that synchronization might be off for a fraction of a second when starting to play while the gathering happens

    One very interesting trick: when many players are assembled together using LMS regular synchronization feature,
    network bandwidth might be badly affected when playing hi-res file. It’s always possible to limit bitrate of players,
    but limitation will apply even when they plays alone.

    As a Group Player is seen by LMS as yet another player, it is possible to limit its bitrate, in which case LMS will
    only apply the limitation when all the members play together, but not individually

    And many thanks to Michael for his help, advices and code contributions
    Last edited by philippe_44; 2018-01-13 at 09:02.
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  2. #2
    Senior Member
    Join Date
    Apr 2013
    Location
    UK
    Posts
    1,056
    Nice!


    Transcoded from Matt's brain by Tapatalk
    --
    Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0
    Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums..

  3. #3
    Senior Member
    Join Date
    Aug 2012
    Posts
    184
    This awesome! I was just searching for this! I was about to reply in a previous thread where you said you were thinking about making a plugin an here it is!

    Trying it now!

  4. #4
    Senior Member
    Join Date
    Aug 2012
    Posts
    184
    Long shot and prob not possible however thought I'd ask anyways. Is there anyway of Caching the playlists on players before the get drafted to the Group then when they are released back to being on their own then the cached/saved playlist is restored? Just an idea.

    Working great here. I love that they can be synced and then I can play something an individual player in the group. Pretty handy.

    Cheers

  5. #5

    Great plugin!

    Hi Philippe,

    Thanks very much for this plugin, works great and have been using it all the time over the last couple of weeks!

    Any chance of a new selection in settings that would disable the auto volume settings, so that for example I could
    have the group player set at 100 and then control volume individually on each squeezebox instance without affecting
    the others?

    Thanks again!

  6. #6
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,482
    Quote Originally Posted by gegen View Post
    Hi Philippe,

    Thanks very much for this plugin, works great and have been using it all the time over the last couple of weeks!

    Any chance of a new selection in settings that would disable the auto volume settings, so that for example I could
    have the group player set at 100 and then control volume individually on each squeezebox instance without affecting
    the others?

    Thanks again!
    I don't understand what you mean by each squeezebox instance. You can, if you want, change the volume of one player it has no influence on other members. All you see is the volume of the Group Player changing, but that does not impact the others. Only if you touch the Group Player volume does it change all members
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  7. #7
    Senior Member
    Join Date
    Aug 2012
    Posts
    184
    Quote Originally Posted by philippe_44 View Post
    I don't understand what you mean by each squeezebox instance. You can, if you want, change the volume of one player it has no influence on other members. All you see is the volume of the Group Player changing, but that does not impact the others. Only if you touch the Group Player volume does it change all members
    Thats exactly how mine behaves

  8. #8
    Quote Originally Posted by philippe_44 View Post
    I don't understand what you mean by each squeezebox instance. You can, if you want, change the volume of one player it has no influence on other members. All you see is the volume of the Group Player changing, but that does not impact the others. Only if you touch the Group Player volume does it change all members

    Of course you are right......easy to confuse me these days , sorry to have wasted your time.....and thanks for all your work.

    Regards.

  9. #9
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,482
    Quote Originally Posted by Simon_rb View Post
    Long shot and prob not possible however thought I'd ask anyways. Is there anyway of Caching the playlists on players before the get drafted to the Group then when they are released back to being on their own then the cached/saved playlist is restored? Just an idea.

    Working great here. I love that they can be synced and then I can play something an individual player in the group. Pretty handy.

    Cheers
    Can you try 0.3.0 in the dev repo, it should do the trick
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  10. #10
    Senior Member
    Join Date
    Aug 2012
    Posts
    184
    Quote Originally Posted by philippe_44 View Post
    Can you try 0.3.0 in the dev repo, it should do the trick
    Works a treat! Top top man. Doesn't appear to restore playlists to players that are sync'd together before they are grabbed by the Group Player. Therefore I will not leave any players sync'd from now on and just rely on the "Groups" to do my syncing.

    With that said I have a couple more ideas to make it all a bit smoother with my setup (might be useful to others I don't know).

    1. Is it possible that when you turn on the "Group" player that if a slave player is playing that it grabs that playlist? Reason I say that is if I'm playing to the Lounge Radio instead of the group then want to turn the Radio on in the Kitchen to listen to same song then I would have to load iPeng or the LMS web ui to sync them. I currently use Siri for everything so I could say turn on "All Players" which would turn on the group which would grab the players and then grab the playlist from the currently playing player as it grabs it. Then I can say turn on the "Kitchen Radio". Hope that makes sense!

    2. This is related to Shaire tunes so I'll post over there.

    If you think the above is a waste of time, of that you think its not possible then doesn't matter as its working great so far and I'm sure I can manage with the way it is hehe

    Can't thank you enough or all your efforts with this and with the other plugins. You have kept old and discontinued products alive and current. Same thanks goes to Michael for his help, particularly keeping LMS updated with fixes and his fabulous Spotty app - who would of thought Spotify Connect on our ageing LMS products!! Thank you all!
    Last edited by Simon_rb; 2018-01-14 at 03:49.

Posting Permissions

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