Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-15 Thread philippe_44
marcelveldt wrote: > Sure, glad to help. > > It worked perfectly for 2 days and just now I had a failure. Maybe just > some random glitch but in case you want to have a look, attached the > log. > > 27188 > > EDIT: Hmmm, this might actually be some server issue at Qobuz as I had > to skip a

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-15 Thread marcelveldt
philippe_44 wrote: > Thanks for finding the issue and making the (long) tests - I cannot > progress without such help Sure, glad to help. It worked perfectly for 2 days and just now I had a failure. Maybe just some random glitch but in case you want to have a look, attached the log. 27188

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-14 Thread philippe_44
marcelveldt wrote: > Totally agree. I'm all happy. It works perfect now and sounds great. > I will test it for the next couple of days but so far so good without a > single glitch. Thanks ! Thanks for finding the issue and making the (long) tests - I cannot progress without such help LMS

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-14 Thread philippe_44
marcelveldt wrote: > I've set the output buffer to 1000 just to be safe. So far so good. > Playing all day without any glitches! > Amazing stuff, very happy! Thanks! > > Just as a question: I've setup the upsampling because I have a large > collection of high res material though my

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-14 Thread marcelveldt
philippe_44 wrote: > Just one precision wrt buffer sizes if you want to use the full > crossfade: > > - The outputbuf always contains 32 bits samples * 2 channels, so to hold > 10s, you must allocate 8*10*96000=7,680,000 > - In addition, when you resample, there is an extra >

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-14 Thread philippe_44
marcelveldt wrote: > Thanks! Just installed and will give it a good test drive today! Just one precision wrt buffer sizes if you want to use the full crossfade: - The outputbuf always contains 32 bits samples * 2 channels, so to hold 10s, you must allocate 8*10*96000=7,680,000 - In addition,

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-14 Thread marcelveldt
philippe_44 wrote: > But ... I looked better as with this system it's unlikely a CPU issue > and I think I found the problem, as usual on my side. Too complicated to > explain, but, cross fingers, try version 1.13 in the dev repository, it > should fix the issue. Crossfade is really special and

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread philippe_44
marcelveldt wrote: > haha, lucky me! > If it can't be fixed I can also live without the crossfade. It's a nice > to have thing not to have silences between tracks. > Another thing that just popped my mind is that I can write a watchdog. > If the state is playing but progress didn't update for X

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread marcelveldt
philippe_44 wrote: > While I was writing my previous post, the problem happened on my system, > so I was able to track it. In fact, it's a potential rare risk I have > identified and well documented (glad I take the time to write comments > in my code) where I don't have a good solution. It's

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread marcelveldt
philippe_44 wrote: > I should have asked you to add in the "extra command line" the following > "-d all=info" (without the ""). Also, what is your CPU already? You're > asking 24 bits, 96k and flac level 5 and that's a lot, especially the > flac compression level to 5 consumes *much* more CPU.

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread philippe_44
While I was writing my previous post, the problem happened on my system, so I was able to track it. In fact, it's a potential rare risk I have identified and well documented (glad I take the time to write comments in my code) where I don't have a good solution. It's exactly when samples are

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread philippe_44
marcelveldt wrote: > OK, it finally errored again after many hours of happy listening without > a glitch. > Same issue. Playback gets stuck at the end of the track. > > This is with a single cast player (cast group) playing a large playlist > with random tracks from both spotify and Qobuz. >

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread marcelveldt
philippe_44 wrote: > And do you have more than one CC playing at the same time? (It seems to) OK, it finally errored again after many hours of happy listening without a glitch. Same issue. Playback gets stuck at the end of the track. This is with a single cast player (cast group) playing a

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread marcelveldt
Playing for several hours now and still not a single glitch! Will keep an eye on it for the next couple of days off course but so far so good. marcelveldt's Profile: http://forums.slimdevices.com/member.php?userid=66909

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread marcelveldt
philippe_44 wrote: > When it fails, are you playing local songs or remote tracks? It's a playlist containing tracks from both Qobuz and Spotify. philippe_44 wrote: > And do you have more than one CC playing at the same time? (It seems to) Yes, sorry, my mistake another CC was playing too.

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread philippe_44
philippe_44 wrote: > When it fails, are you playing local songs or remote tracks? And do you have more than one CC playing at the same time? (It seems to) LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC,

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread philippe_44
marcelveldt wrote: > Here is a log from this morning where a track got stuck again at the > end. > But this is before I increased the outputbuffer_size. I've just adjusted > that setting to 600 in the config file and started playback again. > I'll let that play for a while and see if it

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-13 Thread marcelveldt
philippe_44 wrote: > No need for extra debug options. You might want to increase the > parameter of the upnpbridge.xml. It's not accessible > throught webUI, you have to edit it manually but if you are doing > 24bits/96kHZ resampling, it requires 3*2*96000*10=5.7M at least! Here is a log from

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-12 Thread philippe_44
marcelveldt wrote: > OK, I will let it play tomorrow for a few hours and when it happens > again I'll upload the log. > Do I need to enable any debug options ? No need for extra debug options. You might want to increase the parameter of the upnpbridge.xml. It's not accessible throught webUI,

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-12 Thread marcelveldt
philippe_44 wrote: > I would need a bit more log before [19:10:20.656320] because this is > where the problem happens. The flow is interrupted and it should not, > but I can't see the interruption OK, I will let it play tomorrow for a few hours and when it happens again I'll upload the log. Do

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-12 Thread philippe_44
marcelveldt wrote: > Here is a partial log of the castbridge where playback is stuck. > Playback simply hangs at the end of the track and won't go to the next > track. Only thing that helps is pressing the next button. In that case > you hear the connection sound on the chromecast speakers that

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-12 Thread marcelveldt
philippe_44 wrote: > Re CastBridge, crossfade in flow mode is supposed to work, I've spent a > lot of time on that, but that's not a trivial feature so there are very > likely remaining issues. If you could send me logs, that would help so > that I can reproduce the problem. > Here is a

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-12 Thread marcelveldt
philippe_44 wrote: > Re CastBridge, crossfade in flow mode is supposed to work, I've spent a > lot of time on that, but that's not a trivial feature so there are very > likely remaining issues. If you could send me logs, that would help so > that I can reproduce the problem. > > Crossfade I

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-12 Thread philippe_44
marcelveldt wrote: > Just one more question if I may ask. The whole crossfading stuff is > working on several squeezelite instances I have around the house, > great! > > I also have a lot of Chromecast "builtin" devices. I'm using the Cast > bridge of yours to stream music to those players

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-12 Thread marcelveldt
philippe_44 wrote: > Okay, that sounds more logical. I still fail to understand why the > template is not refreshed, but it goes beyond my pay grade :) > > It might still not work on squeezelite, and here I have to look at the > code, but as far as I remember, even if it is asked to do so, it

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread marcelveldt
philippe_44 wrote: > Okay, that sounds more logical. I still fail to understand why the > template is not refreshed, but it goes beyond my pay grade :) > > It might still not work on squeezelite, and here I have to look at the > code, but as far as I remember, even if it is asked to do so, it

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread philippe_44
marcelveldt wrote: > OK, almost there :-) > > After the cache clear: > > Crossfading works with the "crossfade across different sample rates" > setting both enabled and disabled > but: it doesn't actually crossfade between different sample rates. > > So if I select a few tracks with same

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread marcelveldt
philippe_44 wrote: > Can you try to delete cache/templates and restart LMS? OK, almost there :-) After the cache clear: Crossfading works with the "crossfade across different sample rates" setting both enabled and disabled but: it doesn't actually crossfade between different sample rates.

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread philippe_44
marcelveldt wrote: > Just tried with latest nightly (1554891466) and same issue. Crossfade > only works if you explicitly disable the toggle about the different > sample rates. Can you try to delete cache/templates and restart LMS? LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread philippe_44
marcelveldt wrote: > OK, found the issue! > > As soon as you enable "Crossfade Across Different Sample Rates" it will > break crossfading completely. > So I guess this is some bug in the code somewhere. Disable that option > and crossfading works on all platforms. Have you tried the nightly

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread marcelveldt
OK, found the issue! As soon as you enable "Crossfade Across Different Sample Rates" it will break crossfading completely. So I guess this is some bug in the code somewhere. Disable that option and crossfading works on all platforms.

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread marcelveldt
OK, so I tried 5 different docker images and all with same result so far. No crossfade possible. Does anyone else run LMS through docker ? marcelveldt's Profile: http://forums.slimdevices.com/member.php?userid=66909 View

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread marcelveldt
philippe_44 wrote: > For Chromecast, you need to enable a mode other than « thru » and then > use « flow » if you want mixing cross fade Yeah, I know. For local tracks that indeed works as expected. Just installed LMS directly on my Macbook with the Spotty and Qobuz plugins and guess what,

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread philippe_44
> tried with squeezelite and with the Chromecast bridge as players. For Chromecast, you need to enable a mode other than « thru » and then use « flow » if you want mixing cross fade LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread slartibartfast
d6jg wrote: > Are you using Spotify Connect ie. A Spotify app to an SB player ? > That's different to using Spotify and/or Quboz entirely within LMS as > the crossfade settings are via the App not via LMS.No that was via Spotty in > LMS. Sent from my SM-G900F using Tapatalk

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread d6jg
slartibartfast wrote: > Crossfade works for me when playing a Spotify playlist to a Touch. So it > definitely can work. I don't know about Squeezelite and Chromecast. > > Sent from my SM-G900F using Tapatalk Are you using Spotify Connect ie. A Spotify app to an SB player ? That's different

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread slartibartfast
marcelveldt wrote: > I want tracks to cross over (mixing), so not fade in and fade out. Btw > those are also not working. > > Yeah, tried with both smart crossfade on and off, makes no difference. > > Tracks from local disk (flac) crossfade just fine. As soon as the source > is Qobuz or

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-11 Thread marcelveldt
philippe_44 wrote: > Are you trying to do fade in/out or mixing tracks? > > [edit]: it does not seem like Qobuz is restricting transition between > tracks. have you tried to disable smartcrossfade? I want tracks to cross over (mixing), so not fade in and fade out. Btw those are also not

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-10 Thread slartibartfast
marcelveldt wrote: > Hi all, > > How can I make the crossfade work with streaming media ? > Tried with both Qobuz and Spotty and both do not crossfade between > songs, while songs in the local library will. > > Crossfade setting set to 10s / fade between different samplerates tried > both on

Re: [SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-10 Thread philippe_44
Are you trying to do fade in/out or mixing tracks? LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+,

[SlimDevices: SqueezeCenter] Crossfade for streaming media

2019-04-10 Thread marcelveldt
Hi all, How can I make the crossfade work with streaming media ? Tried with both Qobuz and Spotty and both do not crossfade between songs, while songs in the local library will. Crossfade setting set to 10s / fade between different samplerates tried both on and off. Tried with both 7.9.1 as