Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 49
  1. #1

    rpi3+pcp3.22+LMS causes transporter & SBradio to jump in and out of LMS

    Hello community

    After following the pcp project for a looooong time I decided to take the next step after spotify pulling the plug and the amazing Mr. Herger coming to the rescue once again. (many "thank yous" Michael!)

    First I'll start by saying I was *very* impressed by the simplicity effectiveness and performance of the rpi+pcp+lms combo. I only made a quick test with pcp as a player (usb connected speakers) and as I expected all this time one of my future projects will definitely be a pcp portable player with all the jivelite+touch screen goodies etc

    So big kudos to the pcp team and many "thank yous" as well. Keep up the amazing progress guys!

    Now since my current needs called for a server combo I set aside the speakers and focused on serving my transporter + radio (boom is currently offline for
    the time being but will be joining the herd soon)

    All _sort of_ worked as supposed to but there are some isssues:

    - the connected to lms clients (transp + radio) appear to connect and disconnect every 10 secs or thereabout...no this does *not* appear to be an _exact_ period but more of a rough description of the behaviour ie client is connected......after 10 secs or so disconnects.....after 1sec connects again...after 10secs disconnects etc

    - everything is wired nothing is wireless. a ping -t to the pcp shows no dropouts and all latency is 0ms as expected

    - when a player is playing a radio stream there are *no* audio-dropouts during all this connecting-disconnecting..I assume because of having full buffers and because the disconnection lasts only 1 sec or so

    - the observation of said disconnections came while managing the radio through orangesqueeze where one can see the radio appearing and disappearing from the list of available players.

    -this can not be an orangesqueeze problem since the transporter gives an audible sign whenever it loses connection to server (the digital outputs/inputs make a distinct clicking sound upon disconnection/reconnection)

    -like I mentioned all is wired and I also tried connecting the rpi to a different ethernet port using a different cable


    So these are my strange findings so far and I hope someone can chime in with some suggestions cause I'm out of ideas.


    Nikos

  2. #2
    *bump*

    anyone got any suggestions? lms logs show nothing.

    How do I configure debugging logs in lms and whre do I check relevant logs in PCP?

    Any help is welcome and *very* appreciated

    Thanks

    Nikos

  3. #3
    Senior Member
    Join Date
    Apr 2008
    Location
    Paris, France
    Posts
    2,109
    Two LMS servers on the network at the same time??
    (especially bad if you've cloned the second from the first)
    3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

  4. #4
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Västerås Sweden
    Posts
    16,158
    Quote Originally Posted by epoch1970 View Post
    Two LMS servers on the network at the same time??
    (especially bad if you've cloned the second from the first)
    multiple servers works fine . Until as you say you copy server.prefs and don't remove the line with the server uuid ....

    Ohterwise this could be a network error
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (spares Touch, SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,319
    From the descrption I don't think LMS actually disconnects (does "signal" change color on radio display ? does display go blank on Transporter ?) - it "sounds" like the audio stream is stopped briefly.

    Are the players synced ? and/or is the audio stream being transcoded/resampled ?

  6. #6
    Three veterans to the rescue Thanks epoch1970 Mnyb bpa for jumping in!

    I'm afraid troubleshooting this one will be a b*tch..

    -No double lms servers here. Only one and that's the 7.9.1 that comes with PCP. Prior to spotify pulling the plug all my hardware squeezeboxes were connected only to mysqueezebox.com.

    -nothing is synced (this would be next on the list provided that this strange issue is sorted out hopefully)


    /*edit

    - audio stream is not transcoded resampled..all is LMS default settings

    /*edit


    -bpa I have not checked the lcd screen of the SBradio for any relevant icons (my current setup is all wired, not sure if anything is to change to "red" but this is the first time I'm using said Radio over wire. I recall in my previous setup when SBR was wireless that upon losing wireless -or mySB.com connection can't recall- the wifi icon became red indeed)

    -the Transporter when connected to mysb.com or a local lms (has installed lms in my previous house) behaves normally i.e. clicks it's optical ins/outs each time connection to server mysb or lms is lost and again each time it is restored. When I hit "off" it stays dark and noiseless till the next time I call it's services. Now with the Transporter connected to pcp's lms the behaviour is like: connects ok...plays whatever radio stream I ask normally..I stop it.."power it off via orangesqueeze or remote control"..wait a min...hear clicking sound (meaning lost server connection...wait a couple of secs...hear clicking sounds again meaning server connection restored...and the loop goes on until I decide it's time to post to the forum and ask for assistance lol

    -all this I repeat can be visually verified on orangesqueeze where one can see the players Radio and Transporter appearing/disappearing/reappearing from the available players list.

    -*strangely* player "picoreplayer" appears to never exhibit such behaviour (at least from orangesqueeze's pov). Is is actually rather frustrating having the KitchenRadio selected as active player in orangesq and trying to hit "pause" or whatever only to find that half a second ago KitchenRadio fell off the list causing the picoreplayer to become the active player and thus having my "pause" or whatever getting sent to picoreplayer instead.


    Looking forward to your feedback guys


    Nikos

    ___Dumb question just came to mind...should I go to mysqb.com and delete my players maybe? Said Transporter and said Radio were "registered" all these years while the newcomer picoreplayer that's not behaving silly has never been connected to mysbx.com______
    Last edited by _NK_; 2017-11-02 at 02:59.

  7. #7
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Västerås Sweden
    Posts
    16,158
    No keep them registred , but make sure it's the same account for all players .

    And also put in your mysqueezebox login in the LMS settings, it's a special tab in settings for that so that your LMS can see your mysb.com account . That way switching players back and forth goes smoothly (you can see from within LMS if a player is at mysb.com ) and the app and radio menu in LMS will work properly.
    And actually if you have your LMS account set in LMS you will probably find your picore player registred at mysb.com too .

    I really have no clue but....

    The "picore player" is on the same PI as LMS and they don't loose conection ?, could that tell us anything ? regarding networking .

    Yes radio's wifi icon turns red when conection is lost .

    Further youre sure that the players are connected by ethernet ? you don't just have to put in the cables you must also redo the network setup in each player .
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (spares Touch, SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

  8. #8
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,319
    Quote Originally Posted by _NK_ View Post
    the Transporter when connected to mysb.com or a local lms (has installed lms in my previous house) behaves normally i.e. clicks it's optical ins/outs each time connection to server mysb or lms is lost and again each time it is restored.
    The screen display is driven by LMS. so if LMS connection is broken screen will go blank. I think the audio click is when audio stream is empty not when LMS connection is gone. As player have a buffer - normally if playing and connection to LMS is broken - audio will continue unitl buffer is empty but display will change.

    To be sure what is happening enable logging - network.protocol.slimproto to INFO

  9. #9
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Västerås Sweden
    Posts
    16,158
    Have you checked your power on resume settings for each player ?

    And also I *think* there is a setting in the audio settings for the digital out should behave if the playback is stopped , just to adopt to varius AV recievers and DAC's that auto switch depending on the state on the spdiff output .

    Sorry , that I have no Touch or SB3 connected anymore they exposed this setting and i think the transporter does to, I forgot the name of this setting :/
    This could affect "clicking" and input switch of in associated equipment ...
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (spares Touch, SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

  10. #10
    Senior Member
    Join Date
    Apr 2008
    Location
    Paris, France
    Posts
    2,109
    Unfortunately old is not synonymous with experienced. I've never run LMS off pCP...

    I think it can be an issue with the Pi's hardware, with networking (on the Pi or on the switch/router), or LMS.

    Pi hardware: what is connected to the Pi over USB? It is a rather frequent case that users connect too many devices to the USB ports, and some get disconnected by the platform. AFAIK max current draw is 1A over the 4 ports (e.g. max 1A with 1 port, max 500mA each for 2 ports etc.) As you know, ethernet is connected via USB so an USB reset might affect your connection. The stock PSU for Pi 3 can output 2.5A over 5V sustained. If your PSU is weak, like 1A, it is possible that all the current goes to the Pi itself and not enough remains for the USB ports.

    It *think* "dmesg" could show something upon disconnects. Otherwise adding bootcode "syslog" to the line in cmdline.txt in pCP will allow /var/log/messages to be created, and there you should get a regular system log.

    Networking: are you using DHCP? If not I would. In case there is a typo in networking config you can get disconnects/no connection at all. Make sure the IP used by pCP is indeed unique to the network, an IP conflict would create transient issues like the one you're seeing.
    Also if you're using one of those fancy "green ethernet" network devices, try and see if disabling power management on the port used by Pi in the switch/router changes anything.

    LMS: could LMS be caught in a fail/restart loop? I would open a session on pCP, check "ps" regularly and see if the main LMS process ages or on the contrary, keeps changing PID which would indicate a restart.

    I don't think mySB.com would have much to do with this. If you can live without Internet for a few minutes, you could try pulling the WAN cable from the router and see if players still reset. I don't see why that would change anything but when everything's lost...
    3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

Posting Permissions

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