More > JRiver Media Center 32 for Windows
MCWS/v1/Playback/PlayByKey ignores zoneswitch
(1/1)
mattkhan:
as per subject, it means playback starts in the wrong zone
i.e. it plays in whatever the current zone is ignoring zoneswitch rules
note that if I use File/GetInfo with Action=Play then it does honour zoneswitch hence I think this has to be a bug
Matt:
That call does ignore zone switch because you should have picked the zone with the zone parameters on the URL. I agree it's a gray area.
mattkhan:
All the other methods also let you specify a zone explicitly but don't mandate that info, I can think of no reason for this one to be different (explicit zone = bypass zoneswitch, no zone = use current zone/apply zoneswitch as necessary). Currently it's just a hidden pitfall (no docs on it, no apparent reason for inconsistency)
Matt:
I can turn it back on and we can just see how it fares. Thanks.
eve:
--- Quote from: mattkhan on January 29, 2024, 07:49:08 am ---All the other methods also let you specify a zone explicitly but don't mandate that info, I can think of no reason for this one to be different (explicit zone = bypass zoneswitch, no zone = use current zone/apply zoneswitch as necessary). Currently it's just a hidden pitfall (no docs on it, no apparent reason for inconsistency)
--- End quote ---
This is what makes sense to me. I've wondered why the behavior was like this as well. It doesn't really make logical sense why not specifying a zone wouldn't use ZoneSwitch if needed, since a zone can be specified overriding the 'automatic' behavior. Furthermore, the premise behind ZoneSwitch, that it takes into account the file itself / information about the media contained means that a client device (or user) initiating playback may not 'know' those specifics.
Navigation
[0] Message Index
Go to full version