Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Junior Member
    Join Date
    Jul 2017
    Posts
    5

    piCorePlayer + LMS + players sync = music stops after > 10s

    Hello Everyone,

    I have a strange issue with piCorePlayer with LMS server. Whenever I sync 2 players together, my music stops playing after random amount of time, usually it is about 15 seconds. It just stops. It doesn't matter wether it is a radio run on LMS, spotty music or even AirPlay stream to one of the players. I never run on such issue with Max2Play release... so it has to be piCorePlayer internal issue.

    My config is as follows:
    - RPi3 + HiFiBerry Amp+
    - piCorePlayer (newest version, same issue observed on 2 versions back as well)

    Another piCorePlayer as Squeezelite device, similar config - RPi3 + HiFiBerry Amp+.

    The problem has to be somewhere around LMS server... don't know where exactly. Without syncing to another player all works great.

    Any help appreciated, if you can hint me where to look...

    TroLoo

  2. #2
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    2,829
    Running pCP 3.21 Normal with LMS v.7.9.1 on a rpi3b

    Synced a Boom and a Radio.

    Streamed a radio station, no problem, switched to Spotty, also no problems.

    Will let them run for a while.

    I think your set-up is a little different with the amps included (that's just my gut feeling, no experience with them at all).

    Ronnie

    Edit: if you have the LMS on one of the piCorePlayers, can you install it on a seperate device and try just using the pi as players only?

  3. #3
    Junior Member
    Join Date
    Jul 2017
    Posts
    5
    Quote Originally Posted by Man in a van View Post
    Edit: if you have the LMS on one of the piCorePlayers, can you install it on a seperate device and try just using the pi as players only?
    Ronnie, great suggestion - that's exactly what I'll try to do in the evening. I have a spare RPi2 that I could use for this purpose, will let you know how it goes.

    Thanks for your support.

  4. #4
    Senior Member
    Join Date
    May 2017
    Posts
    574
    Running a pi3 with pcp 3.20 solo for LMS 7.9.1. Connected a boom, radio and SB2 in sync foor days, no problem.
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,738
    Quote Originally Posted by TroLoo View Post
    I have a strange issue with piCorePlayer with LMS server. Whenever I sync 2 players together, my music stops playing after random amount of time, usually it is about 15 seconds. It just stops. It doesn't matter wether it is a radio run on LMS, spotty music or even AirPlay stream to one of the players. I never run on such issue with Max2Play release... so it has to be piCorePlayer internal issue.
    When players are synced then LMS will stream data to seach player until buffer reaches a "level" - there is no time constraint on this initial fill ( at a guess it is Flac for 15 secs). Then LMS will tell each player to start playing. As audio is played, LMS will be requiee to "top" up each player in turn and make sure eachplayer is in sync. If LMS cannot top up each player in time and the buffer runs out - playing will stop. It "feels" like LMS cannot top up the buffer to one or more of the player - this can be due to network issues (e./g. different network drivers/setting) or extra processing on the LMS possibly due to transcoding if buffer is being filled with Flac audio.

    Have you checked whether the LMS setting of the max2play and the PCP are identical - especially in the the area of "File Types" ?

  6. #6
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,378
    As bpa said:
    this can be due to network issues
    Are any/all wired/wireless ?
    Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
    Server: LMS Version: Latest Nightly on Centos 7.6 VM on ESXi 6.5.0U3 on Dell T320
    Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
    Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
    Music: 522GB,1.5K albums with 25K songs by 5K artists mostly FLACs

    Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS

  7. #7
    Junior Member
    Join Date
    Jul 2017
    Posts
    5
    Quote Originally Posted by Jeff07971 View Post
    As bpa said:
    Are any/all wired/wireless ?
    Sure - all of them are wireless. But is shouldn't be an issue, my WiFi is stable as rock for one thing, the other is that this error was repeatable and also very expectable (15 seconds more or less and music stops).

    From other side - max2play was also wireless and no such problems.

    For now I've set up LMS server separately on my RPi2, didn't have too much time to test but it works fine for now (all players wireless, LMS also wireless). We'll see how it goes, I don't mind dedicating one device for LMS (seems like a waste of resources but if it saves my time on debugging - I'm fine with it).

    I'll let you know the result after using this setup for week or more.

  8. #8
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    3,994
    I have 3 pCP Pi's in a sync group. I get a bit of drift but no drop outs. 2 of the Pi's have HAT DACs and the thirdhas a Touchscreen and USB DAC.
    I did try the third Pi as an LMS server but it was iffy. I put it down to the LAN on that Pi being affected by the USB DAC. The LAN and USB still share the same bus on a Pi3. It is after all hardware that costs 2/6 (who remembers that ?).
    I moved LMS to a dedicated pCP Pi3 and all is well. Almost. I do a lot of remote streaming via VPN but even after I realised I had to install lame I still get issues when I am streaming remotely. Tracks finishing a few sounds early and starting a few seconds in that sort of thing.
    VB2.4 storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  9. #9
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,738
    Quote Originally Posted by TroLoo View Post
    Sure - all of them are wireless. But is shouldn't be an issue, my WiFi is stable as rock for one thing, the other is that this error was repeatable and also very expectable (15 seconds more or less and music stops).
    As expected that will be the size of the initial fill of the player buffer.

    The problem is not LMS per-se as there is no difference in code executred by max2play and pcp - the differences must be elsewhere.

    Are the LMS settings different between max2play and pcp ?
    Network issues are still possible if for example drivers are different - have you checked whether the same drivers are being used for max2play and pcp ?

  10. #10
    Junior Member koldso's Avatar
    Join Date
    Apr 2019
    Location
    Aarhus, Denmark
    Posts
    2
    Quote Originally Posted by TroLoo View Post
    For now I've set up LMS server separately on my RPi2, didn't have too much time to test but it works fine for now (all players wireless, LMS also wireless). We'll see how it goes, I don't mind dedicating one device for LMS (seems like a waste of resources but if it saves my time on debugging - I'm fine with it).

    I'll let you know the result after using this setup for week or more.
    I have similar setup with LMS on one of my piCorePlayers (RPi 3)... and similar sync-problem.

    TrooLoo, did it work for you to move LMS to separate machine?

Posting Permissions

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