[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC

  Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
skarragallagher Offline
Senior Member
Posts: 258
Joined: Aug 2015
Reputation: 0
Post: #1726
I agree a properly integrate‚Äčd player would be ideal, and it's a shame it have been done yet

Sent from my XT1254 (typie typie)
find quote
bossanova808 Offline
Donor
Posts: 2,845
Joined: Sep 2009
Reputation: 56
Location: Melbourne, Australia
Post: #1727
Many, many orders of magnitude more complicated is the issue. It's been ~23 years since I wrote any C so I'm not going to get into that....but I pray someone with skills will!

Sorry, no help w/out a *full debug log*
find quote
skarragallagher Offline
Senior Member
Posts: 258
Joined: Aug 2015
Reputation: 0
Post: #1728
Yeah I've am with you. I have some scripting experience but nothing that would even help the cause

Sent from my XT1254 (typie typie)
find quote
nick w Offline
Fan
Posts: 420
Joined: Jan 2013
Reputation: 2
Post: #1729
Hi everyone.

Hardware - Raspberry Pi2
OS - Libreelec (Kodi18)
Version: devel-20170505210721-#0505-g2911c4a

The plugin works without issues, but i now want to play music by running SqueezeLite as a service and using the soft power on/off options


Code:
squeezelite -l
Output devices:
null - Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA - bcm2835 ALSA, bcm2835 ALSA - Default Audio Device
sysdefault:CARD=ALSA - bcm2835 ALSA, bcm2835 ALSA - Default Audio Device

So i can see ALSA

I can launch Squeezelite ok with:
Code:
squeezelite -O default:CARD=ALSA -m 00:00:00:00:00:f8:08 -n test -d all=debug

But i cant for the life of my get the player to play a song, clicking play on the server interface just doesnt seem to work

Code:
LibreELEC (community) Version: devel-20170505210721-#0505-g2911c4a
LibreELEC git: 2911c4af6083192b512e0ca39cd51e622d5ad24d
Bedroom1:~ # squeezelite -O default:CARD=ALSA -m 00:00:00:00:00:f8:08 -n test -d all=debug
[09:32:02.331326] stream_init:294 init stream
[09:32:02.332000] stream_init:295 streambuf size: 2097152
[09:32:02.335407] output_init_alsa:873 init output
[09:32:02.335604] output_init_alsa:902 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[09:32:02.335728] output_init_common:347 outputbuf size: 3528000
[09:32:02.335953] output_init_common:371 idle timeout: 0
[09:32:02.354730] output_init_common:411 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
[09:32:02.363997] output_init_alsa:928 memory locked
[09:32:02.364784] output_thread:621 open output device: default
[09:32:02.364852] output_init_alsa:951 set output sched fifo rt: 45
[09:32:02.365317] alsa_open:338 opening device at: 44100
[09:32:02.368580] alsa_open:389 opened device default using format: S32_LE sample rate: 44100 mmap: 1
[09:32:02.369508] alsa_open:468 buffer: 40 period: 4 -> buffer size: 1760 period size: 440
[09:32:02.370421] decode_init:153 init decode
[09:32:02.370703] register_dsd:625 using dsd to decode dsf,dff
[09:32:02.413587] load_ff:660 loaded libavcodec.so.57 (57.89.100)
[09:32:02.413761] load_ff:677 loaded libavformat.so.57 (57.71.100)
[09:32:02.413836] load_ff:691 loaded libavutil.so.55 (55.58.100)
[09:32:02.440088] register_ff:770 using ffmpeg to decode alc
[09:32:02.440256] register_ff:754 using ffmpeg to decode wma,wmap,wmal
[09:32:02.441484] load_faad:593 dlerror: libfaad.so.2: cannot open shared object file: No such file or directory
[09:32:02.441840] load_vorbis:285 dlerror: libvorbisidec.so.1: cannot open shared object file: No such file or directory
[09:32:02.442017] load_flac:240 dlerror: libFLAC.so.8: cannot open shared object file: No such file or directory
[09:32:02.442088] register_pcm:414 using pcm to decode aif,pcm
[09:32:02.442497] load_mad:365 dlerror: libmad.so.0: cannot open shared object file: No such file or directory
[09:32:02.442615] decode_init:185 include codecs: exclude codecs:
[09:32:02.443405] discover_server:818 sending discovery
[09:32:02.444137] discover_server:829 got response from: 192.168.1.200:3483
[09:32:02.444296] slimproto:917 connecting to 192.168.1.200:3483
[09:32:02.444928] slimproto:956 connected
[09:32:02.445022] sendHELO:138 mac: 00:00:00:00:00:f8
[09:32:02.445069] sendHELO:140 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Fi​rmware=v1.8.6-945,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aif,pcm​
[09:32:02.461597] process:521 strm
[09:32:02.461715] process_strm:269 strm command q
[09:32:02.461766] decode_flush:227 decode flush
[09:32:02.461802] output_flush:424 flush output buffer
[09:32:02.461869] sendSTAT:184 STAT: STMf
[09:32:02.462027] process:521 strm
[09:32:02.462090] process_strm:269 strm command q
[09:32:02.462128] decode_flush:227 decode flush
[09:32:02.462162] output_flush:424 flush output buffer
[09:32:02.462196] sendSTAT:184 STAT: STMf
[09:32:02.462263] process:521 setd
[09:32:02.462307] sendSETDName:243 set playername: test
[09:32:02.462370] process:521 setd
[09:32:02.462427] process:521 aude
[09:32:02.462461] process_aude:415 enable spdif: 1 dac: 1
[09:32:02.462518] process:521 audg
[09:32:02.462560] process_audg:433 audg gainL: 3840 gainR: 3840 adjust: 1
[09:32:02.462602] set_volume:229 setting internal gain left: 3840 right: 3840
[09:32:02.503030] process:521 setd
[09:32:02.503174] process_setd:450 set name: test
[09:32:02.503221] sendSETDName:243 set playername: test
[09:32:06.000310] process:521 strm
[09:32:06.000457] process_strm:269 strm command t
[09:32:06.000513] sendSTAT:184 STAT: STMt
[09:32:10.000703] process:521 strm
[09:32:10.000867] process_strm:269 strm command t
[09:32:10.000940] sendSTAT:184 STAT: STMt
[09:32:15.000496] process:521 strm
[09:32:15.000646] process_strm:269 strm command t
[09:32:15.000696] sendSTAT:184 STAT: STMt
[09:32:20.001958] process:521 strm
[09:32:20.002113] process_strm:269 strm command t
[09:32:20.002163] sendSTAT:184 STAT: STMt
[09:32:21.278999] process:521 strm
[09:32:21.279156] process_strm:269 strm command q
[09:32:21.279198] decode_flush:227 decode flush
[09:32:21.279233] output_flush:424 flush output buffer
[09:32:21.279272] sendSTAT:184 STAT: STMf
[09:32:24.999865] process:521 strm
[09:32:25.000063] process_strm:269 strm command t
[09:32:25.000115] sendSTAT:184 STAT: STMt
[09:32:30.002409] process:521 strm
[09:32:30.002568] process_strm:269 strm command t
[09:32:30.002617] sendSTAT:184 STAT: STMt
[09:32:34.999769] process:521 strm
[09:32:34.999988] process_strm:269 strm command t
[09:32:35.000058] sendSTAT:184 STAT: STMt
[09:32:39.002366] process:521 strm
[09:32:39.002529] process_strm:269 strm command t
[09:32:39.002577] sendSTAT:184 STAT: STMt
^C[09:32:39.195301] slimproto_stop:996 slimproto stop
[09:32:39.295686] decode_close:212 close decode
[09:32:39.371605] stream_close:331 close stream
[09:32:39.465269] output_close_alsa:956 close output
Bedroom1:~ #

But when i try and play a song, it wont play. Its roughly when i get this error
Code:
[09:32:21.279198] decode_flush:227 decode flush
[09:32:21.279233] output_flush:424 flush output buffer

Is anyone able to give me any pointers?

Thanks
Nick
(This post was last modified: 2017-05-17 10:41 by nick w.)
find quote
nick w Offline
Fan
Posts: 420
Joined: Jan 2013
Reputation: 2
Post: #1730
I have thought of an idea. If the plugin works, if i SSH onto the kodi box and run a "ps" command, i will be able to see how the plugin is executing the sqeezelite app and which switches its using!
find quote
nick w Offline
Fan
Posts: 420
Joined: Jan 2013
Reputation: 2
Post: #1731
No, i cannot run the CLI
But it works via the plugin....

Does anyone know why?
find quote
bossanova808 Offline
Donor
Posts: 2,845
Joined: Sep 2009
Reputation: 56
Location: Melbourne, Australia
Post: #1732
@nick w

You don't need to SSH in to see the process via ps - the command XSqueeze uses to start the player is logged in your xbmd debug log....so just check it there & copy it...

Sorry, no help w/out a *full debug log*
find quote
Post Reply