Re: [SlimDevices: Plugins] A few words about bridges and my work in general
Funny how some will forget that we (I include myself here) rely so much on individuals like you (and me to some extent, but I have a level of control there) on something that they consider, on one end critical enough to get mad when it's not working, and on the other end not critical enough to pay the full price for what they get. Go purchase a Sonos system and you might gain stability (*might*), but you will certainly lose on flexibility and features. Nothing is perfect. When we roll out new features in IT, we always have a roll back procedure. Everybody should have their personal roll back plan, especially when installing software written by enthusiasts that have no monetary compensation for the efforts they put in. LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and... 6x*::SqueezeAmp::, several other ESP32-Wrover boards with jumper wires flying around, some with ethernet*! sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=117217 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox
bpa wrote: > little data to buffer - if input connection is marginal and loses time > sending data then rebuffering. > * "listen again"/podcast - URL will supply as much data as possible so > that player will have all the data for minutes before it is finished > playback - so watchdog timeouts occurs after all data is in player. > > I feel to trigger watchdog -spotty is behaving like multiple "live" > connections with gaps or some other variation. The main difference here is that sorry does not really stream as such. Typical streaming send data in small chunks (think of live radio). In a fast connection, spotty gets files downloaded on a matter of seconds. This causes buffers to fill up with parts of a track only. When the client buffers need data, the wdt has already killed the socket and so the stream runs dry. Setting spotty as local would disable the wdt, which will resolve my issue. LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and... *SQUEEZEAMP*! ---- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=110455 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox
bpa wrote: > I'm still looking at the suggested change. However I am not a spotty > user and I would like to understand how socketwrapper is being used with > Spotty. > > When spotty is being run on Windows with socketwrapper - is there a "-i" > command line option used on the socketwrapper command line ? I think > player.source set to INFO will provide the info. Thank you for looking into this. You can have a look at the following post, where I provided a more detailed explanation. Let me know if there's anything else you need. https://forums.slimdevices.com/showthread.php?110455-Announce-Spotty-2-8-x-Spotify-Connect-for-your-Squeezebox&p=953882&viewfull=1#post953882 I've been running a modified socket wrapper for many days now and I did not experience any additional drop. Note that this is not obvious to reproduce. Stream from a low quality source, and tracks are likely to fully fit in player. I stream at 320kbps, and I suspect that the playback lenght before a STREAMOUT status happen will also depend on the hardware of the player, namely the buffer size. LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and... *SQUEEZEAMP*! -------- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=110455 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox
mherger wrote: > > I've recompiled the windows socket wrapper with a small change that > only > > activates the WDT mechanism when reading from the source socket (and > > ignores long waits on writing to the LMS thread). > > Interesting... I was wondering whether this could fix issues we've seen > > with podcasts which would end pre-maturely. Unfortunately I'm not > familiar with this code at all. Would be great if bpa or somebody else > could give a second opinion. > > -- > > Michael I was originally thinking of increasing the WDT timeout duration, but this would just push the problem around; how long do you make the timeout, knowing that there are some very long tracks out there (think progressive rock, classical music, podcasts, etc). I also thought about using the original WDT increment (each packet increments the wdt counter) coupled with decrement, where the main thread substract from the counter on every timeout (as opposed to current logic that sets the wdt counter to 0 after the first timeout), but I can always think of a scenario that would make the wdt trigger prematurely. So I am 100% confident that this would solve most of the issues related to "not playing tracks fully" that, when searching for solutions, seem to have started appearing a long while ago. We'd need a second opinion to understand potential issues I can think of like - Similar to what happened to the sockerwrapper, source streams might "die" if the source side doesn't read often enough - Processes could possibly become orphans if the LMS reader ends prematurely. I'm happy to take the "risk" in my own environment, though, and spotty playback is now solid as a rock (no pun intended). LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and... *SQUEEZEAMP*! sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=110455 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox
SUCCESS! I've recompiled the windows socket wrapper with a small change that only activates the WDT mechanism when reading from the source socket (and ignores long waits on writing to the LMS thread). I cranked the bit rate back to 320 kbps, played one of the albums which I knew was skipping almost all the songs and played it fully. No more "skipping at random" behavior, socketwrapper start when it's needed and stop when it's no longer needed, so I'm going to call this a fix for my own use. Michael, I will clone the slimserver-tools repository in my git in case you'd like to consider merging it back to server. LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and... *SQUEEZEAMP*! ---- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=110455 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox
So after giving my issue more thoughts, I ended up blaming the windows socket wrapper's wdt. The trouble here, AFAIK, is that the WDT is supposed to detect remote side streaming connections being stalled. In my case (and likely a lot of past related issues), the wdt triggers while writing the data back to LMS and I believe this is unnecessary. To prove my point, I modified the streamwrapper component so the wdt mechanism is only active on a 'read from remote' operation. This works as follow: - Add a new flag to the wrapper threads: bIsWriting - Set the flag to false at the top of the read/write loop - just before writing the data to the local socket (LMS), set the flag to true - Inside of the main socket wrapper controller thread, trigger the wdt when the wdt counter=0 and when not writing I will test this and report back on results. LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and... *SQUEEZEAMP*! ---- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=110455 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.8.x - Spotify Connect for your Squeezebox
I've been banging my head against the wall on an issue which prevents me from enjoying Spotty. First I thought something was wrong with my SqueezeAmp and started looking in the logs to see if I could get some insights. Eventually, I realized something was wrong on the server side. Fast forward: I ended up running the squeezebox server from the command line to get the output from the socket wrapper, as it seemed that it was somehow terminating abruptly. What seems to happen is: - Socket wrapper opens up spotty - socket wrapper transfers several data chunks, so far so good - After some time, the socket wrapper stalls and watchdog kills the process Here is the extracted socket wrapper log: Code: SW: 2019-10-25 12:21:35.282 Socketwrapper 1.11beta SW: 2019-10-25 12:21:35.283 -i 0 -o 51681 -c "C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin\MSWin32-x86-multi-thread\spotty.exe" -n Squeezebox -c "C:\ProgramData\Squeezebox\Cache\spotty\8ba0b816" --verbose --single-track "spotify://track:6lhDKRxI7fjL1Jao6erY1n" --bitrate 320 --disable-discovery --disable-audio-cache --pass-through 2> C:\ProgramData\Squeezebox\Cache\spotty\spotty.log SW: 2019-10-25 12:21:35.294 Init complete. SW: 2019-10-25 12:21:35.295 # =input== =output= ==type== ===details=== SW: 2019-10-25 12:21:35.295 0 0008 0114 PROCESS "C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin\MSWin32-x86-multi-thread\spotty.exe" -n Squeezebox -c "C:\ProgramData\Squeezebox\Cache\spotty\8ba0b816" --verbose --single-track "spotify://track:6lhDKRxI7fjL1Jao6erY1n" --bitrate 320 --disable-discovery --disable-audio-cache --pass-through 2> C:\ProgramData\Squeezebox\Cache\spotty\spotty.log SW: 2019-10-25 12:21:35.295 1 0110 0120 THREAD Output Socket SW: 2019-10-25 12:21:35.296 MoveDataThreadProc for step 1 started. SW: 2019-10-25 12:21:35.297 MoveDataThreadProc for step 1 about to call ReadFile. SW: 2019-10-25 12:21:36.142 MoveDataThreadProc for step 1 got 7986 bytes, about to write data. SW: 2019-10-25 12:21:36.299 MoveDataThreadProc for step 1 about to call ReadFile. SW: 2019-10-25 12:21:36.299 MoveDataThreadProc for step 1 got 8192 bytes, about to write data. [... repeat 2 lines above, many times ... ] SW: 2019-10-25 12:21:41.286 MoveDataThreadProc for step 1 about to call ReadFile. SW: 2019-10-25 12:21:41.286 MoveDataThreadProc for step 1 got 8192 bytes, about to write data. SW: 2019-10-25 12:21:41.286 MoveDataThreadProc for step 1 about to call ReadFile. SW: 2019-10-25 12:21:41.286 MoveDataThreadProc for step 1 got 8192 bytes, about to write data. SW: 2019-10-25 12:21:55.305 Watchdog expired - Thread for step 1 stalled. SW: 2019-10-25 12:21:55.305 Tidying up SW: 2019-10-25 12:21:55.307 Watchdog expired SW: 2019-10-25 12:21:55.307 Waiting for process step 0 to terminate SW: 2019-10-25 12:21:57.308 Tidying up - process for step 0 hasn't died or wait failed. wr=258 :0 SW: 2019-10-25 12:21:59.323 Tidying up - Thread for step 1 hasn't died. SW: 2019-10-25 12:21:59.323 Thread for step 1 streamed603 blocks totalling 0046DE64 (4644452) bytes SW: 2019-10-25 12:21:59.323 Exitcode for Thread 1 Code=259 SW: 2019-10-25 12:21:59.338 Socketwrapper has terminated. This results in a cascading effect which causes Slim::Player::Source::_readNextChunk to detect the end of the stream and report "end of file or error on socket", with a position that represents the number of bytes read. At this point, the streaming controller changes to a new streaming state : STREAMOUT. The player will keep going until its internal buffer is empty, and the next track will start. Unfortunately, and with a variety of players (duet, boom, etc), this most of the time result in a song that gets cut out. Is there any way to get some logging out of spotty or its underlying librespot? This might help me unearth the actual root cause, as for now I'm in the dark. LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and... *SQUEEZEAMP*! sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=110455 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Squeezelite-X
seanwalter wrote: > Squeezelite-X seems like a great addition to the community -- thanks for > creating it! I tried out v 1.3.18 and really appreciate being able to > set Squeezelite parameters with a GUI. I got a single instance running > pretty seamlessly. > > I may be in more of a niche situation, but I am wondering if you can > modify this to support multiple instances of squeezelite-win.exe running > under one user. I have 5 USB DACs hanging off of the back of a single > Windows PC, and these send audio to 5 sets of speakers that are wired > throughout my house. I am currently running 5 instances of > squeezelite-win on this PC, one per DAC, and the system works pretty > well. From time to time, though, I need to change some of the > Squeezelite settings, and it would be nice to be able to do this with a > GUI interface. > > Just wanted to put that out there. Nice work! You may be in a niche situation, but so am I. I have the same kind of setup and it would be great if this was supported in Squeezelite-X. I'm currently relying on batch files to achieve the same, but sometimes I'm just plain lazy and I like to be able to rely on a GUI to hand hold me through configuration. Thank you! -------- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=108550 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: CastBridge = integrate Chromecast players with LMS (squeeze2cast)
Philippe, I tried installing the plugin on version 7.7.5 running under windows 64 bits. The plugin doesn't seem to complete the installation process and every time I navigate to the plugins page I am told I need to restart the services. Do you have any idea what could be wrong or how to troubleshoot this? For now, I have removed the entry from extensions.prefs and at least I don't get the restart prompt. thank you! -------- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=104614 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
Triode, where is the donate button? I used squeezelite on an A10 based TV stick that runs Linaro (armhf) and this has proven extremely stable over the past weeks even with full synchronization with some Duets. I have a question regarding server "switch" that allows "grabbing" a player from a different server. My A10 runs LMS and has a local copy of my collection converted as MP3; this is to allow bringing my collection and phone control to parties, etc. Since I use the box at home, I normally associate squeezelite to the home server and play from there. Since my last A10 reboot, however, my main server does not see the linux server or squeezelite players so I can't associate Squeezelite with my home server anymore. Do you know where the functionality is implemented? Does squeezelite signal its presence through some kind of broadcast? Does the server itself broadcast the available players? I am not sure where to look to get this functionality back. Kind regards. ---- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Wave Input plugin v1.00
For the ones interested, this plugin is perfect to get unsupported services to work on our beloved hardware. The perfect companion is an application that allows controlling the stream remotely, for example through an android phone. I have used GSRemote and I am pleased with it. They will see if they can also adapt the product to make it work on Songza, which would make it even more awesome. https://play.google.com/store/apps/details?id=uk.co.awesomedigital.gsremote&hl=fr ---- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=35718 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Anyone running SlimRio Still?
Just chiming in to say that I still have 3 rio along side my duets. I have to keep the bit rate low, but 128kbps seems to be stable enough and still provide decent quality for the garage and other secondary rooms in the house. Trying to synchronize with the duets is just not an option, as the synch mechanism tends to skip some beats on my duets. Also, they don't keep a steady connection to the server like the duets do; it's often a pain to get them to connect with power off/on cycles. Finally, I have to say that they are very sensitive to the network cable type you use as well as to what kind of switch you plug them in. I have a dedicated, older, 10/100 switch that I connect to my gigabit switch. -------- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=79373 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Experimental version of WaveInput for Mac OS
Now that Napster is no longer available in Canada, this is becoming a necessary feature. see my post in a different thread http://forums.slimdevices.com/showthread.php?t=90703&page=2 I created a ticket to request support for rdio, which is available here. Please vote for it; create an account if necessary. http://bugs.slimdevices.com/show_bug.cgi?id=17794 Also, it would be a good idea if each one of us sent an email to rdio help at the following address and request support for the squeezebox platform. I already sent mine. h...@rd.io -- sle118 ---- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=87023 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Napster working?
The 30seconds preview problem was resolved. However, the service is far from being "production grade" at this point. I did log ticket here http://bugs.slimdevices.com/show_bug.cgi?id=16967 Here is what I posted: Several Napster menus have problems. - New Releases displays a page with no results, with the following URL http://www.mysqueezebox.com/api/napster/v1/opml/new_releases - Several albums are missing album art - Clicking on a track while it is actually being played (from the web client) displays additional details on the left pane. A line shows "Track for download only, can't be played." which is wrong, since the track is actually being played. All tracks seem to be having this issue. - Going to My Napster/Albums show multi-artist albums (eg compilation) duplicated - Some performance issues are still being felt, especially during week-ends or evenings If anyone else is having the same issues or other issues, please add comments to the bug and vote to get it resolved. thank you! -- sle118 ---- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=83821 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Napster working?
Chiller61;606106 Wrote: > Any word on this fix yet? As of yesterday afternoon it's still broken. > Has napster resolved it's problems with squeezebox in other countries > yet? I tried this morning. Still no luck. Napster support told me to stay tuned on @napster channel of twitter. What a joke! There is no news at all and there is no information anywhere. What a failure in communication. -- sle118 ---- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=83821 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Napster working?
mherger;604914 Wrote: > > I am still frustrated by a 30 seconds limit on Napster, for which I > > opted for an unlimited streaming plan. > > Are you outside the US? There's an issue Napster planned to fix this > week. > > -- > > Michael Michael, As a matter of fact, I am actually located in Canada. I am glad to hear such good news. The Napster team, including their support specialists, has been very poor at communicating anything about the issue. I wish there was support for other streaming services in Squeezebox. Thanks for the quick response. -- sle118 -------- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=83821 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Napster working?
I am still frustrated by a 30 seconds limit on Napster, for which I opted for an unlimited streaming plan. I have a friend which chose the Sonos solution instead of the Squeezebox and he can stream the full duration of all songs. What's up with the Logitech products? Anyone from Logitech reading this? Please comment what's going on with Napster. -- sle118 -------- sle118's Profile: http://forums.slimdevices.com/member.php?userid=35009 View this thread: http://forums.slimdevices.com/showthread.php?t=83821 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins