[SlimDevices: SqueezeCenter] LMS players not discovered as DLNA renderers
Hi, I'm running LMS 8.3.1 in a docker container and want the connected players (several squeezelite instances) to be available as DLNA renderers, so I can play audio from my Android phone using LMS. Unfortunately, the players are not discovered within my network. The plugin "UPnP/DLNA Media Interface (v1.0)" by Andy Grundman is activated. I guess it may have to do with me running the LMS in docker without using host network. Which ports are required for DLNA? Any hints, how I can get this running? Thanks. Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=117299 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Cannot play audio from openHAB
Yes, issue is solved. Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=115885 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Cannot play audio from openHAB
The stream provided by openHAB is an mp3. The issue was with the host url, which I could fix. :) Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=115885 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Cannot play audio from openHAB
I increased the log level in LMS, which helped me to narrow down the issue. Could then solve it by manually setting the redirect url for the audio streaming in openHAB. It used for standard an docker managed ip, which I changed to the host one. Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=115885 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Cannot play audio from openHAB
Hi, I am running a LMS v8.2.0 as well as openHAB v3.2 in docker on the same host. The LMS binding in openHAB per se seems to work. When I trigger a sound action there, the volume on the squeezelite player is altered as requested but the audio is not playing. I get the following error msg in the lms log: Code: Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Networking::Slimproto::client_readable: Can't locate object method "protocolHandler" via package "Slim::Player::SongStreamController" at /lms/Slim/Networking/Slimproto.pm line 622. ; fh=IO::Socket::INET=GLOB(0x4a9e0b0) Does anyone have an idea, what is going wrong? Thanks in advance! Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=115885 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] .wav file playing too fast, others working
All the output devices are the same. I am using two Logilink 7.1 USB Soundboxes giving 16 mono channels. Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=114822 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] .wav file playing too fast, others working
Hi, I'm playing the .wav files without the plugin. Code: alsacap -d monofront0l *** Exploring configuration space of device `monofront0l' for playback *** 1..23216039 channels Sampling rate 4000..4294967295 Hz Sample formats: S8, U8, S16_LE, S16_BE, U16_LE, U16_BE, S24_LE, S24_BE, U24_LE, U24_BE, S32_LE, S32_BE, U32_LE, U32_BE, S20_LE, S20_BE, U20_LE, U20_BE, S24_3LE, S24_3BE, U24_3LE, U24_3BE, S20_3LE, S20_3BE, U20_3LE, U20_3BE, S18_3LE, S18_3BE, U18_3LE, U18_3BE Buffer size range from 185 to 268435455 Period size range from 92 to 99729141 Code: sendHELO:144 cap: CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.8-1287-pCP,ModelName=SqueezeLite,MaxSampleRate=768000,dsf,dff,alc,aac,ogg,ops,ogf,flc,aif,pcm,mp3 I restructured the asound.conf to support more than one soundcard - and now everything is working?!? Not sure which setting did the trigger... Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=114822 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] .wav file playing too fast, others working
bpa wrote: > I think the underlying issue is these files are 1 chan WAV files, > players are 2 chan - so 2 chan has to be made for the players. There is > a conversion somewhere. When I convert the file from 22050 to 44100 sampling rate, it is working - even if it has still one channel, see my second post in the thread. > Do the files play OK as audio tracks on a SB hardware player ? I only have the software players, no squeezebox hardware. > What are the squeezelite settings ? Code: /usr/local/bin/squeezelite -n "room x" -o monofrontl -a 80:::0: -m aa:00:01:00:00:01 -C 1 -z -a is b = buffer time in ms or size in bytes p = period count or size in bytes f = sample format (16|24|24_3|32) m = use mmap (0|1) d = opens ALSA twice (undocumented) i.e. d other params seem not to be that interesting here > What are capabilties of the audio output device as reported by > Squeezelite ? How do I request these? Didn't find a parameter for this. Thanks for your help! Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=114822 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] .wav file playing too fast, others working
Hi, I'm using LMS 8.2 (docker image dev) and several squeezelite instances using piCorePlayer 7, which I start in the following way: Code: /usr/local/bin/squeezelite -n "room x" -o monofrontl -a 80:::0: -m aa:00:01:00:00:01 -C 1 -z Server and clients run both on (different) Raspberry Pis. When I play flac files or Internet streams, all is working fine. I then installed the 'LMS Announce' (https://nexus0.net/pub/sw/lmsannounce/) plugin, which offers an REST endpoint for doing text-to-speak messages. The tts audio files played with this plugin sound weird and for my ears it is like they are played super fast. I copied one of the generated .wav files to my desktop computer and played it using vlc. Here the output is like expected. I then analyzed (using sox --i) one of my .flac files which plays great on LMS and the .wav file which plays too fast. The flac file: Code: Channels : 2 Sample Rate: 44100 Precision : 16-bit Duration : 00:05:33.32 = 14699412 samples = 24999 CDDA sectors File Size : 43.3M Bit Rate : 1.04M Sample Encoding: 16-bit FLAC The .wav file: Code: Channels : 1 Sample Rate: 22050 Precision : 16-bit Duration : 00:00:02.37 = 52332 samples ~ 178 CDDA sectors File Size : 105k Bit Rate : 353k Sample Encoding: 16-bit Signed Integer PCM So some differences here, eg sample rate 44100 vs 22050. Can these lead to the one with the halve sample rate playing with double speed? Any ideas what I can do? Thanks for your help. Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905 View this thread: http://forums.slimdevices.com/showthread.php?t=114822 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter