bernid wrote:
> Hi,
> I'm trying to set up Local Player plugin on my Ubuntu server 19.10
> machine:
> >
Code:
--------------------
> > Linux ak 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019
x86_64 x86_64 x86_64 GNU/Linux
--------------------
> >
> >
Code:
--------------------
> > Logitech Media Server Version: 7.9.2 - 1573685519 @ Thu Nov 14 00:14:10
CET 2019
> Hostname: ak
> Server IP Address: 192.168.15.244
> Server HTTP Port Number: 9000
> Operating system: Debian - EN - utf8
> Platform Architecture: x86_64-linux
> Perl Version: 5.28.1 - x86_64-linux-gnu-thread-multi
> Audio::Scan: 1.02
> IO::Socket::SSL: 2.066
> Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
> Total Players Recognized: 2
--------------------
> >
>
> I downloaded Ralphy's squeezelite build:
> 'squeezelite-1.9.5.1193-x86_64.tar.gz' and saved it in the Bin plugins
> directory as: 'squeezelite-x86-64'
> Unfortunately LMS doesn't recognise internal player. Launching
> squeezelite end at: *'unable to set output sched fifo: Operation not
> permitted'* and *'discover_server:788 sending discovery'*
> >
Code:
--------------------
> >
/mnt/harddisk/var/lms/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-x86-64
-o iec958:CARD=Audio,DEV=0 -d all=debug -f
/var/log/squeezeboxserver/localplayer.log -a ::: -C 1 -m ab:cd:ef:12:34:56 -n
squeezelite-int
> [16:07:56.750764] stream_init:370 init stream
> [16:07:56.750854] stream_init:371 streambuf size: 2097152
> [16:07:56.753146] output_init_alsa:939 init output
> [16:07:56.753171] output_init_alsa:979 requested alsa_buffer: 40
alsa_period: 4 format: any mmap: 1
> [16:07:56.753191] output_init_common:350 outputbuf size: 3528000
> [16:07:56.753276] output_init_common:374 idle timeout: 1000
> [16:07:56.758742] output_init_common:422 supported rates: 384000 352800
192000 176400 96000 88200 48000 44100
> [16:07:56.758778] output_init_alsa:1003 unable to lock memory: Cannot
allocate memory
> [16:07:56.758796] output_init_alsa:1011 glibc detected using mallopt
> [16:07:56.762137] output_init_alsa:1029 unable to set output sched fifo:
Operation not permitted
> [16:07:56.762173] decode_init:154 init decode
> [16:07:56.762258] register_dsd:908 using dsd to decode dsf,dff
> [16:07:56.762274] register_alac:548 using alac to decode alc
> [16:07:56.762288] register_faad:641 using faad to decode aac
> [16:07:56.762303] register_vorbis:378 using vorbis to decode ogg
> [16:07:56.762318] register_opus:320 using opus to decode ops
> [16:07:56.762332] register_flac:314 using flac to decode ogf,flc
> [16:07:56.762346] register_pcm:433 using pcm to decode aif,pcm
> [16:07:56.762365] register_mad:414 using mad to decode mp3
> [16:07:56.762380] decode_init:195 include codecs: exclude codecs:
> [16:07:56.762491] discover_server:788 sending discovery
> [16:08:01.767682] discover_server:788 sending discovery
> ....
>
--------------------
> >
>
> Squeezelite recognize the following outputs (I selected
> *'iec958:CARD=Audio,DEV=0'* (IEC958 (S/PDIF) Digital Audio Output)):
> >
Code:
--------------------
> > /mnt/harddisk/var/lms/cache/InstalledPlugins/Plugins/LocalPlayer/Bin$
./squeezelite-x86-64 -l
> Output devices:
> default - Playback/recording through the PulseAudio
sound server
> null - Discard all samples (playback) or generate
zero samples (capture)
> jack - JACK Audio Connection Kit
> pulse - PulseAudio Sound Server
> sysdefault:CARD=Audio - USB2.0 High-Speed True HD Audio, USB Audio
- Default Audio Device
> front:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- Front speakers
> surround21:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- 2.1 Surround output to Front and Subwoofer speakers
> surround40:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- 4.0 Surround output to Front and Rear speakers
> surround41:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- IEC958 (S/PDIF) Digital Audio Output
> dmix:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- Direct sample mixing device
> dsnoop:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- Direct sample snooping device
> hw:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- Direct hardware device without any conversions
> plughw:CARD=Audio,DEV=0 - USB2.0 High-Speed True HD Audio, USB Audio
- Hardware device with all software conversions
> usbstream:CARD=Audio - USB2.0 High-Speed True HD Audio - USB
Stream Output
--------------------
> >
> What could I change in my settings to move on?
> Thanks.
I added -s parameter (Connect to specified server):
Code:
--------------------
-s 10.10.10.1
--------------------
and this solve my issue. 10.10.10.1 is an address of LMS.:D
------------------------------------------------------------------------
bernid's Profile: http://forums.slimdevices.com/member.php?userid=37408
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix