Announcement
Collapse
No announcement yet.
[Announce] Squeezelite-X
Collapse
X
-
Hey, Greg. While searching the web for info on DLNA networking issues with the AVR-3311CI, I ran across this post from 2011 on the AVSForum. Look familiar?
https://www.avsforum.com/threads/den.../post-20282048SamComment
-
Last edited by SamY; 2023-01-10, 02:14.SamComment
-
As luck would have it, mine is an AVR-3311CI. I will be doing some testing later today.
Btw, did you ever have a chance to check out the Denon AVR Control plugin's "Denon/Marantz AVR Settings" menus under Material Skin's player settings? While the menus do utilize the telnet protocol, they can be accessed and used independently of the plugin's player-controlled power and volume control functions, although only for AVR's that are associated with an LMS player via the plugin's setup menu. And with the new multi-zone support selected in the setup menu, each zone of the AVR can now also be individually powered on/off and controlled through the menus.
(This is the last time I'll nag you about trying this. I promise.)
R Greg DawsonSqueezelite-XComment
-
I see in a later post you got it to discover your 3311, so that is good. Still, I'll take a look and see if I need to add some margin in my discovery function.
R Greg DawsonLast edited by rgdawson; 2023-01-10, 04:56.Squeezelite-XComment
-
Seriously. I know it's supposed to be a very good app but it's just like the AVR-Remote Android app in that it leaves its telnet connection to the AVR open the entire time it's running whereas the plugin opens and closes the connection after each request or command is completed, with timeout retry logic implemented to allow for co-existence with other apps that are similarly less, shall we say, narcissistic in nature. I hardly ever use AVR-Remote any more for just that reason, although it's useful for testing purposes.
Do you have some sort of periodic polling mechanism in your Denon logic? I noticed that the SLX menu dynamically picks up changes made to the Power, Volume, Source and Sound Mode outside of SLX, whereas the plugin currently does not. I'm thinking of possibly adding a conditional polling routine to the plugin for basic settings such as those in order to at least keep the menus in sync with those of SLX. Currently if, for example, the user changes the Source from the SLX menu, the plugin menu will not reflect the change, which can lead to confusion. If you get around to playing with the plugin menus under SLX and have any other suggestions, please feel free to pass them along. Thanks!SamComment
-
So my question is "Why do you use the DeRemote app?".Seriously. I know it's supposed to be a very good app but it's just like the AVR-Remote Android app in that it leaves its telnet connection to the AVR open the entire time it's running whereas the plugin opens and closes the connection after each request or command is completed, with timeout retry logic implemented to allow for co-existence with other apps that are similarly less, shall we say, narcissistic in nature. I hardly ever use AVR-Remote any more for just that reason, although it's useful for testing purposes.
Do you have some sort of periodic polling mechanism in your Denon logic? I noticed that the SLX menu dynamically picks up changes made to the Power, Volume, Source and Sound Mode outside of SLX, whereas the plugin currently does not. I'm thinking of possibly adding a conditional polling routine to the plugin for basic settings such as those in order to at least keep the menus in sync with those of SLX. Currently if, for example, the user changes the Source from the SLX menu, the plugin menu will not reflect the change, which can lead to confusion. If you get around to playing with the plugin menus under SLX and have any other suggestions, please feel free to pass them along. Thanks!
Yes, I use a polling thread. One thing I like about the telnet interface and keeping it open is that you get updates in real-time. But since I am not keeping a telnet connection open, I need to poll. Yah, I recommend you implement that. Using Telnet, it would take you only a few milliseconds to connect/get data/disconnect. But it is not as simple as it sounds because there will be times when two clients are attempting telnet simultaneously and one will fail (pre-2016 Denon models). So, if using Telnet, you want to dither/randomize the interval a bit and test with several clients hitting the AVR at once, and definitely handle/skip the errors you will get when the AVR is overloaded/busy. You have to be smart about canceling and restarting polling when issuing commands and the first poll needs to wait because certain commands take a little while on the AVR (e.g. power, source, and mode). It was all trial and error for me. I'm willing to share anything I have learned. I do polling in a background thread to prevent the GUI from being affected/freezing while polling. Actually this discussion reminds me I need to do some stress testing on that 3313 given how slow it is sometimes. I'm going to get 4 clients polling it simultaneously tonight and see how well it handles it.
R Greg Dawson
Squeezelite-XComment
-
-
I found out, that using Squeezelite-X sometimes it needs a connection to Akamai Technologies in Cambridge, Massachusetts, USA.
I use a NAS with a docker container including the LMS.
So Squeezelite-X should use a local connection to my NAS only.
If I block this connection to Akamai Squeezelite-X don't work in some cases, for example if I want to play music from Qobuz.
If I try the same with Squeezeplay it needs only a local connection to my NAS and Qobuz Plugin is working without problems.
Any ideas what happens here?
Comment
-
The players would prefer direct streaming if possible. Unless you enable proxied streaming for all of them. So if Squeezelite-X supports a format which Squeezeplay doesn’t you’d get that different behaviour.Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)Comment
-
Akamai is a "Content Distribution Network" (CDN), used by many services (similar to others like AWS CloudFront, Cloudflare, and others). See https://www.akamai.com/our-thinking/cdn/what-is-a-cdnMichael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)Comment
-
Akamai is a "Content Distribution Network" (CDN), used by many services (similar to others like AWS CloudFront, Cloudflare, and others). See https://www.akamai.com/our-thinking/cdn/what-is-a-cdnSqueezelite-XComment
Comment