Re: [SlimDevices: SqueezeCenter] Squeezebox 3 (SB3) most stable Media Server?
thedude wrote: > Thanks for the quick response. I used to be part of this community back > around 2005 when SB3 came out, oh wow its been 18 years! Glad it's > still alive and well. Yes I have 3 slim devices players running on a > single server. I posted my question because I don't have any issues > with 7.5.5 so if it isn't broke don't fix it :). I'm going to give the > latest server a try. Cheers! Most common reasons forcing an update to 8.* 1. Server hardware and/or OS needs to be updated. For example, if you're still running Win95 on old h/w and not internet connected probably OK but clock is ticking to failure 2. Players getting old, wearing out, often displays on SB3 go first but WLAN, capacitors fail and also firmware getting corrupted. Newer players will need later than 7.5 3. Want to access new Internet services - lots of new protocols and requirements not supported in 7.5 bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117300 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists
urknall wrote: > I have also observed something similar lately and am wondering if this > is somehow related: > > under favorites i have created a folder for my top radio stations, when > i select for example a radio station which i marked as favorite in that > folder from the radio now playing plugin (in this special case: RPR1. > 80er Rock (aac)) and hit on play artwork is displayed. When i click > pause that stream and later start the stream again by clicking on play > again (without going the way over favorites again) the artwork is not > updated any more. As soon as i restart the stream again from folder > under favorites, the artwork is updated again. It's another manifestation of similar behaviour but maybe not as such "related" . Many ways for this to happen. Probably if the stream is paused for longer than about 30 secs - often the source station will close the TCP connection. If metadata is being provided by a plugin, then stream "stop" or "close" is signalled to the "active" plugin to stop all related activity and discard context. So all that is left is the URL that was being played (i.e. the pure URL after all the processing, redirection and drilling down through playlists). Similar issue can be seen - playing a stream from favorites. While playing a favorite go into player context menu and use save Favorite menu. The saved URL will be the "final" URL and not the save as the originating "favorite". If you play it, it is unlikely you'll get metadata or even station logo and title (although what is saved can depend on which type of player you are using) . bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117286 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists
Redrum wrote: > But if playlists were intended only for songs, so be it. LMS is just as > wonderful without it. Unfortunately, with internet stream things are always changing and developers re-use code/protocols in a different context which have a side effect in old implementations. M3U were originally playlist of files with fixed duration. Then used by internet stations to load balance or provide choice (e.g. bit rates, gelocking). Now changed again (by Apple) to create HLS protocol where a stream is made up of constantly changing M3U playlist made up of URLs for "files" of about 3-6 secs in duration. It is all a moving target and just have to decide where to spend time. Priorities are usually 1. implement the new stuff 2. Fix broken stuff and 3. anything else if there is time. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117286 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists
funa wrote: > Yes, it seems to be something related to Radiotime streams. It will probably also appear with any stream that does not have embedded metadata and that uses a plugin to get metadata such as Radio Paradise and Radio Now Playing > > I really see no reason why playlist should not contain radio stations. > It is an item in the list and you can easily switch between stations in > the list. > I mainly use my own streamer based on LMS and the communication is based > on CLI. > So I send commands > Code: > > playlist index -1 > > or > Code: > > playlist index +1 > > to switch between stations in the playlist. > > No clue how to switch to the previous/next item in some favorites > folder via CLI. > If anybody (maybe d6jg) knows how to do it, please let me know. If you can see something similar when using Material UI - then enable Material debugging (e.g. http://localhost:9000/material/?debug=json ),open WebUI developer console and you'll JSON commands which are easily translated into CLI. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117286 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists
Redrum wrote: > when I tried it and it failed, I tried it with the RP FLAC (both), mp3, > and a couple of other random stations (probably tune in) Again, what I > saw is you can add them all fine, and they usually play, but when you > switch from playing say position 5, to 2, 2 plays with the meta data for > 5. > > I really just wanted to confirm that I saw what the OP saw, as I dropped > it months ago, but I can recreate exact steps if requested. I'm sure you're seeing a problem whether it is easily fixed is another issues. This is my idea of what happening although I not sure about some LMS details. Originally metadata was embedded in stream using ICY protocols. Often the URL to be played was a playlists which provided a number of URLS to spread loads across servers. However some stream just provided metadata on their websites (to force users to see ads) so LMS added support for plugins which "registered" with LMS to be activated whenever a specific URL is being played. Because the URL being played may not be the original URL played (e.g redirected, playlist, CDN) - the concept of a "original" top URL is used in LMS as the actual playing URL is not the URL that was originally requested to play. Over time additional APIs (function calls) have been added to LMS to assist in tracking back to the "original" URL. I know some of my plugins do not use these new APIs and so could be faulty in some circumstances as they did workarounds (i.e. poked directly into LMS) - I expect the same may be true of other plugins. IIRC - Radio Paradise Flac uses a plugin for metadata (I think RP plugin does more as RP Flac stream is special) I don't know how the metadata is handled for the other stream you mention. Metadata gathering in plugins are often driven by a timer - so once activated stay running until some notifications. LMS will also request "metadata" suppliers for metadata (i.e. the plugins getMetadatafor routine ) for playing stream but it is also called for each item in a playlist waiting to be played (i.e. return station icon/name metadata and not current metadata for a stream NOT playing) . After moving up/down, some plugins may not be handling the "playlist" aspect correctly or there may be issues (e.g. cached URLs) with identifying "top" URL for the playing stream. There are a limited number of developers and they only have limited time to look after issues. So if a fix for this issue is offered by a user, it will be checked and probably accepted. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117286 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists
The issues is probably (I have analysed the streams). - 1.FM does not include metadata in the stream so metadata is being supplied by Tune-in (aka Radiotime). LMS detects when a Radiotime stream is being played by the top level playlist URL (i.e. opml.radiotime.com ...) and then the RadioTime plugin fetches the metadata. I suspect (but needs to be checked) when you put the the Radiotime URL within another playlist - it is no longer the top playlist and so plugin may not be activated (it looks for a radiotime.com or tunein.com URL to be playing). The "bug" may be a limitation of LMS. For playing URL (1.FM urL) within a playlist (opml.radio.com) within a playlist (your playlist with multiple URLs) - there can be only one top URL - having nested "top" URLs may be too complicated to manage. To test - you should confirms the URL that is in your playlist si the onme liust in your 1st post. You could try enabling logging for plugin.radio and maybe formats.metadata bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117286 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Cannot play audio from openHAB
mvz wrote: > Yippee!! After numerous further attempts I was able to fix the error. > > As suspected, it was not the LMS, edomi or the mp3. The error was in my > firewall settings. I was not aware that all players (!) also need access > to the location of the mp3 - in my case the edomi server. I assumed that > this is only needed by the server (LMS). > > Now that I have adjusted the firewall accordingly, I can play all mp3s > via http again - even with sound :cool: Well done. It's unfortunate the Busybox version of wget has no "verbose" or debug facility. There may be a full version of wget in the PCP extension but with problem solved there is no need to look. If the stream has a compatible audio format, SB players can play the sdtream direct (i.e. audio stream goes direct from source server/station -> player). Stream will be handled by LMS (i.e. server/station->LMS->player) if format is not compatible, stream is synced or player wants stream proxied. So the alternative solution to your issue to force stream through LMS would be to set the player to be proxied (e.g. LMS WebUI Settings/Player//Audio/Streaming Method/Proxied Streaming.) bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115885 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Cannot play audio from openHAB
mvz wrote: > Hi, > > I run a LMS on a Raspberry (piCorePlayer v8.2.0 on raspberry pi) and > squeezelite-esp32 (ESP32 Wrover) as player. Unlike Rothaar, I run edomi > on a separat server (centos 7) instead of openHAB. > > In a Fritzbox environement everything works as expected. Via http I am > able to play mp3's stored on the edomi server (in a tmp directory). > > Now I have upgraded my network and setup VLANs - one VLAN for the edomi > server and one VLAN for the LMS plus player. Everything works perfectly, > with one exception. Whenever I enter a http path in the radio http > section on the LMS and try to play a mp3 file stored on the edomi > server, there is no sound and I get the same error msg in my log as > Rothaar did: > > > Code: > > Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Networking::Slimproto::client_readable: Can't locate object method "protocolHandler" via package "Slim::Player::SongStreamController" at /usr/local/slimserver/Slim/Networking/Slimproto.pm line 622. > ; fh=IO::Socket::INET=GLOB(0x5f80948) > > > > Since I can download the mp3 via wget from the edomi server to the LMS > as well as play the mp3 in a browser or via VLC, most firewall > settings should be ok - but unfortunately not all :( > > @Rothaar: even though I don't use docker and my environment is > different, can you give me more details on how you fixed the bug on > your end? > > Unfortunately I can't find any more information in the LMS log, even > though I have increased the log level to the max. > > Thank you very much for any advice. I've been trying to get everything > to work for several days now and am getting desperate. Did you try Rothaars solution ? In the meantime - what si the URL you are using and what are the http headers and mime setting. Use wget with debugging and header dumping, then copy exactly what appears to a post bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115885 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Separate volume for analog and digital outputs
antagron wrote: > Not possible in the current server? (I'd agree) or not possible ever > because of some fundamental limitation? (that's what I'm asking) The Touch firms is setup as a single player with a single volume control. LMS slimproto just has volume control for L & R for a player. AFAIK - there is just one DAC in Touch. Touch firmware does volume control on decoded digital stream fed into the DAC (i.e. firmware does gain, fade, in fade out, cross fade as well as normal volume control) . The digital input stream is sent to DAC and also sent to digital out, the analog out from DAC is sent to analog circuits (socket + Phono) bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117197 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanner ignoring files with long paths
bstrulo wrote: > I looked through a selection and the cut-off does seem to be at 256 or > very close to it. What version of Windows ? IIRC 256 used to be the limit for a command prompt lines so if a file path had many levels of directory it caused problems. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117188 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanner ignoring files with long paths
If this is Windows - then enabling 8.3 names used to solve some weird issues but this may be out of date as I haven't dealt with Windows for a long time. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117188 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] DeltaWave show LMS and Squeezelite transcoding are not bit perfect with FLAC
zzzap wrote: > With data corruption I'm thinking at byte level not interupting the > stream. As in why does DeltaWave find 1 dB difference in RMS level and > still return 40% bit accuratsy? I would expect it to be null when > amplitude differs. And why would higher frequencies be less accurate? This feels like an ALSA issue not an LMS one. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117152 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] BBC changing mid 2023
dkfackler wrote: > Greetings > > I've been hearing announcements over BBC3 that changes are coming; those > of us outside UK will no longer be able to access BBCSounds, etc. BBC > recommends that owners of internet radios and smart speakers contact the > hardware manufacturer for help. As our beloved Logitech device are no > longer supported, are there any options other than using a computer? Are you sure the message is just about ending of the BBC using shoutcast service ? (i.e. plain http/mp3 service) - just DASH and HLS being available. So if you are not using LMS - then you will not be able to play BBC stations as SB player cannot play HLS and DASH streams. The BBC Sounds plugin for LMS logs into BBC and AFAIK there is no announcement to end BBC Sounds for non UK listeners bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117159 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] DeltaWave show LMS and Squeezelite transcoding are not bit perfect with FLAC
zzzap wrote: > Not at all. As mentioned volume fixed at 100% with replay gain off. But > here is the thing, if amplitude is changes between two takes then all > audio samples would change for that file unless we were juggling the > volume knob. > Here I get more than 40% of the data correct. And looking at my first > post the spectogram are mostly green but not all green as it should be > as we still are at the pure "-data transport layer-" of the audio with > no intended DSP. > > And given both playback from WAV and FLAC versions are done with the > same settings on both the transmitting side and recorder with the WAV > file comming in as bit perfect nothings changed other than LMS creates > the stream from what the FLAC application sent to 'stdout'. And I > believe I've proven the FLAC configuration on LMS do produce identical > file as the WAV as we already espected. > > At this stage I'm looking at this fenomen as corrupted data. But why it > manifest itself mostly in the high frequency band I know to little about > digital audio to form a theory about. If anyone more experienced > programming audio could chime in? > > Before stumbling into the code stack (thanks @Roland0) I wonder if I can > trick the convert.conf to sendt WAV to stdout? I'll look into that to > check if similar artefacts are added. If running on a Linux system - you can insert a "tee" command into any convert.conf command line to save data into a file and still send data to normal player. Changes to convert.conf file need LMS to be restarted to take effect. Alternative make the rule in the conf file execute a shell script instead of the "flac" or whatever - the shell script can be altered easily without having to restart LMS. There are user of audio formats such as DTS (and DSD?) which are packed into Flac and these are decoded and play OK - this wouldn't happen if there was corruption. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117152 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
rbl wrote: > I swapped out one of the PSUs AND IT WORKS! Problem gone, fingers > X'd It still surprises me that failing PSU (and probably aging hardware) can cause problems that seemingly are not PSU related. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
bpa wrote: > This where things get fuzzy. > > On a Linux system with network, ethernet and wireless interface - there > are usually 3 interfaces > LMS only uses one interface at a time. If squeezlite uses 127.0.0.1 - > LMS must also use that interface - is that how you set it up ? > I'm confusing myself. LMS Server IP address is separate from the network interface used by squeezelite to communicate with LMS. 1. the server IP is the address which squeezelite is sending requesting over a network interface. 2. squeezelite still has to find a network interface BEFORE it makes contact with server ip. It does this by find which network interfaces are available & active - the IP address in "-s" is irrelevant. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
Man in a van wrote: > But in my examples I use 127.0.0.1 a lot of the time, especially when > testing This is getting a bit off topic. SB_SERVER_IP is not in squeezelite code - so there is something else which sets it up. This where things get fuzzy. On a Linux system with network, ethernet and wireless interface - there are usually 3 interfaces LMS only uses one interface at a time. If squeezlite uses 127.0.0.1 - LMS must also use that interface - is that how you set it up ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Some thoughts and questions
The future of LMS will not be dictated by what players are available - there are plenty to choose from and will continue to be available. LMS future primarily depends on support of new and different sources of audio and ease of control. In recent times, the main LMS changes have adding new or better support for : Streaming services (e.g. Spotify, DEEZER,Tidal...), new formats (e.g. HLS, DASH, DSD, DFF), better MPEG-4, secure HTTPS, better podcast support (caching) etc., better UI via Material, better Radio metadata (e.g.RNP) In demand: add/improve other audio source such as Amazon, Google, Youtube, Audiobooks, Audacy Home Automation/Voice control may be another area of interest. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
Man in a van wrote: > I'm out of my depth here, would that be because squeezelite is calling > the LMS from 127.0.0.1? Don't think so. I can't see any option which lets squeezelite choose which network interface it is supposed to use. Looking at the code - unless mac address has been defined (via UTMAC env variable I think) , squeezelite first looks for a network interface which can support SOCK_DGRAM (for server discovery) - so it uses SIOCGIFCONF to list all matching interfaces. AFAICT If main network interface is not ready - then code may fall into using "loopback". When Squeezelite starts (like any SB player) it broadcasts a packet to discover all LMS servers - so squeezelite has to use a real network interface. The only exception I think is LocalPlayer. A preconfigured server can be defined using "-s" option which is not used in this case. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
Man in a van wrote: > I did edit to disguise the Mac Addresses :) > > Ifconfig stiil works on Raspberry Bullseye > > I sometimes use "ip a". I did not know the "ip -d link" > > I'll send you a pm with the print out I got the PM and all looks OK. The all zeros MAC may be a red herring - but it doesn't look "normal" and I think it is worth chasing down - if only to eliminate it as an issue. Interesting about the older posts where a zeroes MAC might indicate a network that wasn't ready. An observation, the "ip addr" commands shows that the loopback interface (aka localhost) has a MAC address of 00:00:00:00:00. Could the player be sending some data out on loopback interface and not on eth ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
Man in a van wrote: > Just popping in to add I run Squeezelite on Raspberry PI OS Bulleseye > Lite: MAC addresses shown. > > Code: > > > . > . > .ether b&:2*^eb:"3:+%:b4 txqueuelen 1000 (Ethernet) > > . > .ether "8:&%:fg:46:p6:*%:mw txqueuelen 1000 (Ethernet) > > > > > Back to -*bpa*- > > Did you edit the MAC address to hide them ? When I do "ifconfig -a " on an Ubuntu system, I get proper hex numbers. At the moment I haven't got access to my Pi4 Buster system. ifconfig may have been deprecated - how about "ip addr" command ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Some thoughts and questions
DejanM wrote: > UPnP/DLNA is accepted industry standard. That is a fact. Whether it is > good or bad, it is a protocol that is widely supported by nearly all > hardware producers. By implementing it as a part of LMS functionality, > it would allow the usage of any streamer with LMS. And that would mean > that LMS will remain future proof. But that is only one possible way to > go forward ... Just because it is an industry standard doesn't mean it is good or that it works well or even properly. The router section of UPNP for plug'n'play operation resulted in big security holes. There is a very small pool of LMS developers. AFAICT the current implementation meets the original users requirements. Why waste time re-developing something, which works well enough, when there are so many other thing to do. If you really want it integrated uPnP/DLNA - you are free to re-develop or provide a compelling case to do so to persuade a developer ? what are users missing ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
rbl wrote: > /usr/bin/squeezelite -o plughw:CARD=Headphones,DEV=0 -n > Pi_SqueezeliteService -C 5 -a 120:4::0 OK this is the command line to start squeezelite. It is not using an option ("-m") to override MAC address. LMS uses the MAC address as a unique ID to identify players. The "ifconfig -a" command should list details for all network interfaces. Does the command "ifconfig -a" show a MAC address of 00:00:00:00:00 for any interface ? For security it is prudent not to post your real MAC addresses. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
rbl wrote: > Apologies for the dumb answer! > > It's Squeezelite v1.9.9-1401 on a Pi4 running Buster. Squeezelite normally takes the MAC address of the network interface but can be overridden by a command line option. You can list all network interfaces using "ifconfig -a" If the network interfaces all have proper MAC addresses then it may be a squeezelite command line option. How is squeezelite run ? What is the command line that is used to run squeezelite and what is the value of the environment variables used with squeezelite ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
rbl wrote: > Apologies for confusion, I am trying two separate setups, both with the > same problem: > 1) Win10 + LMS 7.9.2 + 2 wired SB3s > 2) Pi4 + LMS 8.3.0 + Squeezelite v1.9.9-1401 + 2 wired SB3s I wouldn't bother with 7.9.2 as that is an old system with some out of date Perl packages for Win10. You may get other side effects from the old packages. > I have swapped the SB3s (I have 4 in total), router. I am constantly > changing cables so it is beginning to point to the PSUs which I just > hadn't thought of. Presumably a decent 3A phone charger with appropriate > connector should suffice? What does that little black box the PSU cable > loops around do - some sort of induction filter? IIRC The ferrite core are usually to do with suppression of stray radio frequencies - on DC connection they act as a low pass filter. I'd play safe. I wouldn't use a phone charger - modern phone charger do more than supply just one voltage. Get a plain 5V 3A power supply - no chance of blowing up the SB3. > How do I troubleshoot the MAC 00:00:00:00:00 problem? It is probably the Pi but on occasion SB3 have been known to forget their MAC address (original MAC address is on label underneath) and require reprogramming. LMS WebUI Settings/Information - give details of players and MAC addresses. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Some thoughts and questions
DejanM wrote: > Do you have any plan how to proceed in the case when Squeezebox > hardware is not capable of supporting new server functions ? > . > . > .Are there any plans or ideas to build a new Squeezebox ? It is very very hard not to lose money making Squeezebox hardware. There is a very small market for new Squeezebox only players and it is fragmented (e.g. Boom replacement, Touch replacement, high audio) Recent ESP-32 based software player (squeezelite-esp32) have enabled a few generic small manufacturers to develop and sell players, knowing all s/w is not their responsibility and so minimal support costs. The s/w also enables the player to be used as a Bluetooth and Airplay player - so they are not exclusively an SB player. Example of these new players include SqueezeAMP-32, Polyvection's DAC32 & Digi32, Raspiaudio ESPMUSE - Proto, Lux and Mn. Other s/w development such as Picoreplayer - enable more Raspberry Pi based players with various Audio hats. Raspberry Pi is a very economic platform with well supported h/w, cases, screens, audio and other accessories. UPNP/DLNA is a bad standard, no rigorous compatibility testing and was aimed at lowest common denominator. You only have to look at the UPNP plugin (or any UPNP servers implementation) to see how many tweaks are needed to support different players. It is a high support protocol - not good for community developed systems. > For compatibility reasons it would be interesting to see the full > integration with UPnP/DLNA. We have a plugin for that at the moment but > I believe that that support should be part of core LMS functionality. > Any plans to extend LMS in this direction ? LMS is a community development. There is no "one" person in charge of new developments. When a user/developer wants a new feature, they implement it and if successful/wanted - can be merged into release software. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
rbl wrote: > Here's part of the log file from 8.3.0. The looping started at about > 03.25am. I have the rest of the log if needed. > I have ordered some new CAT6 cables. Can the transformer really make a > difference? > > 39093 Is Squeezleite part of synced group ? I thought it was just Sb3s ? "drain" issue has shown up before with squeezelite - what version of Squeezelite ? (https://forums.slimdevices.com/showthread.php?114661-Music-streaming-stops-intermittently MAC address of 00:00:00:00:00 still showing up - as this is not an assigned MAC address - this usually implies something not setup properly bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
rbl wrote: > Yep that log file was from 7.9.2. Identical problem with 8.2.1. Sounds > like I should upgrade to 8..3. Assuming it replicates with 8.3 I'll post > the log .. 8.3.0 mainly has bug fixes over 8.2.* but it is easier to lookup exact source code on my installation and on github. Log messages can be tracked to source code so exactly what consdition the message is produced is understood. That said, if in the logs the same player has the initial problem, swap PSU and see if problem changes. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High resolution FLACs (192/24) stuttering during playback
rbl wrote: > I installed htop and it says CPU is running at <5%. One core is running > at about 5-10%, haven't seen it go above 20%. Memory usage is 488MB out > of 3.75GB. Good. That eliminsates a CPU load as a possible issues. > I can just transcode the FLACs to 48/16, it just seems it shouldn't be > necessary. Idf youi trasncode , you shoudl see CPU load on a differtent Cocre go up. > I started another thread (as I suspect it is a different issue): both my > Win10 and Pi4 LMS servers start looping during playback when SB3s are > sync'd. > https://forums.slimdevices.com/showthread.php?117047-Playback-goes-into-4-second-loops-on-both-wired-Win10-and-Pi4-LMS-Log-file-attached&p=1065015#post1065015 Different symptoms but so many problems suddenly - start to look at "common" parts such as PSUs, network cables etc. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playback goes into 4 second loops on both wired Win10 and Pi4 LMS. Log file attached
rbl wrote: > I am unable to interpret the log. Can anyone tell me what is going on? Weird error. First thought is network issue - some data is being lost. However, I can't associate the log message with source code files. Is the log from 7.9.2 ? Ifs so get a log from 8.2.1 or better 8.3.0. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117047 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High resolution FLACs (192/24) stuttering during playback
rbl wrote: > It seems better on 8.2.1, pausing less frequently every 5 minutes or so > (with no sync'd players, just Squeezelite). Still a bit surprising... Still worthwhile checking process usage (top) just to eliminate possibilities. LMS uses only one core. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High resolution FLACs (192/24) stuttering during playback
rbl wrote: > Makes sense so I did the following to test read/write speeds of 1GB in > 1kB chunks (I am pretty new to Linux) > > time dd bs=1K count=100 if=/dev/zero of=testdata conv=fdatasync # > write speed - 1GB total > sync && echo -n 3 | sudo tee /proc/sys/vm/drop_caches # flush cache > time dd bs=1K if=testdata of=/dev/null # read speed > > And I still get a write speed of 9MB/s and read of 42MB/s AFAICT LMS does read of "source" data in 32kBytes chunks which should only improve things compared to 1K. LMS request chunks of data to fill a player buffer. Playing only starts when buffer has reached a threshold. The player will indicate underrun when no data left in buffer to play. Player has two buffer input for encoded data and output for decoded data. >From log below it looks like input buffer is about 2Mbytes (2,093,152) and output is about (1,764,000). The input buffer will take about 63 x 32kbyte chunks to fill and it took LMS from 44:22.13 to 44:22.73 to do it. So LMS is initially supplying data at about 2,093,152/0.6 = 3.4Mbytes/sec - so something is causing a delay or not letting LMS service an I/O request. If you are still running LMS 8.1.2 - it is old (abt Jan 2021) please upgrade just to eliminate old bugs. IIRC While there have been many bug fixes, there were some in early 2021 relating to waiting for I/O. Code: [22-11-09 20:44:22.1310] Slim::Player::Player::_buffering (1144) Buffering... 40960 / 2093152 [22-11-09 20:44:22.1350] Slim::Player::StreamingController::_eventAction (272) 00:00:00:00:00:00: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp [22-11-09 20:44:22.4319] Slim::Player::Player::_buffering (1144) Buffering... 1212416 / 2093152 [22-11-09 20:44:22.4322] Slim::Player::Player::_buffering (1145) +output... 229376 / 1764000 [22-11-09 20:44:22.4337] Slim::Player::StreamingController::_eventAction (272) 00:00:00:00:00:00: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp [22-11-09 20:44:22.7330] Slim::Player::Player::_buffering (1144) Buffering... 2097151 / 2093152 [22-11-09 20:44:22.7336] Slim::Player::Player::_buffering (1145) +output... 3342336 / 1764000 [22-11-09 20:44:22.7338] Slim::Player::StreamingController::playerBufferReady (2278) 00:00:00:00:00:00 bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] UK BBC Local Radio Stream problems
slartibartfast wrote: > The metadata says Radio Northampton but I heard announcements stating > Nottingham. That indicates a BBC or CDN "problem" - same audio content is sent to two different network streams. Didn't BBC recently announce some sort of savings where regional stations were being "shared" - I thought it was at night only. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117043 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High resolution FLACs (192/24) stuttering during playback
rbl wrote: > The plot thickens. The 256GB USB stick where my music is stored is > EASILY fast enough. I copied 8.2GB of FLACs over the network to my > Windows PC in 188s. That's 44MB/s. So I am still no closer to > understanding the problem. And of course the LMS/Pi for these tests > isn't even going over the network. Any idea what may be going on? With LMS Playing a file from a storage device - means lots of small reads and not one big one which is what happens when you do a file copy. Testing throughput is not a case of seeing how fast it takes to copy the file but how fast a number of small reads take each with a time gap in between. Which caching and readahead strategies are enabled for the mounted device may be a factor. For removable devices some system reduce caching to make sure there are minimal problems if the device is just pulled form system rather then unmounted. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] UK BBC Local Radio Stream problems
slartibartfast wrote: > How are you navigating to the station? > I just searched for Radio Northampton and it works for me (same as > station in BBC Sounds) > http://opml.radiotime.com/Tune.ashx?id=s6853&sid=p223965&formats=aac,ogg,mp3,hls&partnerId=16&serial=5b473c2d8abf2603d39d6c1d69223555 > As an aside the BBC Sounds plugin is a much better way to listen. You need to have the PlayHLS plugin installed for the normal Search to find HLS stations (same as BBCSounds), otherwise it will find the Shoutcast MP3 stream. That said, I just tested the MP3 URL and in stream metadata says it is BBC Radio Northampton Code: Input #0, mp3, from 'http://stream.live.vc.bbcmedia.co.uk/bbc_radio_northampton?s=1668071502&e=1668085902&h=6383508c998ff3a080c0ea97ac793746': Metadata: icy-br : 128 icy-pub : 1 icy-name: BBC Radio icy-description : BBC Radio StreamTitle : BBC Radio Northampton Duration: N/A, start: 0.00, bitrate: 128 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s 5.57 M-A: 0.000 fd= 0 aq= 16KB vq=0KB sq=0B f=0/0 bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117043 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High resolution FLACs (192/24) stuttering during playback
rbl wrote: > I removed the sync'd SB3s, so just Squeezelite playing on the Pi4. The > music is on a 256GB USB stick. No network involved other than for > controlling LMS via a Win10 web browser. I am listening via the Pi's > 3.5mm audio output. I still get the stuttering. It is only drawing 4W > power. I do not have Inguz or anything other add-ins other than BBC > Sounds which should be irrelevant. > > I attached the log file. Playback paused at 20.44.11 for several > seconds, and again at 20.45.2.5 to restart at 20.45.48. I think it > paused one or two other times during the log. > OK. No transcoding. Log show that player runs out of data Code: [22-11-09 20:44:22.0004] Slim::Player::StreamingController::playerOutputUnderrun (2239) 00:00:00:00:00:00: decoder: 8192 / output: 0 [22-11-09 20:44:22.0010] Slim::Player::StreamingController::_eventAction (272) 00:00:00:00:00:00: OutputUnderrun in PLAYING-STREAMING -> Slim::Player::StreamingController::_Rebuffer [22-11-09 20:44:22.0017] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING [22-11-09 20:44:22.0062] Slim::Player::StreamingController::_eventAction (302) 00:00:00:00:00:00: OutputUnderrun - new state BUFFERING-STREAMING[ Question is why data has not been sent in time. Did you check processor load with top ? Is the MAC address of the Pi4 network interface all zeroes - this is not good practice as it can mean something has not been setup properly. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High resolution FLACs (192/24) stuttering during playback
Stuttering is usually due to either * processor load * network issues * sync issues. * other LMS/plugin processing hogging processor (LMS is single threaded) You need to eliminate possibilities. Are the players synced ? Do you have other plugins that may do audio processing such as Inguz. What else is LMS doing when playing (e.g. database scanning). To play 192/24 on SB3 - decompression, resampling (not sure whether resample to 44.1Khz or 48Khz) and recompression will be happening. Usually resampling and recompression to Flac are the big processor load. You should check processor load on Pi4 using top or similar. Some users change the default sox resampling settings and can make it very processor intensive. The network should be able to handle the resulting 44.1kHz (48Khz?) Flac but some "wired" network technologies can have problems. Also occasionally network sockets & cable fail gradually (i.e.intermittent connection) What is network topology ? Do you use Homeplug ? Do you have network switches/hubs ? You should enable LMS logging to see what is the root cause of the stuttering - start with player.source to DEBUG to check audio processing (e.g. confirm that just resampled Flac and not WAV is being sent to players) bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=117034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS + Squeezelite on same computer - workflow
Jdubs wrote: > Hey guys, I just installed the Local Player pluginjust to be sure > that local files are handled "correctly". "Correctly" is not right - "differently" is better. There is no difference in the handling of the contents of the file or the performance in playing the file. IIRC LocalPlayer was sort of aimed at low power standalone systems (e.g. Pi1) - minimise network traffic. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116943 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS + Squeezelite on same computer - workflow
AFAICT from source code. If squeezelite command line logging for "stream" is enabled to INFO (-d stream=info) - it should generate log message when local files are being opened. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116943 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS + Squeezelite on same computer - workflow
Jdubs wrote: > Thanks guys. I've updated my squeezelite config to: > > SB_SERVER_IP="file://127.0.0.1:3483/" Just to clarify in case others are reading this thread. This is not right. SB_SERVER_IP needs an IP address - "file://" is an URL not an IP address so I suspect something else make it work. The URL "file://127.0.0.1:3483" is for internal use ONLY by LMS by the LocalPLayer plugin and the special "loc" audio type created by the LocalPlayer plugin - it is not for use WITHOUT the LocalPlayer plugin. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116943 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS + Squeezelite on same computer - workflow
IIRC (tbc) The LocalPlayer plugin enables a feature that means a squeezelite on same system as LMS will play audio files from the files itself (i.e. using file path) and not use a network connection. If you install LocalPlayer you should update the version of squeezelite that is bundled with it as I think it is very old. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116943 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Help streaming from a website
>From the web page text, I'm assuming the playlist doesn't change. Attached is an attempt of a m3u playlist for all the URLs (download and rename txt to m3u). There is something wrong with my formatting of the M3U playlist as it doesn't show the titles. It'll probably need some editing to get syntax right. +---+ |Filename: halloween.txt| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=38767| +---+ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116822 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Help streaming from a website
Not sure if this is repeatable but it looks like you'll need a plugin to automate or a script to create a m3u playlist. Using Browser debugging console to log the page loading and looking at network tab. The "interesting" fetch is https://dinosaurdracula.com/halloweenjukebox/wimpy.php Used console to create a curl command and added output to a file called wimpy.gz curl 'https://dinosaurdracula.com/halloweenjukebox/wimpy.php' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0' -H 'Accept: */*' -H 'Accept-Language: en-GB,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Referer: https://dinosaurdracula.com/halloweenjukebox/wimpy.iframe.html?skin=%2Fhalloweenjukebox%2Fwimpy.skins%2F104_c.tsv&coverArt=https%3A%2F%2Fdinosaurdracula.com%2Fwp-content%2Fuploads%2F2019%2F07%2F5-2.jpg&startUpText=Dino%20Drac%27s%20Halloween%20Jukebox!&sort=title&loop=2&glyphFile=a' -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: trailers' --output wimpy.gz The file returned is gz'ipped - so it need to be unzipped.. It si a an XML list of the playlist. Snippet below. The needs to changed into a playable URL whic hare of thw form https://dinosaurdracula.com/halloweenjukebox/001 - Oingo Boingo - Dead Man's Party.mp3 Code: 1662395067 /halloweenjukebox/216 - Jim Manzie - The Way of All Flesh.mp3 mp3 216 - Jim Manzie - The Way of All Flesh /halloweenjukebox/coverart.jpg 1662395078 /halloweenjukebox/221 - RHPS - Time Warp.mp3 mp3 221 - RHPS - Time Warp /halloweenjukebox/coverart.jpg . . 1662394596 /halloweenjukebox/001 - Oingo Boingo - Dead Man's Party.mp3 mp3 001 - Oingo Boingo - Dead Man's Party /halloweenjukebox/coverart.jpg . . bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116822 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.2 & 8.3 - SqueezeNetwork: Unable to login to SN / mysqueezebox.com
Paul Webster wrote: > Good that it works - but that seems strange. > There are people who run more than one LMS inside their home network and > I expect some of them have more than one logging into LMS. Agreed. Perhaps the prefs files were copied and the same server_uuid was being used. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116831 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Squeezeboxserver consumes 100% cpu syncing radio stream
vlgindeed wrote: > Thx v.much - I will try 8.3. Is there a bug ref? There is no longer any bug register. All LMS stiuf is in github Problems can be raised in a Forum post but also logged as a Github issue. The high CPU one is noted here https://github.com/Logitech/slimserver/issues/700 Pull requests can also indicate changes perhaps done without any other bug report being noted. For the high CPU the pull request is here https://github.com/Logitech/slimserver/pull/718 Closed pull request (i.e. code changes) are listed here https://github.com/Logitech/slimserver/pulls?q=is%3Apr+is%3Aclosed The Changelog8.html file is maintained mainly by Michael and is a list of "significant" changes but doesn't list all bugs fixes / pull requests https://github.com/Logitech/slimserver/blob/public/8.3/Changelog8.html bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116816 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Squeezeboxserver consumes 100% cpu syncing radio stream
There is a bug in LMS 8.2.* which means some radio station metadata can make LMS use 100% on the CPU core LMS is using. Upgrade to 8.3.* to see if problem goes away. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116816 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is this a good or bad idea? LMS and Windows 10 question.
DavidBullock62 wrote: > Does this sound like a viable, long term solution, or is there a simpler > turnkey solution that will ensure longevity, or am I fighting a loosing > battle? What do you mean by long term solution ? Windows 10 support ends in Oct 2025 Will you get a free upgrade to Win11 with refurbished PC ? If PC is only a LMS server - Windows adds a lot of overhead which will not be used. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116263 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Play start when powering on synchronized device
nickey wrote: > I think it may be a bug. If anyone can give me some pointers on how to > further analyse/troubleshoot this (log files?), I'd be happy to do that. Total longshot - do you have PlayHLS V2.x installed ? < V2.8 can interfere with LMS "resume" function - but not sure if "resume" is used in the player sync context. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116241 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Sleep function
Fade settings are per player and in Default WebUI /Settings/Players//Audio bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116214 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Multiple Radio Stations In The Queue - Observations and Unexpected Behaviour
Redrum wrote: > I'm Not sure I understand this response. Are you referring specifically > to playlists? Because I described in excruciating detail how to cause > disruption by adding to the queue in this thread, in the attached > document. > > If you are referring specifically to playlists, then, sure. I can > document steps to disrupt (and be concise, I promise :)). My original > journey down this rabbit hole started with adding multiple streams to > the queue and creating a playlist. With the contents moved to the queue, > there was allot of unexpected behavior when selecting position 1, then > 3, then 2, etc. That ended up with my "I broke LMS" thread. "a playlist of radio streams" can be interpreted in a few ways. LSM has an active playlist for each audioplayer. * A user can use a UI, adding one item one at a time to the playlist. This is the sort of playlist that is being described in 1st post. * A user can create with a text editor or some other tools a playlist file. There are a number of formats for these files such as m3u, pls, asx, ram etc. In this case, the user via UI requests to play a playlist file. Each item in the playlist file is usually processed by the specific playlist parser which in turn adds to the queue each item the parser finds & checks. * With some plugins such as my iHeart, when a user selects to play a station, whilst iHeart has a radio playlist for each station, it is the plugin which adds each streaming URL separately to queue. Usually up to 4 playable items will be added to the queue - each item is a single playable URL. * With some other "radio" plugins, playing an item may add a radio playlist URL so although only one item appears in the queue, there are multiple URLs in the radio playlist and it may be a protocolhandler which selects next item to be played. With the various possibilities and interpretations of "radio playlist" - more details are needed to determine if the two problems described are symptoms of the same issues, even if the symptoms are similar. If the problem is readily reproducible such as with a copy of the playlist file and a specific system setup, then identifying the problem should not take time - solving it may take time. But as you have suggested, and I, and I am sure others would agree, is it worth even thinking about for the 0.01% that might want to have this work predictably? I think time has convinced me that it isn't. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116205 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Multiple Radio Stations In The Queue - Observations and Unexpected Behaviour
bwaldron wrote: > You're not alone. I have used playlists of radio stations in the past, > and encountered many of the same issues that you have. If you can describe a method to reproduce your problem on another system then the problem can be checked. If it is just the radio playlist then a copy of the playlist file and descriptions of actions/symptoms may be all that is necessary to reproduce. Internet radio URL playlist (e.g. m3u, pls, asx) can seem to have different behaviour than a file playlist because streaming URLs can have retries and delays built into their handlers. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116205 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Multiple Radio Stations In The Queue - Observations and Unexpected Behaviour
Example of being pro-active might provide better answers. Normally the getMetedataFor routine has to return a hash with icon, title etc. Line in red show that in some circumstance it will return "empty" - this may explain the "blank" slots in your queue. Adding additional logging would check if this was the case. In RP code - its getMetdataFor handler - fragment below Code: sub getMetadataFor { my ( $class, $client, $url, $forceCurrent ) = @_; $client = $client->master; my $song = $forceCurrent ? $client->streamingSong() : $client->playingSong(); return {} unless $song; main::DEBUGLOG && $log->is_debug && $log->debug("Refreshing metadata"); my $icon = $class->getIcon(); my $cached = $class->getBlockData($song); # want the streaming song and url specific, means we want the whole block if ($cached && $forceCurrent eq 'repeating') { main::INFOLOG && $log->is_info && $log->info("returning 1st song of new block"); return { icon=> $icon, cover => $icon, bitrate => '', title => 'Radio Paradise', duration => $cached->{length}, secs => $cached->{length}, song_id => 0, slideshow => [], buttons => { rew => 0, }, }; } . . . bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116205 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Multiple Radio Stations In The Queue - Observations and Unexpected Behaviour
Redrum wrote: > Agree, I need to reiterate that these are observations, not meant to > create work, but rather to point out a use case that resulted in > unexpected behavior, maybe something a dev consider a bug. I can't help feeling time might be time might be better spent, learning some Perl even if just to add more specific logging in say the getmetadatafor routine. > Taking it further thought, through using the queue with radio streams > (playing around), I managed to somehow alter LMS (other thread) - > unrecoverable, I will need to reinstall. TBH I couldn't follow the other thread - there is too much text - I think the details have become obscured. It takes more time to write fewer words. Unless you edited an LMS ".PM" file, then you haven't altered LMS in an unalterable way, you just either messed up prefs or else something is still cached. For the "broken" system - see if clearing *all* files in Cache, clear browser cache and then restart system (to clear OS caches) makes a difference. If not then problem is in a prefs file. If you create a clean working system with same plugins - don't try to recreate the steps to break it - just look at the differences in the prefs idle. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116205 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Multiple Radio Stations In The Queue - Observations and Unexpected Behaviour
Redrum wrote: > Radio Stations do not behave like music files in the queue (when there > is more than one), and station types (plugin or standard) don't (miss) > behave The same way. For stations that have/use a protocol handler - the metadata displayed (e.g. image, text) during playing is usually supplied by a plugin "getMetadatafor". For items that are queued - the same routine "getMetadatafor" is called. There are various methods to get the metadata depending on the source. Some mayeb eemddded in the stream, some on demand from a URL, others may be collected as part of a background process To return the correct information, the protocol handler will need checks whether the calling client is actually playing the queued "URL" (i.e. get current data) or in queue (i.e. just return static image and title) . For some protocol handlers this may be "difficult" if you're already playing the same station as the URL may be the same but some dynamic parameters different (e.g. starttime). So a question has to be asked - are these realistic scenarios ? To resolve the problem may add complexity to the plugin which in practice will never be used. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116205 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS uses up 100% of CPU on RPi 4, web interface very slow or not responding at all
Julf wrote: > Any ideas? Sounds like something odd with the network stack. The reverse could be true, something is hogging CPU and because LMS is single threaded, normal network operation is being *prevented* as can be seen by slow WebUI operations (which is also network i/o). Usual procedure is disable all 3rd party plugins and try restarts. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116197 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > yep, now the hard part, because problem is intermittent, and there are > lots of parts/cables from the wall to the modem to the LMS server to the > player. Any of which could have a fault generating an intermittent > issue. At least now the intermittent nature is once or twice a day, > versus every 10 minutes. The problem may not be within your network but still worth looking. I had a network fault once and it was one of the four springy pins in the ethernet socket was not straight but angled sideways. > (Not sure, but I recall someone telling me that the local traffic > doesn't go back to the router.*that is, if my LMS is connected to a > switch and my player is connected to the same switch, then the > connection from the switch back to the router is not used in the data > transmission of my local music files that are connected via USB directly > to my LMS server. * > > Is this latter point correcti'm out of my depth when it comes to > network data traffic. I think so - memory & detail is not great. IIRC Ethernet switches operate at MAC address and not IP address. On original twisted pair hubs, every cable saw what was transmitted on all other cables - so bandwidth was shared. Switches were innovative, the switch recorded which MAC addresses were on a port and so packets were switched between ports based on MAC addresses. The port to router is used for any packet destined for MAC not other switch port. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
callesoroe wrote: > Have you tried to switch to "Stream through Proxy" . This sometimes > helps on buffer issues To identify whether buffering was caused by LMS or external, "proxied" streaming was turned off as well as setting "Advanced/Network/Streaming mode" to normal. Those measure can only mitigate the problem, now the question is to see whether the problem can be fixed (e.g. caused by a h/w or cable issue). bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > Finally had one of these rebuffering episodes (not synched, direct > playback to player, etc.). Was fine for several hours through 17:11 > time. Then at 19:18 time (excerpt below), it stopped and then > rebuffered before starting back playing. Note the "playerOutputUnderrun" > message when this started. (full log at end of message). Outputunderrun is when there is no data left to be output - this trigger rebuffering. Interesting the rebuffering threshold is 8 - I thought it would be higher but it took a long time for even When rebuffering occurs, the stream has stalled (i.e. 4 secs to go from 150 to 3069, 20 secs when data received is still only 3069) - it is not being filled up and in the end LMS gives up after a timeout. This means the "buffering" issues is not in LMS, but in the network - somewhere - local LAN, modem, ISP, CDN, station and so it may not be fixable. Using LMS to play the station and using LMS measure/settings turned off (e.g. proxied streaming) can only mitigate the problem - reduce the impact on listening but cannot eliminate it. Since you can do nothing about ISP, CDN or station - all you can do is to investigate to see if it is an issue with your network. You should spend a little bit of time investigating the issue to check is there something obvious. The problem can be in the network hardware or the use of the network. Check common equipment (e.g. dodgy power barrel connection on switch which gets occasionally knocked by cat). A problem with an audio stream is obvious (gap in audio) whereas same problem would not be noticeable on a webpage display or a file transfer If the issue is network usage - then is it caused by - a whole network event (e.g. network storms, big traffic upload/download, DHCP leases expiring) - isolated issues such as the loss of a single TCP ACK packet. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > thanks for the analysis. I'll run this setup for a while and wait for a > problem to occur. thanks so much for your detailed responses and help. The display during buffering with the percentage bothered me (i.e. was the Preference setting involved - in your case 15 secs). So I just checked the code and AFAICT the percentage is of a fixed number 5 secs of 44.1kHz 2 channel 32bits/sample audio. Also it looks like that if player.source is set to INFO - it may log all occurances of "Buffering" - it may be useful if you want to run a test unattended. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > I've rebooted rPi with LMS and started playing again. With info, I now > see the playing of the radio stream in the log (and showing it is > direct). But what is this error about mp3. That seems odd. mp3 is set > to "native" in filetypes. How LMS evaluates formats and transcoding options can confuse. My knowledge is not fully up to fate since changes in 8.? which include the "File conversion format setup" check box but I'll give a brief summary. When an audio source is about to be played LMS evaluates its characteristics again all those available in FileTypes. Factor include source audio codec, destination supported codecs, source type (e.g. remote HTTP, remote HTTPS, file), bit rate vs player support bitrate etc. *ALL* the various rules are effectively evaluated in parallel. Ones that are not successful are rejected, successes are remembered as candidates - I think the logging process will log the rejection but not all the successes. When all rules have been evaluated - the "best" one is chosen - simplistically the ordering of "best" is: direct vs indirect, native vs transcoded, transcoded lossless vs lossy - but some setting can override these (e.g. "File conversion format setup"). I think evaluations are done via "callbacks" so sometimes the log message will appear well after the evaluation has completed and is not really contemporary. In your log. The "New state STREAMING" indicates the player has issued a HTTP/GET and player is getting data direct from the station. Player regularly report back to LMS it status and the status contains buffer fullness. The logging is showing two number - the amount of data in the input buffer and the threshold (184320) that must be reach before playing starts - threshold value is LMS calculation of 15 secs of audio based on a preview of audio data. A delayed log message of the evaluation of the rules appears - it is stating that one of the rules was evaluated and rejected - but it may be hard to understand but this rejection happened before the player streaming GET has started. This occurs in 150ms. I don't worry about "why", I now know this is "normal" for a log of transcoding but it is a source of confusion for some users who may try to "fix" the problem not realising it is not an error. Code: [22-03-22 09:01:16.6847] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING [22-03-22 09:01:16.8047] Slim::Player::Player::_buffering (1144) Buffering... 0 / 184320 [22-03-22 09:01:16.8053] Slim::Player::Player::_buffering (1145) +output... 3519672 / 5292000 [22-03-22 09:01:16.8156] Slim::Player::TranscodingHelper::getConvertCommand2 (490) Error: Didn't find any command matches for type: mp3 [22-03-22 09:01:17.1097] Slim::Player::Player::_buffering (1144) Buffering... 0 / 184320 [22-03-22 09:01:17.4140] Slim::Player::Player::_buffering (1144) Buffering... 0 / 184320 [22-03-22 09:01:17.7179] Slim::Player::Player::_buffering (1144) Buffering... 0 / 184320 [22-03-22 09:01:18.0212] Slim::Player::Player::_buffering (1144) Buffering... 34968 / 184320 [22-03-22 09:01:18.3247] Slim::Player::Player::_buffering (1144) Buffering... 74422 / 184320 [22-03-22 09:01:18.6284] Slim::Player::Player::_buffering (1144) Buffering... 120096 / 184320 . . [22-03-22 09:01:23.1875] Slim::Player::Player::_buffering (1144) Buffering... 182304 / 184320 [22-03-22 09:01:23.2778] Slim::Player::StreamingController::playerTrackStarted (2200) 00:04:20:10:12:97 [22-03-22 09:01:23.2784] Slim::Player::StreamingController::_setPlayingState (2377) new playing state PLAYING Input buffer got more data until threshold of 184320 must have been breached at around 22-03-22 09:01:23.2778 and so playing can then start. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > What is the current value for WebUI Settings/Advanced/Network Radio > Station buffer seconds. *15, had been 3, but I increased to 15, and still get the rebuffering occasionally * This setting is the initial buffer size in seconds - effectively it is how much audio data should be in player buffer before LMS allows station to start playing. However once data in the player buffer is depleted (i.e. buffering message appears after radio has been playing for a while) - the setting has no function. If the setting is initially too small, then you can get buffering shortly after playing starts and repeats - this can happen with high data rate streams (i.e not enough time to fill player buffer before all buffered data is played) 15 secs is reasonable value,and streams are "normal" - so a "too small number" is probably not the cause. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > [B]Odd that with this set to INFO, I get almost nothing on the server > log. See attached. In fact, nothing at all showing from this morning, > March 22, 2022, post 7:00am. Something odd with your logging. Perhaps didn't click Apply. The log should look something like below. I've highlighted the key log entry to show direct streaming. I don't like the look that your system is trying to download a firmware update but fails. That may cause problem if it retries at various periods. Code: [22-03-22 12:32:53.9761] Slim::Player::StreamingController::_setPlayingState (2380) new playing state STOPPED [22-03-22 12:32:53.9762] Slim::Player::StreamingController::_setStreamingState (2389) new streaming state IDLE [22-03-22 12:32:53.9765] Slim::Player::StreamingController::resetSongqueue (1799) Song queue is now [22-03-22 12:32:53.9772] Slim::Player::StreamingController::play (2123) 00:04:20:16:07:0e [22-03-22 12:32:53.9776] Slim::Player::StreamingController::_setPlayingState (2380) new playing state STOPPED [22-03-22 12:32:53.9777] Slim::Player::StreamingController::_setStreamingState (2389) new streaming state IDLE [22-03-22 12:32:53.9787] Slim::Player::Song::new (109) index 0 -> http://am820.wnyc.org/wnycam [22-03-22 12:32:53.9792] Slim::Player::StreamingController::_setStreamingState (2389) new streaming state TRACKWAIT [22-03-22 12:32:53.9816] Slim::Player::StreamingController::_playersMessage (799) Getting stream info...: http://am820.wnyc.org/wnycam [22-03-22 12:32:53.9821] Slim::Player::Song::getNextSong (222) http://am820.wnyc.org/wnycam [22-03-22 12:32:53.9823] Slim::Player::Song::getNextSong (244) scanning URL http://am820.wnyc.org/wnycam [22-03-22 12:32:55.1658] Slim::Player::Song::getNextSong (222) http://am820.wnyc.org/wnycam [22-03-22 12:32:55.1664] Slim::Player::StreamingController::_nextTrackReady (747) 00:04:20:16:07:0e: nextTrack will be index 0 [22-03-22 12:32:55.1668] Slim::Player::StreamingController::_Stream (1213) Song queue is now 0 [22-03-22 12:32:55.1671] Slim::Player::StreamingController::_Stream (1216) 00:04:20:16:07:0e: preparing to stream song index 0 [22-03-22 12:32:55.1674] Slim::Player::Song::open (362) http://am820.wnyc.org/wnycam [22-03-22 12:32:55.1695] Slim::Player::TranscodingHelper::getConvertCommand2 (490) Error: Didn't find any command matches for type: mp3 [22-03-22 12:32:55.1698] Slim::Player::Song::open (386) seek=false time=0 canSeek=0SEEK_ERROR_MP3_UNKNOWN_DURATION [22-03-22 12:32:55.1705] Slim::Player::TranscodingHelper::getConvertCommand2 (493) Matched: mp3->mp3 via: - [22-03-22 12:32:55.1708] Slim::Player::Song::open (418) Transcoder: streamMode=I, streamformat=mp3 [22-03-22 12:32:55.1713] Slim::Player::Song::open (464) URL supports direct streaming [http://am820.wnyc.org/wnycam->http://am820.wnyc.org/wnycam] [22-03-22 12:32:55.1912] Slim::Player::StreamingController::_Stream (1285) 00:04:20:16:07:0e: stream [22-03-22 12:32:55.1934] Slim::Player::StreamingController::_Stream (1322) Song queue is now 0 [22-03-22 12:32:55.1935] Slim::Player::StreamingController::_setPlayingState (2380) new playing state BUFFERING [22-03-22 12:32:55.1937] Slim::Player::StreamingController::_setStreamingState (2389) new streaming state STREAMING [22-03-22 12:32:55.3177] Slim::Player::Player::_buffering (1144) Buffering... 0 / 36864 [22-03-22 12:32:55.5364] Slim::Player::TranscodingHelper::getConvertCommand2 (490) Error: Didn't find any command matches for type: mp3 [22-03-22 12:32:55.6183] Slim::Player::Player::_buffering (1144) Buffering... 0 / 36864 [22-03-22 12:32:55.9193] Slim::Player::Player::_buffering (1144) Buffering... 0 / 36864 [22-03-22 12:32:56.2202] Slim::Player::Player::_buffering (1144) Buffering... 0 / 36864 [22-03-22 12:32:56.5214] Slim::Player::Player::_buffering (1144) Buffering... 16972 / 36864 [22-03-22 12:32:56.5742] Slim::Player::StreamingController::playerTrackStarted (2203) 00:04:20:16:07:0e [22-03-22 12:32:56.5746] Slim::Player::StreamingController::_setPlayingState (2380) new playing state PLAYING [22-03-22 12:32:56.5750] Slim::Player::StreamingController::_Playing (368) Song 0 has now started playing [22-03-22 12:32:56.5758] Slim::Player::StreamingController::_Playing (397) Song queue is now 0 [22-03-22 12:33:00.5916] Slim::Player::TranscodingHelper::getConvertCommand2 (490) Error: Didn't find any command matches for type: mp3 [22-03-22 12:33:08.7198] Slim::Player::StreamingController::stop (2120) 00:04:20:16:07:0e [22-03-22 12:33:08.7204] Slim::Player::StreamingController::_Stop (610) Song queue is now 0 [22-03-22 12:33:08.7207] Slim::Player::StreamingController::_setPlayingState (2380) new playing state STOPPED [22-03-22 12:33:08.7208] Slim::Player::StreamingController::_setStreamingState (2389) new streaming state IDLE [22-03-22 12:33:08.7211] Slim::Player::StreamingController::rese
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > I can login to ISP modem. there is no item "quality", but all the > connections report OK, and there is nothing odd reported. Up time is 8 > days (I rebooted modem then). See pic: > > 37538 It may take a bit of diugging. Is there no Admin menu ? possibly with Network Tools. My Virgin Modem has the following under Admin/Advanced/Tools/Network Status - Configuration and network Log. At least I can see what is configured at the time. Code: Refresh data General Configuration Network accessAllowed Maximum Number of CPEs10 Baseline Privacy Enabled DOCSIS Mode DOCSIS 3.0 Config file CH7465LG_cm_res007_v4-sip.bin Primary Downstream Service Flow SFID 898064410 Max Traffic Rate 10485760 bps Max Traffic Burst 16320 bytes Min Traffic Rate 0 bps SFID 898064409 Max Traffic Rate 16 bps Max Traffic Burst 3044 bytes Min Traffic Rate 12000 bps SFID 898064408 Max Traffic Rate 53500 bps Max Traffic Burst 42600 bytes Min Traffic Rate 0 bps Primary Upstream Service Flow SFID 898056220 Max Traffic Rate 2097152 bps Max Traffic Burst 16320 bytes Min Traffic Rate 0 bps Max Concatenated Burst16320 bytes Scheduling Type Best Effort SFID 898056219 Max Traffic Rate 16 bps Max Traffic Burst 3044 bytes Min Traffic Rate 12000 bps Max Concatenated Burst1522 bytes Scheduling Type Best Effort SFID 898056215 Max Traffic Rate 5350 bps Max Traffic Burst 42600 bytes Min Traffic Rate 0 bps Max Concatenated Burst42600 bytes Scheduling Type Best Effort bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > *by intermittent, I mean that it may go many hours without buffering. > But when it does start buffering, it may buffer frequently over a short > window (every few minutes over a 30 minute window). In the past, I > would also notice very low UPLOAD speed at the same time, but normal > DOWNLOAD speed). Separate line of inquiry. Can you log into ISP modem : - What does modem say about "link to ISP" quality ? Is it different to "normal" times ? - look at line statistics ? Is there any unusual data activity happening at this time (e.g. if using a cable service could DVR be sending data upload) somewhere on network. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
garym wrote: > The word "buffering with percentage count up" shows upon the screen of > either the CONTROLLER or the SqueezePlay "screen" (I still use > squeezeplay as a controller on my windows laptop, controlling the > TRANSPORTER). Seems to be true buffering (as in, after rebuffering it > may pick up from exactly where it left off, as compared with a true > loss/gap in audio). > > A couple other points: > > 1. I get the buffering even when the Transporter and Radio are not > synced, and the Radio is not playing at all (but it is still connected > to the ethernet over power converters) > > 2. I don't get the buffering playing local files. Of course the > buffering is so intermittent* that I can't be 100% sure it doesn't > happen with local files, as I haven't tried that for an all day period. "Buffering" will appear when a player reports to LMS that it has no data to play in its buffer (can't remember which buffer "undecoded" or "decoded"). When a player is synced the audio stream will go through LMS but when a player is not synced - the stream may be played directly by the player - if conditions are right. If, for test purposes, you can play a stream directly by the player (i.e audio goes straight from Station to player - not through LMS) and no "Buffering" occurs then it is likely LMS can be considered part of the problem. If when playing directly "buffering" still appears -then "network" is the problem. As Transporter cannot play AAC natively and no older SB player can handle HTTPS - a test stream has to be a HTTP/MP3 stream with no redirection to HTTPS. LMS setting also important (before changing, please record and report the current settings for reference) - the player must be unsynced - WebUI Settings/Player/Audio/Streaming method is set to "Direct Streaming" - WebUI Settings/Advanced/Network/Streaming mode for HTTPS is set to "Normal" - WebUI Settings/Advanced/Filetypes MP3 - Native To confirm playing the stream a test run can be done using player.source set to INFO to confirm that stream is being played direct. As a further check on network health for unusual items such as errors, timeouts, retransmissions etc.. I don't know PCP that well so there may be a btter command. Can you post a dump before and after a test of /proc/net/netstat The output can be made pretty later. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Which Log for capturing potential cause of buffering internet radio streams
What is your network topology ? (e.g. some powerline devices have intermittentd gaps in service - no loss with web page or files but noticeable with audio/video) What are the symptoms of "buffering" Is it the word "buffering" appearing or gaps in audio without loss or gaps where audio is lost or other ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] No cover art (image) for streams ( Azuracast )
I tried the link ffplay - and no icy data was seen by ffplay Code: I[http @ 0x7f4488001780] request: GET /radio.mp3 HTTP/1.1 User-Agent: Lavf/58.29.100 Accept: */* Range: bytes=0- Connection: close Host: 35.195.126.170:8000 Icy-MetaData: 1 [http @ 0x7f4488001780] header='HTTP/1.0 200 OK'B sq=0B f=0/0 [http @ 0x7f4488001780] http_code=200 [http @ 0x7f4488001780] header='Content-Type: audio/mpeg' [http @ 0x7f4488001780] header='Date: Mon, 21 Mar 2022 09:14:02 GMT' [http @ 0x7f4488001780] header='icy-br:320' [http @ 0x7f4488001780] header='ice-audio-info: channels=2;samplerate=44100;bitrate=320' [http @ 0x7f4488001780] header='icy-description:Smurgle Reboot, Synthwave & Retrowave' [http @ 0x7f4488001780] header='icy-genre:Electronique' [http @ 0x7f4488001780] header='icy-name:Smurgle Radio' [http @ 0x7f4488001780] header='icy-pub:0' [http @ 0x7f4488001780] header='icy-url:https://smurgle.com' [http @ 0x7f4488001780] header='Server: Icecast 2.4.0-kh15-ac1' [http @ 0x7f4488001780] header='Cache-Control: no-cache, no-store' [http @ 0x7f4488001780] header='Expires: Mon, 26 Jul 1997 05:00:00 GMT' [http @ 0x7f4488001780] header='Connection: Close' [http @ 0x7f4488001780] header='Access-Control-Allow-Origin: *' [http @ 0x7f4488001780] header='Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type, Icy-MetaData' [http @ 0x7f4488001780] header='Access-Control-Allow-Methods: GET, OPTIONS, SOURCE, PUT, HEAD, STATS' [http @ 0x7f4488001780] header='icy-metaint:16000' [http @ 0x7f4488001780] header='' Probing mp3 score:1 size:2048 Probing mp3 score:1 size:4096 Probing mp3 score:51 size:8192 bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116147 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] No players connecting to LMS
musicalrower wrote: > Everything is 192.168.1.something. > I haven't done anything fancy to separate into segments. But the network > is maybe a little more complicated... the Linksys is just wi-fi. There's > a Vodafone router (with wifi disabled), then a switch, then the first > linksys mesh device. So maybe the vodafone and linksys are getting in > each other's way? For security a lot of routers have a default setting that prevents wifi clients from communication with each other. If there is a network issue, how you have setup up the Linksys device is probably the key. I'm guessing the switch is a basic "dumb" unmanaged consumer device. The simplest setup would to set the Linksys device as a AP and all routing, DHCP, DNS are done by Vodafone router. Otherwise you could have two interconnected routers that can route - that needs to be setup carefully. > In general, yes I use DHCP. But for the NAS, I did use the NAS's own > network settings to choose a static IP within the 192.168.1.xxx range. I > did this because I access it by IP, and want to be confident it'll stay > where it is. Most modern routers allows users to set defined IP address according to MAC and so all devices can be setup to be DHCP and all IP assignments are then managed from the router. Since NAS is setup manually - you need to make sure network interface setting (i.e. address mask, default route address) are the same for DHCP assigned devices and the NAS device. > I think I had assumed discovery was the other way - players discovering > LMS on local network. But the way you're describing it, it sounds like > it's actually the other way around. So maybe I didn't reboot things in > the right order. Players discover LMS serversd. A player broadcasts a single packet and all servers reply with their details. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116139 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] No players connecting to LMS
musicalrower wrote: > The players are all on a wi-fi (Linksys mesh setup) that's connected to > a switch, and my NAS is connected to that same switch. So I think it > should be discoverable. I haven't taken any advanced steps in network > management. Same network means - all on same LAN segment (i.e. same address mask). For completeness, some switches can do VLAN and so devices can appear to be on a different LAN segments but you haven't done anything like this. I presume you are using DHCP to let Linksys equipment allocate IP addresses. Discovery is done using Broadcast UDP packets. The broadcast only happens when a player is rebooted/powered up . Make sure Linksys is setup to allow this. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116139 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] No players connecting to LMS
Did you reboot (i.e power off/on) all your players ? Players find new servers on power up. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116139 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Cue files and .cur files
What format are the track files ? Are they flac or WAV > If they are flac, can you run "metaflac --list" on two of the tracks - to check if they have en embedded cursheet ans whether all traclks on the album are mentioned even thiugh it is a single tracvk. The output from Sound-juicer ripping a CD generate a file per track but it has the cuesheet for the *whole* album embedded into each track. So after scanning each album is shown with the tracks duplicated even though there is only one file per track. Lots of errors when the album is scanned but no appearance of "cur" bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116062 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Cue files and .cur files
RobbH wrote: > It appears that .cur files are only created when the LMS scanner thinks > it encounters errors in a cue file. It could be an old .cue file that > points to files that no longer exist, for instance. Or (I think) it > could be the target file contains tags that do not match the metadata > defined in the cue sheet. One recent report involved an embedded cue > sheet that was malformed. It defined several empty tracks, so .cur files > appeared in the library. > > Thanks for replying. I appreciate having some discussion about this, > because I am very aware that I might be entirely wrong. It's also very > possible to regard the .cur files as a useful service that informs users > when there are hidden problems in their libraries. But it also seems to > be true that if the .cur files were not visible to the user, there would > be no problem with them in LMS. I don't use cue file but I got involved in a bug which started the recent cycle. It's been a while since I waded through CUE code. Some of the recent problem may come from "bad" applications like Ubuntu/Debian SoundJuicer which make it easy to rip a CD into a file per track with metadata etc - however it embeds a cuesheet into all the track files. !! So now after LMS changes, it is becoming clear to user that they have "bad" cue files in their library cur files are not a way to flag an error as can be seen in code below. IIRC LMS expects cue sheets (etiher embedded or separate) files to be used with a *single* WAV or Flac file as all comments talk of a basefile. LMS to handle cuesheet wth a single file so LMS creates virtual track which have a content type of cur (not 100% sure of this). I think the LMS code was written not expecting that there would be a different real file associated with the "virtual track" and so other parts of the processing such as displaying cur file may be a side effect. from LMS Formats/PlayliST/CUE.pm Code: # We may or may not have run updateOrCreate on the base filename # during parseCUE, depending on the cuesheet contents. # Run it here just to be sure. # Set the content type on the base file to hide it from listings. # Grab data from the base file to pass on to our individual tracks. if (!defined $basetrack || $basetrack->url ne $track->{'FILENAME'}) { main::INFOLOG && $log->info("Creating new track for: $track->{'FILENAME'}"); $basetrack = Slim::Schema->updateOrCreate({ 'url'=> $track->{'FILENAME'}, 'attributes' => { 'CONTENT_TYPE'=> 'cur', 'AUDIO' => 0 }, 'readTags' => 1, }); bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116062 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Now where was I?
troffasky wrote: > I am checking the state of the connection between LMS and whatever the > stream is coming from. This was in response to Redrum's supposition that > the issue is caused by this leg of the connection timing out. I think LMS notes the "last position" by the info coming back from slimproto as a player may have a huge internal buffer (or a highly compressed very low bit rate MP3 stream) and yet have only played a fraction of it - it is the duration of the fraction played that should be recorded as the "last position" and not the amount received and so the state of the audio connection may not be relevant if all audio data has been downloaded into the player. I think to be certain, you need to validate by enabling LMS logs. I think if a stream is paused and it is not a "live" stream (i.e. a known limited duration) - LMS will hold data buffer but the source may close the TCP connection if data does not move within a time period. If connection is closed LMS will hold the "last position". Depending on the source (i.e. HTTP server with an ability to start at a Byte offset) - the stream may be resumed at the byte offset. *Not all sources can do this.* IIRC Podcast mechanism depends on being able to request a byte offset from a HTTP server. Phillippes build on this with caches in memory or on disk but it may be reliant on HTTP server capabilties. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115999 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Now where was I?
troffasky wrote: > You can see the connection LMS makes to the provider with lsof. > > lsof -i -n | grep squee | grep ESTABLI | grep -v 127.0.0.1 > > I can see that as soon as I press pause, the connection to Akamai is > closed. > Tested with a generic internet radio stream and I can see that it is not > immediately closed on pause, it was about a minute. What are you checking with this command ? A player has at least two connection - audio stream and LMS control. The audio stream can be between LMS and player or station and player. When a player is playing direct - the audio connection is from player to station. The control connection between player and LMS - this is the connection that matters. I'm guessing LMS is using the slimproto (TCP port 3483 common to all players) as the connection to determine if a player is connected or not and possibly the one which determines if position is remembered. This connection can be broken if player and/or LMS goes to "sleep" bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115999 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?
Not sure if you're still using the ncat script but completeness. Attached is a V2 of the script which is more efficient 1. It uses CLI "status" command to return all metadata in one call. 2. It uses the "subscribe" option of the "status" command so that status message are generated unsolicited when changes happens (e.g. new track, player mode) or after a time lime (currently 20 secs). So no need for polling loop in batch file. +---+ |Filename: cli_status_v2.lua.txt| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37389| +---+ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?
Hellsblade wrote: > I'm running everything on the RPI now. There is also an ncat for the PI. > That was my aim. The windows VM is no longer in play. > The other metadata script was not working well for me. I don't know why. > Different platform? It was presented in combination with ices2. which > also did not work for me. > Just to be clear i'm not blaming anyone. I'm very thankful for all the > help i already received. > > My script to loop looked liked this; > > Code: > > #!/bin/bash > while [ 1 ]; do ncat 192.168.1.29 9090 --lua-exec cli_status.lua >/dev/null 2>&1 ; sleep 5; done > > > > > Greetings Henk. ncat was only suggested becuase you needed to run on Windows. There are much better solution for a Linux based system. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?
Hellsblade wrote: > That's was because I wanted the timing to be OK when the song changes. > You don't want it change the artist album and track 20 seconds into the > song or something. Polling is not the best way to do especially short polling - as I said in a post > 2. If you want notification on changes you use the CLI command "listen > 1" - then unsolicited changes will be sent. The script then has to > change into a loop whose action looks at strings received, waits for a > "newmetadata" message, then does inquiry. > look at LMS WebGUI /Help/Technical Information/Command Line Interface as > there are alternatives such as "subscribe status" At least change to 10 secs. > By the way read my remark to Michael I forgot to add that the errors > still appears even without the script running. > So I think the script has nothing to do with it. I wouldn't be so sure. I've known Windows to leave TCP connections hanging, so script may close but for a while after closing the connection is half in place and maybe causing the error. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?
mherger wrote: > > Why runs every 5 seconds ? > > No audio track will change every 5 secs !! > > It's the evil nature of polling: it's always too fast, or too slow :-). The OP was given another Linux based solution for metadata - I thought they had gone with that. I think "ncat" has closing connection down issues and sometimes Windows is not good at frequent TCP setups. "ncat" provided a simple scripting facility without having to installing Python or write a Powershell script. I think the ncat Lua scripts are intended to be linear - do one action - couldn't see how to do loops safely in the script as I didn't any "read with timeout" facility. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?
Hellsblade wrote: > When i killed that script (running every 5 seconds), both messages seem > to have disappeared. I will try to get in touch with him to ask about > this error. Why runs every 5 seconds ? No audio track will change every 5 secs !! IIRC There were other suggestion made to to make it a proper script and deal with real states (e.g. what to display if player is stopped, when player is paused ?) bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?
mherger wrote: > > When i killed that script (running every 5 seconds), both messages > seem > > to have disappeared. I will try to get in touch with him to ask about > > this error. > > I tried to reproduce the script's commands, and they IMHO look good. But > > I personally believe it's way too convoluted for the task. But I might > be missing something - and that's probably not the point here. I must > assume you modified the script to use your MAC address. Maybe you post > it here to see whether something else accidentally changed? The script was just a PoC for a request for a oneline request to get playing data and it must runon WINDOWS. There are plenty of things to be done to make it better (e..g. validate check the MAC address) As the file is now being used for metadata of a playing stream, I'm guessing there is an "outer loop" somewhere repeatedly calling this "ncat command. The problem could be in the repeatedly calling. Could it be calling too often - not shutting down TCP connections properly (it is an issue with ncat scripts). Windows may also be a factor. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116052 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Maximum file size for cover art?
Roland0 wrote: > LMS uses a perl module (Image::Scale) to resize images (which in turn > uses libraries like libpng and libjpeg to handle image formats). For system with limited resources there is the option for MySB to do the resizing - WebUI Settings/Advanced/Performance/Artwork resizing - however the artwork first has to be extracted so it will still have some resource hit. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116043 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech Media Server Issue on Windows 10 x64
slartibartfast wrote: > The MusicIP error is probably a red herring. If the plugin is installed > but MusicIP is not installed on the system I think that error is the > result. I think it is a general network access/routing issue (although WebGUI is working ?) and not a https specific - since the fall back to http also fails. Code: [22-02-25 16:47:53.9257] Slim::Networking::Repositories::__ANON__ (147) Failed to fetch https://github.com/LMS-Community/lms...xtensions.xml: Timed out waiting for data [22-02-25 16:47:53.9260] Slim::Networking::Repositories::__ANON__ (150) https lookup failed - trying plain text http instead: https://github.com/LMS-Community/lms...extensions.xml . . . [22-02-25 16:50:01.1795] Slim::Networking::Repositories::__ANON__ (147) Failed to fetch http://github.com/LMS-Community/lms-...xtensions.xml: Connect timed out: bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech Media Server Issue on Windows 10 x64
Often "Connect timed out: Bad file descriptor" is associated with SSL/TLS (aka https) issues. However you also have "Can't connect to port 10002 - MusicIP disabled." s So clearly LMS is having a network access problem. Things to try or confirm that is being done. * Stop and restart LMS in case network connection was not up when LMS started. * Make sure the time on your system is accurate - https will fail if time is wrong. * Make sure LMS is allowed to access to network in case you have a 3rd party firewall or perhaps not setup in Windows own firewall. * When you install LMS you should run the install as "Run as Administrator" * When you run the Squeezetray / Control Panel - it should be "Run as Administrator". * Although this shouldn't matter here, to get latest bug fixes on a stable system I'd advise using a nightly version of 8.2.1 from http://downloads.slimdevices.com/nightly/index.php?ver=8.2 bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Now where was I?
troffasky wrote: > Is this the intended behaviour, though? I am trying to work out if it's > some config issue or just not something that LMS does. For remote services - it'll depends on whether LMS or a plugin is providing the service. For BBC sounds - any memory of track position is handled within the plugin. You should post the query on the BBC Sounds thread to get the "correct" answer. https://forums.slimdevices.com/showthread.php?113045-Announce-BBC-Sounds-Plugin bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115999 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is it time to get rid of the Video & Photos scanner?
A poll associated with this post was created, to vote and see the results, please visit http://forums.slimdevices.com/showthread.php?t=116014 Question: Can we remove Video/Photo scanner support? - Yes, I never use this feature. - NO! I use LMS to stream videos and photos to my TV and/or other streaming clients. - What's the media scanner? Should I try it? - I don't care. There have been a few rare posts about using LMS as a UPNP server for photos / videos - so I reckon there may be a few "quiet" users who use the feature and we won't know until feature is removed. I think it should be removed, there are plenty of better system for photos/videos and affected users will have time to migrate. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=116014 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Good Buffering!
agbagb wrote: > Hope I can describe this well enough - and I don't see anything > specifically about it in the github page > > So, I usually listen to the Beeb live rather then on demand. And I > listen to a lot of the longer programs - plays on R4 and R4x, and music > on R3. What I'm finding is that, at the real-time end of a stream > (often on the hour or half-hour) I'm getting a slight pause / stutter in > what I'm listening to, that then takes up at the same spot half a second > or so later. I'm guessing that there's some kind of conflcit between > the DASH stream's interaction with LMS (or a player) and the > old-fashioned LMS world buffer? That Sounds is "marking" the real time > program/stream change, but that the buffer "says", OK, but let me just > finish the last stream for where I thought I was.. If that makes > sense! > > Anyway, it's rather annoying! Especially for classical music, it means > that there's a little interruption in the the last bar of the piece > being performed, often rather spoiling the whole thing! Is there some > kind of fix for this in my assorted settings? I supspect that, in the > past, I've lengthened buffer times, a "fix" which is not longer needed > for Sounds and its DASH stream. Buffering would make no difference as chunks are 6 secs long(or maybe 3 can;t rememeber), so the issues "feels" like it is a problem to do last chunk (probably less than 6 secs long), not being noted as being played (somehow end of song is a factor) and so it is being replayed. As it is a factional chunk - it may not happen for every long problem so it'll be hard to test. For completeness - what player ? (just in case transcoding is part of the mix) bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115871 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Has Stopped Working. Cannot Get It Working Again.
Annie Body wrote: > No, mainly because there would be no point! > I have already reported the need to install 7.7.6 first. Installing > 7.9.0 and 8.2.0 on their own do not work due to missing files! There are NO missing files in 8.2.0 I have installed LMS 8.* from scratch never having a 7.* on my Win10 system. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115832 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Oneliner to get currentsong or now playing artist + songtitle on specific player
Hellsblade wrote: > Thanks for the help :D. I hope you don't mind if I knock on your door a > couple of times. I think I will need a full install of LMS for looking > into the CLI code. It doesn't seem to exist in my docker container. I'm > diving into this tomorrow. I will also try to get this this working on > my raspberry pi because it runs 24/7. I can reach the windows machine > through SMB > > When I test my stream in AIMP its working. I also have shoutcast server > running which also picks it up now :cool: CLI is standard part of LMS. Check WebUI Settings/Advanced/Command Line Interface - see if it is enabled (it can be disabled using a command line option to set port to zero) and the port number in its settings (possibly changed from 9090) - don't know about docker setup so perhaps port 9090 is not configured in Docker. (offical Docker thread is the place for that question. I was think it might be better rather than have a loop in the Lua script, have a Windows batch file which has a loop and a timeout - this way ncat script is simple. Code: loop: ncat x timeout goto loop The lua script would then just check (i) state of player - stop, paused, playing and (ii) if playing get details. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115989 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Oneliner to get currentsong or now playing artist + songtitle on specific player
Just checked works OK on windows. To avoid defender etc. you can download the nmap zip file and from it, just copy the ncat.exe and the two libraries libcrypto-1_1.dll and libssl-1_1.dll all to a working directory. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115989 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Oneliner to get currentsong or now playing artist + songtitle on specific player
Hellsblade wrote: > > Have to work on the output though; > :Title:08:00:27:6c:e1:a2 title Heat Miser :Artists: 08:00:27:6c:e1:a2 > artist Massive Attack :Album: 08:00:27:6c:e1:a2 album Spirits Of Nature > 2 > Should be; > Title: Heat Miser Artists: Massive Attack Album: Spirits Of Nature 2 > Following chnage does what you want. Code: -- Write out results in a one line curtitle = curtitle:sub(25,-1) curartist = curartist:sub(26,-1) curalbum = curalbum:sub(25,-1) f:write("Title:" .. curtitle .. " Artists: " .. curartist .. " Album: " .. curalbum ) f:flush() f:close() bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115989 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Oneliner to get currentsong or now playing artist + songtitle on specific player
Hellsblade wrote: > g me from running this executable (will work on that) > > Luckily i already have an installed nmap on my mac, so the command works > out of the box from there. > Have to work on the output though; > :Title:08:00:27:6c:e1:a2 title Heat Miser :Artists: 08:00:27:6c:e1:a2 > artist Massive Attack :Album: 08:00:27:6c:e1:a2 album Spirits Of Nature > 2 > Should be; > Title: Heat Miser Artists: Massive Attack Album: Spirits Of Nature 2 > > And the most important; because it's not part of the streaming process > itself, it needs a process that runs on title change so the file is > updated. > Maybe some radio broadcaster programs can do that, but that's a bit too > much for a hobby project. > Could maybe make a powershell script for that. > LUA is not my kind of language, but it keeps me busy :rolleyes: 1. It is proof of concept - to show access to LMS CLI and generate a text file with currently playing artist, album and title. 2. If you want notification on changes you use the CLI command "listen 1" - then unsolicited changes will be sent. The script then has to change into a loop whose action looks at strings received, waits for a "newmetadata" message, then does inquiry (look at LMS WebGUI /Help/Technical Information/Command Line Interface) 3. Lua - the scripts won't have to do complicated stuff and there are plenty of resources. I don't know Lua either - I just cobbled it together. KISS principle. http://lua-users.org/wiki/StringRecipes http://lua-users.org/wiki/SampleCode To get used to CLI, I'd advise play around using the "telnet" command - just make sure your commands end with CTRL/J - CLI will only respond t0 lines which end with CTRL/J and not "Return". bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115989 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Oneliner to get currentsong or now playing artist + songtitle on specific player
I haven't tested this on Windows. An alternative would be to use the "ncat" package (part of the nmap package ) https://nmap.org/ncat/ It is available for Windows and Linux. It is like the standard linux netcat/nc utility but has a built in a lua script engine. Attached is a sample lua script ( cli_status.lua 37268 ) uses LMS CLI port 9090 to get the current title,artist and album for a specified player (you need to edit to include your own MAC address) After renaming the attached script to just "cli_status.lua" The command is invoked by Code: ncat 9090 --lua-exec cli_status.lua When run from a command prompt it gerenates log messages to console and writes out to a file in /tmp "/tmp/cliresult.txt" +---+ |Filename: cli_status.lua.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37268| +---+ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115989 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Oneliner to get currentsong or now playing artist + songtitle on specific player
Hellsblade wrote: > I need a line for a program called radiocaster it can point to an URL or > a txt file to show artist title info in the stream it catches from audio > output (which has no info) or even a networksource. What OS is this little program going to run on Linux, PCP, MacOS, Windows ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115989 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] new bug? some listings showing tracks twice: *.flac and *.cur
gorman wrote: > Thank you for this. No, there was no cuesheet embedded. I'm gonna keep > the cue file renamed and call it quits. Maybe it was a glitch, maybe > it's a bug. But for the time being I accept a compromise solution. You should do a complete clear library and rescan to be sure. If you have a CUE file, it probably means you have a flac file with many tracks in which case you won't be able to play the individual tracks. You should post the server and scanner logs if problems continue. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113999 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] new bug? some listings showing tracks twice: *.flac and *.cur
gorman wrote: > My problem is LMS taking into consideration cue files when they are > explicitly excluded from scans. I renamed the .cue file to .cue.bug and > upon rescan only a copy of the album was detected and added to the > database. > > > > Format is FLAC. Your problem may not be embedded cue sheet so if the following doesn't help - post messages from server.log & scanner.log Metaflac is best for handling metadata in Flac files. I'm assuming one track per file and *not* all album tracks in a single flac file. Check if embedded Cue file by using Code: metaflac --list test.flac If file contains CUESHEET like follows Code: METADATA block #0 type: 0 (STREAMINFO) is last: false length: 34 minimum blocksize: 4608 samples maximum blocksize: 4608 samples minimum framesize: 0 bytes maximum framesize: 0 bytes sample_rate: 44100 Hz channels: 2 bits-per-sample: 16 total samples: 6990144 MD5 signature: METADATA block #1 type: 5 (CUESHEET) is last: false length: 1584 media catalog number: lead-in: 0 . . . If you want to remove CUESHEET, use this command - it wil nto affect other metadata. Code: metaflac --remove --block-type=CUESHEET test.flac bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113999 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] new bug? some listings showing tracks twice: *.flac and *.cur
gorman wrote: > I am currently using 8.2.1 - 1639114554 @ Fri Dec 10 07:58:57 WEST 2021 > What version should I be downloading to get the fix? Depends on your problem but I think most fixes were by Dec 2021 > Edit: what's a good tool to check for embedded cuesheets? Depends on the file format ? Flac WAV MP3 ?? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113999 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] new bug? some listings showing tracks twice: *.flac and *.cur
gorman wrote: > Has this been fixed? I have spent the past few days being driven crazy > by an album that is displaying this behavior. > > Couldn't understand what was wrong and it all appeared linear enough > that it *had* to be a problem with tagging. Only yesterday I completely > reset tags, rewrote them from scratch and got once more two entries for > the album. And then I noticed these "CUR" files... > > But I have CUE under "Disabled Playlist File Extensions"... so I still > don't understand what's going on. The bug has been fixed but a lot of user have incompatible CUE files which are now being logged as errors. Some rippers (e.g. SoundJuicer) embed CUE files into audio files. Check for embedded cuesheets. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113999 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Music streaming stops intermittently
ralphy wrote: > The issue you describe has been reported by other forum members and > happens on hardware players too. > I'm not discounting that there my still be an issue with the windows > squeezelite builds, but > > The following google search returns at lot of different threads > reporting a similiar problem. > > > Code: > > site:forums.slimdevices.com podcasts stop > > Try WebUI Settings/Advanced/Network/Streaming mode for HTTP(s) -> Persistent bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=114661 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] What's the highest version of LMS that will run on a Synology DS214p on DSM 6.2.4?
Looks like very few Pi's worldwide - there's even a web site to track them https://rpilocator.com/ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115974 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Audio player for RPI 3B+ with SqueezeLite and Spotify, Tidal and ROON
OP is already trying to sort out Spotty issue on another thread so no need to duplicate. https://forums.slimdevices.com/showthread.php?115950-Spotty-error-and-stops-Music-scanning-process bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115969 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter