Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Junior Member
    Join Date
    Sep 2021
    Posts
    6

    Picoreplayer stopping when UI is switched off

    To anyone who might be able to help:

    I'm not particularly tech savvy, but have managed to set up a new pi 400 (with the built-in keyboard) with the piCoreplayer running LMS so that I can play music on my 5 Squeezebox Radios and Squeezebox Touch. I'm only using the LMS server facility, as I don't need the Squeezelite player facility. There is also a HDD attached with about 70gb of music, but I mostly listen to Spotify through the excellent Spotty plugin, as well as BBC radio via the Sounds plugin or just the radio facility. I used to run LMS on a dedicated Windows 8 tablet, then on my Windows 10 laptop, but they were never QUITE stable enough and I'd heard a lot of good stuff on forums etc about the pi. So I've taken the plunge and with my programming skills equalling zero, managed to get the whole system up and running nicely.

    Having got everything working, and using Chrome on my Windows 10 laptop as the UI, when I've closed the Chrome window interface, my music has carried on happily. But when I actually shut down my laptop, after 20 mins or so the music stops and the Squeezeboxes can no longer connect to the piCoreplayer LMS. Is this normal? I had assumed that the pi would just keep on running without the need for a UI unless I needed to make changes?

    The pi is on a powerline wired network which has always proved stable, and the green light on the pi stays on so I assume it isn't powering down.

    Any help or ideas would be very much appreciated,

    Thanks,

    Kev

  2. #2
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    2,366
    Definitely not normal. No GUI is required.

  3. #3
    Senior Member
    Join Date
    May 2008
    Location
    United States, Florida
    Posts
    12,469
    are you absolutely sure you are connecting to the LMS running on the rPi rather than the LMS that you used to run on your laptop (which may still be there and your players are accidentally connected to the laptop LMS).
    Home: Pi4B-8GB/pCP8.x/4TB>LMS 8.2.x>Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: rPi4B-4GB/pCP8.x/4TB>LMS 8.2.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI)
    Office: Win10(64)>foobar2000
    The Wild: rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS & Squeezelite)
    Controllers: iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64)
    Files: Ripping: dBpoweramp > FLAC; Post-rip: mp3tag, PerfectTunes, TuneFusion; Streaming: Spotify

  4. #4
    Senior Member
    Join Date
    Nov 2012
    Location
    Southern California
    Posts
    231
    Quote Originally Posted by garym View Post
    are you absolutely sure you are connecting to the LMS running on the rPi rather than the LMS that you used to run on your laptop (which may still be there and your players are accidentally connected to the laptop LMS).
    Gary makes a good point. If you did not remove LMS from the Windows computer, you might have two versions of LMS running, one on the windows platform and one on the rPi.

    When your music is playing, open LMS, go to settings, then Information tab. Under Logitech Media Server Status you should see something like the following if it is running from the rPi:

    Operating system: piCore - EN - utf8
    Platform Architecture: armv7l-linux
    Perl Version: 5.32.1 - arm-linux-gnueabihf-thread-multi-64int


    Assuming you used the default naming from the picore instructions, you should be able to get to LMS running on the pi by typing: http://picorelms.local:9000/

    Alternatively the rPi IP address: http://192.168.x.x:9000

  5. #5
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    7,801
    Quote Originally Posted by P Nelson View Post
    Gary makes a good point. If you did not remove LMS from the Windows computer, you might have two versions of LMS running, one on the windows platform and one on the rPi.

    When your music is playing, open LMS, go to settings, then Information tab. Under Logitech Media Server Status you should see something like the following if it is running from the rPi:

    Operating system: piCore - EN - utf8
    Platform Architecture: armv7l-linux
    Perl Version: 5.32.1 - arm-linux-gnueabihf-thread-multi-64int


    Assuming you used the default naming from the picore instructions, you should be able to get to LMS running on the pi by typing: http://picorelms.local:9000/

    Alternatively the rPi IP address: http://192.168.x.x:9000
    If the player was connected to LMS on the Windows machine would it play for 20 minutes after shutting the machine down? That would be some buffer

    Sent from my Pixel 3a using Tapatalk

  6. #6
    Junior Member
    Join Date
    Sep 2021
    Posts
    6
    Quote Originally Posted by garym View Post
    are you absolutely sure you are connecting to the LMS running on the rPi rather than the LMS that you used to run on your laptop (which may still be there and your players are accidentally connected to the laptop LMS).
    Thanks for your help guys, but I've completely uninstalled LMS from this laptop, I've named the new pi LMS pCp and the Squeezeboxes won't connect after about 20 mins after turning off this laptop. I see that it would seem to be a buffering issue but can't understand why that would be anything to do with the UI / pi connectivity?

    Also, last night after posting here, I tried unplugging the pi and plugging it back in again. I still could access the UI from my laptop, but this morning it seems to be working again. Wierd!

  7. #7
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,767
    Can you connect to the pCP web interface and LMS on the Pi using a web browser from your phone or some other computer (not the switched off laptop)?

    If yes - then does that still work after the 20-minute problem?
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia, CBC/Radio-Canada and RTE Ireland
    and, via the extra "Radio Now Playing" plugin, AllZIC Radio, Caroline Flashback, Cesky rozhlas, Frequence3, JukeRadio, KlassikRadio.de, Linn Radio, Mother Earth, Naim Radio, Nova.fr, RadioBlues Flac, Radio Espace, Somehow Jazz, Supla Finland

  8. #8
    Junior Member
    Join Date
    Sep 2021
    Posts
    6
    Quote Originally Posted by Paul Webster View Post
    Can you connect to the pCP web interface and LMS on the Pi using a web browser from your phone or some other computer (not the switched off laptop)?

    If yes - then does that still work after the 20-minute problem?
    I'll have a go now Paul - thanks.

  9. #9
    Senior Member
    Join Date
    May 2008
    Location
    United States, Florida
    Posts
    12,469
    Quote Originally Posted by slartibartfast View Post
    If the player was connected to LMS on the Windows machine would it play for 20 minutes after shutting the machine down? That would be some buffer

    Sent from my Pixel 3a using Tapatalk
    good point. That confirms it is not LMS running on the laptop.
    Home: Pi4B-8GB/pCP8.x/4TB>LMS 8.2.x>Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: rPi4B-4GB/pCP8.x/4TB>LMS 8.2.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI)
    Office: Win10(64)>foobar2000
    The Wild: rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS & Squeezelite)
    Controllers: iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64)
    Files: Ripping: dBpoweramp > FLAC; Post-rip: mp3tag, PerfectTunes, TuneFusion; Streaming: Spotify

  10. #10
    Junior Member
    Join Date
    Sep 2021
    Posts
    6
    The plot thickens...

    As suggested, I got LMS up and running again this morning, but turned the laptop off. I used an android tablet with Chrome for a while as the UI, then switched that off. I then listened to radio, music stored on the connected HDD and the Spotty plugin. All of which went very well until about 20.30, when the music stopped. I rebooted the UI on my laptop, and on the pCP main page everything said it was running OK, but when I opened the LMS page it wouldn't load anything. I then took the RPi from the top of my cupboard, plugged it into a monitor to see that there appeared to be no output (although the green power light was on, as was the powerline ethernet light).

    I restarted pCP from the UI, and the RPi jumped into life and appeared to be doing what it should. However, this evening I have been unable to access LMS via the UI or the Squeezeboxes. I can still use the Squeezeboxes with mysqueezebox.com but that is not how I use them long term.

    So in summary, it would appear that turning UIs off was coincidental in the LMS stopping over the past 3 evenings, and it would appear that something else is affecting the system. Once again, any more help / ideas would be much appreciated, and thanks to those who have helped thus far.

    Kev

Tags for this Thread

Posting Permissions

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