•  Previous
  • 1
  • 112
  • 113
  • 114
  • 115
  • 116(current)
 
Thread Rating:
  • 3 Vote(s) - 4.67 Average
[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC
I agree a properly integrate​d player would be ideal, and it's a shame it have been done yet​
Reply
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*
Reply
Yeah I've am with you. I have some scripting experience but nothing that would even help the cause​
Reply
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,Firmware=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
Reply
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!
Reply
No, i cannot run the CLI
But it works via the plugin....

Does anyone know why?
Reply
@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*
Reply
Ignore! I got it working. few reboots double checked the settings for libreelec and swapped out my wifi dongle... not sure which of those it was!


Can't get it to connect to my server. It works on my other player (moode on RPi B 1) but not on libreelec on RPi 2B



Log Below

For Full Log 
Code:
https://paste.ubuntu.com/25859516/


Code:
15:35:46.590 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ### Attempting to connect to LMS named [192.168.1.10] at IP:  192.168.1.10 on CLI port: 9090
15:35:46.798 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ### LMS Logged in: True
15:35:46.811 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ### LMS Version: 7.7.5
15:35:46.811 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ### Attempting to connect to player: 00:00:00:00:00:01
15:35:46.811 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ### Player is None! 00:00:00:00:00:01
15:35:46.812 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ###  Couldn't connect to player: 00:00:00:00:00:01
15:35:46.814 T:1800922000   DEBUG: ### XSqueeze-1.2.7 ### Exception:Traceback (most recent call last):
                                             File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
                                               raise Exception
                                           Exception
15:35:46.815 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ### XBMC Notificaton Requested: [XBMC.Notification(Couldn't connect to player!,Check you player settings,4000,/storage/.kodi/addons/script.xsqueeze/icon.png)]
15:35:46.815 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ### ### Failed to create SqueezePlayer object
15:35:46.815 T:1800922000   ERROR: Traceback (most recent call last):
15:35:46.816 T:1800922000   ERROR:   File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 211, in __init__
15:35:46.818 T:1800922000   ERROR:     self.player = SqueezePlayer()
15:35:46.818 T:1800922000   ERROR:   File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
15:35:46.818 T:1800922000   ERROR:     raise Exception
15:35:46.819 T:1800922000   ERROR: Exception
15:35:46.819 T:1800922000   ERROR: Traceback (most recent call last):
15:35:46.819 T:1800922000   ERROR:   File "/storage/.kodi/addons/script.xsqueeze/default.py", line 371, in <module>
15:35:46.820 T:1800922000   ERROR:     window = NowPlayingWindow("XSqueezeNowPlaying" + version_stub + ".xml",CWD,"Default")
15:35:46.820 T:1800922000   ERROR:   File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 211, in __init__
15:35:46.821 T:1800922000   ERROR:     self.player = SqueezePlayer()
15:35:46.821 T:1800922000   ERROR:   File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
15:35:46.821 T:1800922000   ERROR:     raise Exception
15:35:46.821 T:1800922000   ERROR: Exception
15:35:46.825 T:1800922000  NOTICE: ### XSqueeze - 1.2.7 ### Doing Cleanup
15:35:46.826 T:1800922000  NOTICE: ### XSqueeze - 1.2.7 ### Killing player process...
15:35:46.826 T:1800922000  NOTICE: ### XSqueeze - 1.2.7 ### Pausing for 2, per request in XSqueeze settings.
15:35:46.827 T:1800922000   DEBUG: ### XSqueeze - 1.2.7 ### XBMC Notificaton Requested: [XBMC.Notification(Pause & resume AE after 2 seconds.,(per request in XSqueeze settings.),4000,/storage/.kodi/addons/script.xsqueeze/icon.png)]
15:35:48.844 T:1910502288    INFO: CAESinkALSA - Unable to open device "default" for playback
Reply
Glad you got it going!
Sorry, no help w/out a *full debug log*
Reply
  •  Previous
  • 1
  • 112
  • 113
  • 114
  • 115
  • 116(current)



Logout Mark Read Team Forum Stats Members Help
[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC4.673