View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011716 | MMW 5 | UPnP / DLNA | public | 2014-01-10 17:35 | 2024-02-18 18:44 |
Reporter | Ludek | Assigned To | |||
Priority | urgent | Severity | feature | Reproducibility | always |
Status | closed | Resolution | reopened | ||
Target Version | 5.1 | Fixed in Version | 5.1 | ||
Summary | 0011716: Gapless playback / volume leveling when casting | ||||
Description | Per user request: It maybe a bit late to raise this issue about MM 4.1, now that it is in RC phase. But here it is. When playing to an external UPNP device ("Play to"), there seems no way to achieve gapless playback, which ranks # 1 in my priority list. For some albums (eg classical opera), this makes for a very unpleasing listening experience. I know that gapless playback requieres collaboration between the UPNP renderer and the UPNP control point, but renderers capable of gapless playback through UPNPAV do exist (for ex. Simaudio Mind 180D, Cambridge Audio StreamMagic 6, Linn DS), and so for UPNP controllers (for ex. Foobar 2000, BubbleUPnP). It would be really nice if MM could achieve the same. One thing I am not sure about however is whether with the "Play to ..." feature MM qualifies as a UPNP control point or not. Has such functionnality been considered for inclusion in MediaMonkey ? | ||||
Additional Information | http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=75042 XGE-628-14642 https://www.mediamonkey.com/forum/viewtopic.php?p=465907#p465907 MPC-165-72859 https://www.mediamonkey.com/forum/viewtopic.php?f=20&t=97693 | ||||
Tags | No tags attached. | ||||
Fixed in build | 2814 | ||||
|
It looks that SetNextAVTransportURI action should do the trick, but a lot of DMPs/DMRs don't support this action, so we need to use both approaches. |
|
The player Cambridge Audio CXN seems to support gapless playback over DLNA: https://www.mediamonkey.com/forum/viewtopic.php?f=30&t=96068 / MPC-165-72859 Most probably via SetNextAVTransportURI as user indicated that it works also when Foobar2000 with foo_upnp plugin is the control point (and foo_upnp uses the same UPnP library as MM) |
|
Except for SetNextAVTransportURI some devices accepts also whole playlist URI to be set in SetAVTransportURI -- this could also ensure gapless playback (e.g. Squeezebox ) , ticket number 332 |
|
Trying to do some research it seems that SetNextAVTransportURI isn't widely supported by renderers (minimum of DLNA/UPnP renderers support it) and in addition the Chromecast devices does not support gapless playback either. But one can still play gapless using a gapless desktop music player that sends its audio output as a single PCM stream (eg foobar2000 with foo_out_upnp). So the universal solution for MM5 would be to do what the foobar2000 with foo_out_upnp plugin does, i.e. single PCM stream as audio output. I briefly tested the plugin and upon selecting the output as DLNA renderer the info on the renderer is only "foobar2000 audio stream", not seekable, not artwork etc. I suppose that if we want to take the same approach with MM5 then it should be configurable and maybe similarly like in foobar2000 belongs rather to "Audio Ouput" config ? |
|
Alternativelly we could add [ ] Gapless playback (plays all tracks as single audio stream) -- Buffer: [1000] ms checkbox to the dialog upon clicking the 'gear' icon associated with the casting output here: |
|
BTW: The user here https://www.mediamonkey.com/forum/viewtopic.php?f=33&t=100358 is also requesting "crossfading" which could be further option there (in addition to the suggested '[ ] Gapless playback' checkbox above). i.e. in adition to [Auto-conversion] tab we could add [Audio output] tab with following settings: [..] Play all audio tracks as single stream -- (o) Gapless playback , buffer: [4] seconds -- ( ) Crossfade [4] seconds -- ( ) Gap [2] seconds |
|
There is also a request to add the volume leveling option. |
|
I would suggest not to add new settings, but rather to apply the existing settings to all casting sessions (especially since these types of settings are collection-dependent). |
|
OK, agreed that settings from Options > Player > Playback rules should be applied once [..] Play all audio tracks as single stream is enabled for the particular player/renderer. |
|
|
|
Implemented in 2807 (disabled by default, needs to be enabled in Options > Player > Streaming) per the screenshot above.. |
|
1 Playing to DLNA with the option enabled there was no sound. Using the volume slider in MMW had playback happening on internal speaker while moving volume slider (tested with 2 Sony DLNA clients). 2 With Chromecast playback works (Nvidia Shield), but there is still switching between tracks (no gapless). No Track details are show (ie. it does seem to be a single stream), but on track finish, TV is showing a new track is being loaded. Log on FTP |
|
Should be fixed in 2808, please re-test... |
|
1. Unchanged on 2808, no sound from device, sound from internal when changing volume. Disabling single stream has files play on client. |
|
The stream is LPCM WAV that should be supported by SONY, please attach debug log.. |
|
1) Playback now works to Sony speakers on 2812. However moving the volume slider in MediaMonkey still has sound bleeding through the internal speakers. (Also noticed that MM volume slider remains at internal speaker volume (100%) while connected to an external speaker (which is not at 100%, thus causing blast of loud music when adjusting volume un MM)). Unconfirmed if crossfading is supposed to work (it didn't). 2) Confirmed on 2813. |
|
The sound bleeding when moving the volume slider fixed in 2814 Crossfading does not work as it is function of the output plugin(s), it would need to be re-worked.. |
|
Verified 2834 Crossfade settings are also moved outside output plugin to Playback rules. |