Kodi Community Forum
[ARCHIVED - WON'T UPDATE] XSqueeze - Squeezebox player for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [ARCHIVED - WON'T UPDATE] XSqueeze - Squeezebox player for XBMC (/showthread.php?tid=122199)



RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - oyvindo - 2016-06-20

Today I connected to XSqueeze from LMS 7.9 running inside a docker container - and it works perfect :-)
I really love XSqueeze Smile


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-06-21

@newan - where did you need the delay then in the end? Did you pinpoint the actual issue then? Weird it fires up on mine so easily...

@oyvindo - glad ti works well for you


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - newan - 2016-06-21

No Problem, i explain my solution on:

https://github.com/bossanova808/repository.bossanova808/issues/6

is it the right spot for that?


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-06-21

Thanks, let's take it there from now on...


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - shkaff - 2016-06-23

Hi folks

I wonder if it can work without local LMS but only via mysqueexebox.com

I own an original hardware radio by Logitech and use it without any local LMS. Instead I have an account at mysqueexebox.com and the radio works very well for me.
Now I would like to setup a second radio on OpenELEC Raspberry Pi 2 and installed that fantastic client XSqueeze...

However its configuration screen requires IP address of ILM server, the ports for HTTP and CLI... all that things make me suspicious that I am in trouble with my idea to use only cloud mysqueexebox.com

Please make me believe that it possible.
Any feedback would be much appreciated!


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-06-23

@shkaff - yeah out of the box that's not going to work.

XSqueeze use the LMS CLI for basically everything - it doesn't really do much with the player other than connect to it - even all the playback controls send simulated button presses via the CLI if I recall correctly.

It's be a pretty big re-write to change - the whole thing was/is very much a hack really and based on the older (and what i think of as better) approach/hardware from the Slim era more so than the Logitech era


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Bergowitz - 2016-07-16

(2013-08-23, 15:39)bossanova808 Wrote: I believe it works fine but its MAC based as the unique ID so you will have to create a unique Mac (or use your nic's Mac) To register the player on mysqueezebox. Someone up above mentioned it not long ago IIRC

Hi

Could someone help me change the MAC address of the squeezelite? Where do I have to put in the command?
I am running OSMC Kodi 16.x on a RPI 2. LMS 7.9 installed and xSqueeze. But I can't connect to mysqueezebox.com with the player.

Regards

Lars


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-07-16

@Bergowitz - you can change it in XSqueeze's settings - you just need to enter a valid mac. If you use the MAC for your network card, that should work fine.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Mamborio - 2016-07-31

Hi bossanova808,

First off, what a great job with the addon to Kodi! Smile
Thanks a lot for it!

Now I've gotten everything to work but just like another user (I searched the thread before posting this) I experience stutters and noise when I play music on the Raspberry Pi Kodi (OpenELEC latest version). If I put my ear towards the speakers I can hear how it drops frames (is that what's called in music too?) of the tune, it feels as if parts of the sound falls off and never gets played.

So I read through this thread and applied a few tips and tricks, here is what I've done so far.

I've tried using squeezeslave, but no go. I can't get sound through on the Raspberry Pi. But squeezelite works after adding the snd_bcm2835 ALSA module as per the wiki instructions.
I've tried with both local music files, VBR as well as WAV and FLAC - also tried with Internet Radio and Spotify, same kind of fall off.

I tried to apply the -y200 as an argument but that doesn't work at all. It results in Squeezelite not showing up as a player in LMS. Removing it solves that problem. Any idea why?

My last attempt is through SSH to populate a log for you.

./squeezelite -o default -m 00:**:**:**:**: -d all=debug
Code:
OpenELEC:~/.kodi/addons/script.xsqueeze/resources/bin/arm # ./squeezelite -o default -m 00:**:**:**:**: -d all=debug //redacted MAC ID with *'s
[16:03:38.226528] main:309 ignoring mac address from hardware player range 00:**:**:**:**:** //redacted MAC ID with *'s
[16:03:38.227894] stream_init:293 init stream
[16:03:38.228094] stream_init:294 streambuf size: 2097152
[16:03:38.235997] output_init_alsa:643 init output
[16:03:38.236224] output_init_alsa:666 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[16:03:38.236427] output_init_common:342 outputbuf size: 3528000
[16:03:38.268333] output_init_common:402 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
[16:03:38.331835] output_init_alsa:678 memory locked
[16:03:38.333039] output_thread:467 open output device: default
[16:03:38.333074] output_init_alsa:701 set output sched fifo rt: 45
[16:03:38.333479] alsa_open:185 opening device at: 44100
[16:03:38.338752] alsa_open:236 opened device default using format: S32_LE sample rate: 44100 mmap: 1
[16:03:38.340514] alsa_open:315 buffer: 40 period: 4 -> buffer size: 1760 period size: 440
[16:03:38.341960] decode_init:129 init decode, include codecs:  exclude codecs:
[16:03:38.342580] register_dsd:624 using dsd to decode dsf,dff
[16:03:38.343493] register_ff:731 using ffmpeg to decode alc
[16:03:38.343780] register_ff:715 using ffmpeg to decode wma,wmap,wmal
[16:03:38.343920] register_faad:640 using faad to decode aac
[16:03:38.344036] register_vorbis:329 using vorbis to decode ogg
[16:03:38.344140] register_flac:286 using flac to decode flc
[16:03:38.344242] register_pcm:384 using pcm to decode aif,pcm
[16:03:38.344348] register_mad:412 using mad to decode mp3
[16:03:38.345620] discover_server:700 sending discovery
[16:03:38.347877] discover_server:711 got response from: **.***.*.9:3483
[16:03:38.348183] slimproto:792 connecting to **.***.***.**:3483
[16:03:38.350146] slimproto:825 connected
[16:03:38.350340] sendHELO:117 mac: **:27:**:**:**:44 //Redacted MAC ID
[16:03:38.350465] sendHELO:119 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3
[16:03:38.552929] process:466 setd
[16:03:38.553227] process:466 setd
[16:03:38.553813] process:466 aude
[16:03:38.554064] process_aude:365 enable spdif: 1 dac: 1
[16:03:38.554219] process:466 audg
[16:03:38.554368] process_audg:382 audg gainL: 0 gainR: 0 adjust: 1
[16:03:42.545717] process:466 strm
[16:03:42.545947] process_strm:232 strm command t
[16:03:42.546024] sendSTAT:164 STAT: STMt
[16:03:44.317558] process:466 strm
[16:03:44.317783] process_strm:232 strm command q
[16:03:44.317857] decode_flush:192 decode flush
[16:03:44.317918] output_flush:415 flush output buffer
[16:03:44.317986] sendSTAT:164 STAT: STMf
[16:03:44.323127] process:466 audg
[16:03:44.323464] process_audg:382 audg gainL: 3840 gainR: 3840 adjust: 1
[16:03:44.324126] process:466 strm
[16:03:44.324195] process_strm:232 strm command s
[16:03:44.324255] process_strm:296 strm s autostart: 0 transition period: 0 transition type: 2 codec: m
[16:03:44.324320] sendSTAT:164 STAT: STMf
[16:03:44.324400] codec_open:220 codec open: 'm'
[16:03:44.324537] stream_sock:392 connecting to **.***.**.***:9000 //Redacted local IP
[16:03:44.325933] stream_sock:421 header: GET /stream.mp3?player=**:**:**:**:3c:** HTTP/1.0 //redacted MAC ID with *'s


[16:03:44.326064] sendSTAT:164 STAT: STMc
[16:03:44.326146] process_strm:327 set fade mode: 2
[16:03:44.326295] process:466 audg
[16:03:44.326403] process_audg:382 audg gainL: 3840 gainR: 3840 adjust: 1
[16:03:44.344280] stream_thread:179 headers: len: 116
HTTP/1.1 200 OK
Server: Logitech Media Server (7.7.5 - 1416570306)
Connection: close
Content-Type: audio/mpeg


[16:03:44.344857] sendRESP:195 RESP
[16:03:44.461780] sendSTAT:164 STAT: STMl
[16:03:44.551128] _check_lame_header:159 gapless: skip: 2257 samples: 17952228 delay: 1105 padding: 1739
[16:03:44.552707] mad_decode:242 setting track_start
[16:03:44.552823] _checkfade:277 fade mode: 2 duration: 0 track-start
[16:03:44.552894] _checkfade:286 fade IN: 0 frames
[16:03:44.552958] mad_decode:271 gapless: skipping 1152 frames at start
[16:03:44.553029] mad_decode:230 mad_frame_decode error: CRC check failed
[16:03:44.553117] mad_decode:230 mad_frame_decode error: lost synchronization
[16:03:44.554307] mad_decode:230 mad_frame_decode error: bad main_data_begin pointer
[16:03:44.555788] mad_decode:271 gapless: skipping 1105 frames at start
[16:03:45.428685] sendSTAT:164 STAT: STMt
[16:03:45.429120] process:466 strm
[16:03:45.429214] process_strm:232 strm command u
[16:03:45.429280] process_strm:283 unpause at: 2235267 now: 2235065
[16:03:45.429346] sendSTAT:164 STAT: STMr
[16:03:45.633972] _output_frames:144 track start sample rate: 44100 replay_gain: 0
[16:03:45.644285] _output_frames:172 fade start reached
[16:03:45.644424] _output_frames:205 fade complete
[16:03:46.430490] sendSTAT:164 STAT: STMs
[16:03:46.430947] sendSTAT:164 STAT: STMt
[16:03:46.928033] process:466 strm
[16:03:46.928261] process_strm:232 strm command a
[16:03:46.928338] process_strm:273 skip ahead interval: 21
[16:03:46.944105] _output_frames:67 skip 926 of 926 frames
[16:03:47.555331] sendSTAT:164 STAT: STMt
[16:03:47.555726] process:466 strm
[16:03:47.555819] process_strm:232 strm command t
[16:03:47.555888] sendSTAT:164 STAT: STMt
[16:03:48.556847] sendSTAT:164 STAT: STMt
[16:03:49.558003] sendSTAT:164 STAT: STMt
[16:03:50.559392] sendSTAT:164 STAT: STMt
[16:03:51.560249] sendSTAT:164 STAT: STMt
[16:03:52.544378] process:466 strm
[16:03:52.544613] process_strm:232 strm command t
[16:03:52.544697] sendSTAT:164 STAT: STMt
[16:03:53.546007] sendSTAT:164 STAT: STMt
[16:03:54.306798] process:466 strm
[16:03:54.307029] process_strm:232 strm command a
[16:03:54.307104] process_strm:273 skip ahead interval: 19
[16:03:54.324049] _output_frames:67 skip 837 of 837 frames
[16:03:55.308232] sendSTAT:164 STAT: STMt
[16:03:56.309604] sendSTAT:164 STAT: STMt
[16:03:57.311050] sendSTAT:164 STAT: STMt
[16:03:57.544849] process:466 strm
[16:03:57.545076] process_strm:232 strm command t
[16:03:57.545161] sendSTAT:164 STAT: STMt
[16:03:58.545800] sendSTAT:164 STAT: STMt
[16:03:59.546798] sendSTAT:164 STAT: STMt
[16:04:00.549406] sendSTAT:164 STAT: STMt
[16:04:01.550881] sendSTAT:164 STAT: STMt
[16:04:02.551638] process:466 strm
[16:04:02.551875] process_strm:232 strm command t
[16:04:02.551963] sendSTAT:164 STAT: STMt
[16:04:03.011900] sendSTAT:164 STAT: STMt
[16:04:03.012338] process:466 strm
[16:04:03.012434] process_strm:232 strm command a
[16:04:03.012501] process_strm:273 skip ahead interval: 30
[16:04:03.023970] _output_frames:67 skip 1323 of 1323 frames
[16:04:04.013656] sendSTAT:164 STAT: STMt
[16:04:05.015165] sendSTAT:164 STAT: STMt
[16:04:06.016667] sendSTAT:164 STAT: STMt
[16:04:07.018219] sendSTAT:164 STAT: STMt
[16:04:07.545655] process:466 strm
[16:04:07.545889] process_strm:232 strm command t
[16:04:07.545973] sendSTAT:164 STAT: STMt
[16:04:07.587931] process:466 strm
[16:04:07.588147] process_strm:232 strm command a
[16:04:07.588224] process_strm:273 skip ahead interval: 20
[16:04:07.604047] _output_frames:67 skip 882 of 882 frames
[16:04:08.589355] sendSTAT:164 STAT: STMt
[16:04:09.590816] sendSTAT:164 STAT: STMt
[16:04:10.592322] sendSTAT:164 STAT: STMt
[16:04:11.593853] sendSTAT:164 STAT: STMt
[16:04:11.898287] process:466 strm
[16:04:11.898512] process_strm:232 strm command a
[16:04:11.898587] process_strm:273 skip ahead interval: 20
[16:04:11.904031] _output_frames:67 skip 882 of 882 frames
[16:04:12.899728] sendSTAT:164 STAT: STMt
[16:04:13.904050] sendSTAT:164 STAT: STMt
[16:04:14.905526] sendSTAT:164 STAT: STMt
[16:04:15.907098] sendSTAT:164 STAT: STMt
[16:04:16.908659] sendSTAT:164 STAT: STMt
[16:04:17.910224] sendSTAT:164 STAT: STMt
[16:04:17.925284] process:466 strm
[16:04:17.925449] process_strm:232 strm command t
[16:04:17.925527] sendSTAT:164 STAT: STMt
[16:04:18.926784] sendSTAT:164 STAT: STMt
[16:04:19.928315] sendSTAT:164 STAT: STMt
[16:04:20.302530] process:466 strm
[16:04:20.302763] process_strm:232 strm command a
[16:04:20.302839] process_strm:273 skip ahead interval: 17
[16:04:20.304023] _output_frames:67 skip 749 of 749 frames
[16:04:21.303994] sendSTAT:164 STAT: STMt
[16:04:22.305508] sendSTAT:164 STAT: STMt
[16:04:22.545985] process:466 strm
[16:04:22.546221] process_strm:232 strm command t
[16:04:22.546307] sendSTAT:164 STAT: STMt
[16:04:23.547588] sendSTAT:164 STAT: STMt
[16:04:24.549114] sendSTAT:164 STAT: STMt
^C[16:04:24.803163] slimproto_stop:863 slimproto stop
[16:04:24.904841] decode_close:177 close decode
[16:04:25.010281] stream_close:330 close stream
[16:04:25.047465] output_close_alsa:706 close output

Also, I made this debug log as well, not sure if it provides you anything as it looks the same as the above but with a much higher attention to logging every millisecond.
http://pastebin.com/qsAJX8XY

Any idea how the stuttering/fall-off/noise can be fixed? I mean everything else is working absolutely fine and I'm loving it!

Thanks!


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-08-02

@Mamborio - best thing to do is get it working from the command line in terms of playback smoothness - maybe much about with buffer/priority settings etc?

All the command line options are here:
https://github.com/ralph-irving/squeezelite

Once you have it working via the commandline, just copy the settings back to xsqueeze.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Grinsekatze - 2016-10-09

Ok, I installed the plugin today and came accross two Problems:
- Where / how can I define a user Name for the squezebox instance (SqueezePlay for example I can navigate inside the configuration and Chose a custm Name for Squezelite 3).
- I use Bello Skin with Kodi Jarvis. The Squeezebox Window places the informations wrong (ex. tracks are overlayed over the cover art). How to solve this / which files do I have to modify?

Besides These Problems I like the Plugin. Now I finnaly can sync my Audio inside the whole house - nice effect on House Partys.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-10-10

@Grinsekatze

Change the player name in the LMS web interface
In the addon folder, look for the .xml files basically - XSqueezeNowPlaying.xml IIRC.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - TWART016 - 2016-11-14

Hello,

i installed the bossanova808 and activated it. But from install from repo I can't see the xSqueeze Addon.

I use Kodi 15.2 (Openelec 6.0.3)

Greetings
TWART016


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2016-11-14

@TWART016 That's probably because the min python version in the repo has changed and I can't be bothered with supporting old xbmc versions.

You could manually change it back to 2.1.0 I guess....but probably better if you just upgrade to (at least) Jarvis already Smile


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - TWART016 - 2016-11-15

@bossanova808 Where can I download the Jarvis version for Raspberry Pi / Linux?

I can't find a link.
https://kodi.tv/download/