Re: [SlimDevices: SqueezeCenter] LMS seems to not open ports anymore

2022-10-26 Thread Paul Webster


Settings/mysqueezehox.com
(4th tab here)

If you do not see it then perhaps you have started LMS with a parameter
to disable it.



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=116946

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Server not respondding anymore

2022-10-26 Thread totoro

d6jg wrote: 
> Spotify hasn’t been there for years. Instead you will find Spotty in LMS
> / Settings / Plugins. Install from there

Thanks, I will.



sb touch -> classdaudio sds-450 -> audio physic tempo 4 + rel storm 3 &
rythmik f12se

totoro's Profile: http://forums.slimdevices.com/member.php?userid=5935
View this thread: http://forums.slimdevices.com/showthread.php?t=116974

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS seems to not open ports anymore

2022-10-26 Thread Marsupial


reconfiguring things you haven't configured in years is no fun...

how do I get my LMS to connect to mysqueezebox.com ??

I cannot access the app gallery, and License manager (in advanced) says
"Unable to detect mysqueezebox.com identity, please register one" 

I can connect to mysqueezebox.com with the credentials I am trying to
enter in the mysqueezebox server-config tab, and get nowhere. Rebooted
several times.


O plus it seems the new raspbian is refused to remount samba shares
on my d-link NAS for 20 minutes after shutting down. Joy.



Marsupial's Profile: http://forums.slimdevices.com/member.php?userid=59182
View this thread: http://forums.slimdevices.com/showthread.php?t=116946

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] lms 8.3 and perl 5.36

2022-10-26 Thread troffasky


OK, I know what's happened here, I followed this post first before
attempting to do it the correct way:

https://forums.slimdevices.com/showthread.php?116395-LMS-Won-t-Start-on-Ubuntu-22-04=1056368=1#post1056368

and must have deleted too much from /usr/share/squeezeboxserver/CPAN/.
Reinstalled the package and now we're working.



So, for future reference, if the build creates multiple arch
directories, copy them all?



troffasky's Profile: http://forums.slimdevices.com/member.php?userid=70248
View this thread: http://forums.slimdevices.com/showthread.php?t=116840

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Alarms sounds not working/ How best to debug?

2022-10-26 Thread mherger

Thanks a lot for the heads up! I’ll try to sort this out asap.



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=116982

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Alarms sounds not working/ How best to debug?

2022-10-26 Thread detrout


Hi,

I liked using one of the rain sounds as some white noise to help sleep,
which also uses the Sounds & Effects plugins.

As far as I can tell the DNS name for content.mysqueezebox.com
disappeared. It looks like content.mysqueezebox.com was a CNAME for
mysqueezebox.com, as the sound clips are still available at the same
path on mysqueezebox.com

Ideally someone would fix DNS but I have no idea how to get anyone's
attention.

A hacky solution might be to add one of the IP addresses for
mysqueezebox to your hosts file for content.mysqueezebox.com

I also wanted to reduce my dependency on cloud services so I've found
the Sounds & Effects plugin downloads the opml file from the
mysqueezebox server at the url path "/api/sounds/v1/opml". That file
contains the links to all the sounds. Rewriting the hostname in the opml
file let me download all the files, and I hope to hack the plugin to
point to a url on my own server instead of depending on mysqueezebox.

This chunk of python code that needs the requests & lxml modules
installed will download all the sounds to the sub-directory sounds/ from
wherever it's run. (Though I have no idea what the license on the sound
clips might be, so i don't know how OK this downloading is with the
copyright owner), also I haven't participated here before so I can't
post urls right now. So you'll have to figure out the link to the opml
file on your own.

from lxml import etree
import requests
from urllib import parse
from pathlib import Path
import shutil

url = #opml url that I can't post because i'm a newbie
tree = etree.parse(url)
root = tree.getroot()
body = root.getchildren()[1]
for headings in body:
print(headings.attrib['text'])
for loop in headings:
attribs = loop.attrib
label = attribs["text"]
url = parse.urlparse(attribs["URL"])
target = Path(url.path.replace("/static/", ""))
url = parse.urlunparse(("http", "mysqueezebox.com", url.path,
url.params, url.query, url.fragment))
if not target.exists():
print("Downloading {} {} to {}".format(label, url, target))
target.parent.mkdir(parents=True, exist_ok=True)
with open(target, "wb") as outstream:
response = requests.get(url, stream=True)
shutil.copyfileobj(response.raw, outstream)
else:
print("{} {} exists".format(label, target))



detrout's Profile: http://forums.slimdevices.com/member.php?userid=73109
View this thread: http://forums.slimdevices.com/showthread.php?t=116982

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS scanner

2022-10-26 Thread greggn


Paul Webster wrote: 
>  perhaps you have a Windows shortcut stored somewhere in your music
> folders that points to drive C (perhaps created by mistake when trying
> to do a drag and drop).



Brilliant !

That was exactly the problem.  Even though I had checked all new files
for bad tags, and other formatting issues, I didn't check the content of
the folders.

A full scan now completes successfully.


+---+
|Filename: shortcut.JPG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=38965|
+---+


greggn's Profile: http://forums.slimdevices.com/member.php?userid=73108
View this thread: http://forums.slimdevices.com/showthread.php?t=116977

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Alarms sounds not working/ How best to debug?

2022-10-26 Thread bengaldave


Hello,

Regaular playback to all devices or from my iphone using iPeng works.

But starting this morning, manually playing any of the alarm sounds do
not work.

I sometimes use the alarms sounds in the morning when we are trying to
get my daughter up for school.

Sounds like the Ambulance or Rooster.

I was running latest Dev 8.3.0 but downgraded to latest stable 8.2.1

Running this in Docker on a Synology Nas 920+

All music playback is working. 

Rebooted server that LMS is running on and rebooted my router. 

I do not see anything in the logs that seems to show the problem.

Does anyone know what I should look for in the logs to debug this issue?


Thanks in advance



bengaldave's Profile: http://forums.slimdevices.com/member.php?userid=4605
View this thread: http://forums.slimdevices.com/showthread.php?t=116982

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Not scanning entire directory

2022-10-26 Thread sfraser


Ok, so I got rid of the offending directory and the scan/file addition 
has succeeded. A question, is the design intent for the scan process to 
exit upon failure to read a file or directory?  Or is there possibly
another issue at play?


Thanks,

Scott



HOME OFFICE
SB2->Benchmark DAC-1-> Bryston P-25, preamp -> Carver M1.0t Amp->PMC
TB2
HOME THEATER SYSTEM#1
SB2->Anthem AVM60->Bryston 9B ST ->  PSB Stratus Goldi
/HOME THEATER SYSTEM #2/ LAZYEYE BAR
Pi3 w/7" screen/HiFiBerry DAC>Outlaw 976-> Bryston 3B ->Klipsch La
Scala's, 2x Bryston 4B (mono) EV 18" subwoofers 
BEDROOM SYSTEM
SB2-> Sony BoomBox
REAR DECK/PATIO
Pi3  HiFiBerry DAC --> Crown XLS 1500-> PSB Mini's,
KITCHEN
Pi3 HifiBerry DAC  --> Crown XLS 2502-> Polk Ceiling Speakers

sfraser's Profile: http://forums.slimdevices.com/member.php?userid=2026
View this thread: http://forums.slimdevices.com/showthread.php?t=116978

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Not scanning entire directory

2022-10-26 Thread sfraser


Paul Webster wrote: 
> Try increasing the log level (Settings/Advanced/Logging) for
> scan.import and scan.scanner
> and run a new scan to see if it gives any more information about what is
> happening just before the failure.
> 
> You could also experiment with "Database Memory Config" setting
> (Settings/Advanced/Performance).


Here is the verbose scanner output. I will try delete the Andrew Webber
directory, it may be part of the issue

[22-10-26 09:18:44.1112] Slim::Utils::SQLiteHelper::updateProgress (442)
Notify to server: [

"progress:1666789972||importer||/mnt/extdrive/LMS|discovering_directory||113314||113314||1666790324.10915",
]
[22-10-26 09:18:44.1229] Slim::Utils::SQLiteHelper::updateProgress (466)
Notify to server OK
[22-10-26 09:18:44.1238] Slim::Utils::Scanner::Local::__ANON__ (191)
Start processing found tracks
[22-10-26 09:18:44.1249] Slim::Utils::Scanner::Local::__ANON__ (199)
Connect do DB
[22-10-26 09:18:44.1256] Slim::Utils::Scanner::Local::__ANON__ (202) Get
latest ID
[22-10-26 09:18:44.1321] Slim::Utils::Scanner::Local::__ANON__ (225)
Build temporary table for new tracks
[22-10-26 09:18:52.8459] Slim::Utils::Scanner::Local::__ANON__ (245)
Build temporary table for changed tracks
[22-10-26 09:18:55.6476] Slim::Utils::Scanner::Local::__ANON__ (282) Get
deleted tracks count
[22-10-26 09:18:58.9510] Slim::Utils::Scanner::Local::__ANON__ (289) Get
new tracks count
[22-10-26 09:18:58.9557] Slim::Utils::Scanner::Local::__ANON__ (294) Get
changed tracks count
[22-10-26 09:18:58.9577] Slim::Utils::Scanner::Local::deleteTracks (370)
Removing deleted audio files (0)
[22-10-26 09:18:58.9590] Slim::Utils::Scanner::Local::updateTracks (537)
Rescanning changed audio files (0)
[22-10-26 09:18:58.9603] Slim::Utils::Scanner::Local::addTracks (453)
Scanning new audio files (11349)
[22-10-26 09:18:58.9753] Slim::Utils::SQLiteHelper::updateProgress (442)
Notify to server: [

"progress:1666790338.96147||importer||/mnt/extdrive/LMS|directory_new||1||11349||",
]
[22-10-26 09:18:58.9881] Slim::Utils::SQLiteHelper::updateProgress (466)
Notify to server OK
[22-10-26 09:18:58.9911] Slim::Music::Info::typeFromPath (1555) mp3 file
type for
file:///mnt/extdrive/LMS/MP3/Dave/Compilations/The%20Romantic%20Andrew%20Lloyd%20Webber/09%20Music%20Of%20The%20Night.mp3
[22-10-26 09:18:58.9922] Slim::Utils::Scanner::Local::new (884) Handling
new audio track
file:///mnt/extdrive/LMS/MP3/Dave/Compilations/The%20Romantic%20Andrew%20Lloyd%20Webber/09%20Music%20Of%20The%20Night.mp3
[22-10-26 09:18:58.9939] Slim::Schema::_newTrack (1538) 
New Track:
[file:///mnt/extdrive/LMS/MP3/Dave/Compilations/The%20Romantic%20Andrew%20Lloyd%20Webber/09%20Music%20Of%20The%20Night.mp3]
[22-10-26 09:18:58.9946] Slim::Schema::_newTrack (1548) readTags is 1
[22-10-26 09:18:59.0319] Audio::Scan::scan (64) Warning: Error: Unable
to read at least 631 bytes from file.
[22-10-26 09:18:59.0405] Slim::Schema::forceCommit (2208) Syncing to the
database.
[22-10-26 09:18:59.0803] Slim::Utils::SQLiteHelper::updateProgress (442)
Notify to server: ["exit"]
[22-10-26 09:18:59.2511] Slim::Utils::SQLiteHelper::updateProgress (466)
Notify to server OK



HOME OFFICE
SB2->Benchmark DAC-1-> Bryston P-25, preamp -> Carver M1.0t Amp->PMC
TB2
HOME THEATER SYSTEM#1
SB2->Anthem AVM60->Bryston 9B ST ->  PSB Stratus Goldi
/HOME THEATER SYSTEM #2/ LAZYEYE BAR
Pi3 w/7" screen/HiFiBerry DAC>Outlaw 976-> Bryston 3B ->Klipsch La
Scala's, 2x Bryston 4B (mono) EV 18" subwoofers 
BEDROOM SYSTEM
SB2-> Sony BoomBox
REAR DECK/PATIO
Pi3  HiFiBerry DAC --> Crown XLS 1500-> PSB Mini's,
KITCHEN
Pi3 HifiBerry DAC  --> Crown XLS 2502-> Polk Ceiling Speakers

sfraser's Profile: http://forums.slimdevices.com/member.php?userid=2026
View this thread: http://forums.slimdevices.com/showthread.php?t=116978

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS seems to not open ports anymore

2022-10-26 Thread mrw

Man in a van wrote: 
> 
> 
> If you are talking LMS configuration, my advice is,  DON'T!
> 
+1

Many years ago, I made a note of my various preferred settings, where
they differ from defaults (and some that don’t). So I can easily
“restore” them on a clean LMS install. The podcast list was a bit of a
pain, though.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=116946

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 8.3 on macOS Ventura

2022-10-26 Thread Michael Herger

After installing the LMS 8.3. it's working. Thank you.:cool:


Great! Intel or Apple?

And do you get the "fixed" icon in the PrefPane, or still the broken one 
shown in my screenshot?

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 8.3 on macOS Ventura

2022-10-26 Thread fah


After installing the LMS 8.3. it's working. Thank you.:cool:



fah's Profile: http://forums.slimdevices.com/member.php?userid=69483
View this thread: http://forums.slimdevices.com/showthread.php?t=116975

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] lms 8.3 and perl 5.36

2022-10-26 Thread Michael Herger

You're close!


   Oct 26 08:43:53 westogre squeezeboxserver[3900675]:   JSON::XS::VersionOneAndTwo 
(loaded , need 0.31)


Would you have 
/usr/share/squeezeboxserver/CPAN/JSON/XS/VersionOneAndTwo.pm? Or any 
VersionOneAndTwo.pm anywhere?


This would not need to be built from source, but is part of LMS already.
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] lms 8.3 and perl 5.36

2022-10-26 Thread troffasky


Debian Bookworm [SID] has also moved to Perl 5.36. I have 8.3 nightly
installed from this week.
I have followed this:
https://github.com/Logitech/slimserver-vendor/tree/public/8.3/CPAN

which [probably] built without error, but LMS still won't load. I am not
100% sure what my arch string is, so I tried both:


Code:


  cp -r build/arch/5.36/x86_64-linux-thread-multi/ 
/usr/share/squeezeboxserver/CPAN/arch/5.36
  


which results in:

Code:


  The following modules failed to load: Digest::SHA1
  

 
So I deleted the 5.36 directory, then

Code:


  cp -r build/arch/5.36/x86_64-linux-gnu-thread-multi 
/usr/share/squeezeboxserver/CPAN/arch/5.36
  


which results in:

Code:


  Oct 26 08:43:53 westogre squeezeboxserver[3900675]: The following CPAN 
modules were found but cannot work with Logitech Media Server:
  Oct 26 08:43:53 westogre squeezeboxserver[3900675]:   
JSON::XS::VersionOneAndTwo (loaded , need 0.31)
  Oct 26 08:43:53 westogre squeezeboxserver[3900675]: To fix this problem you 
have several options:
  Oct 26 08:43:53 westogre squeezeboxserver[3900675]: 1. Install the latest 
version of the module(s) using CPAN: sudo cpan Some::Module
  Oct 26 08:43:53 westogre squeezeboxserver[3900675]: 2. Update the module's 
package using apt-get, yum, etc.
  Oct 26 08:43:53 westogre squeezeboxserver[3900675]: 3. Run the .tar.gz 
version of Logitech Media Server which includes all required CPAN modules.
  



I then put both of them in 5.36 but I still get the second error about
JSON::XS.
What else do I need to do?



troffasky's Profile: http://forums.slimdevices.com/member.php?userid=70248
View this thread: http://forums.slimdevices.com/showthread.php?t=116840

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Server not respondding anymore

2022-10-26 Thread Man in a van


@totoro

Have you considered updating to LMS v 8.3.0 ?

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=116974

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS seems to not open ports anymore

2022-10-26 Thread Man in a van


@Marsupial

If you are talking LMS configuration, my advice is,  DON'T!

It's likely corrupted, and, frankly not worth taking that chance.


Just install the required Plugins and reconfigure as you use the LMS.

When you have it all sorted and working to your satisfaction, make a
back-up, infact, make a back-up now of your base image.

If you have a raspberry pi with the Raspberry PI Desktop OS you can use
the Image Copy facility to make a copy of the sd card. 

If say, your sd card is 32 gb but you are only using 6 gb then the
Imager tool should copy it to a 8gb sd card

There is also a tool on github call PiShrink which works on RPI OS and
Linux  (Mint.in my experience)

A sd card with a RPIOS Desktop image is a handy thing.

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=116946

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter