Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
HT-NT5 setPlaybackModeSettings
-
There is a small bug in HT-NT5 setPlaybackModeSettings. If I set either repeatType or shuffleType for a specific uri, it will ignore the URI and set it for all uri's.
Example:
Results from
getPlaybackModeSettings
with{"target":"shuffleType","uri":""}
- where "off" is the current value for all URIs[[{"candidate":[{"isAvailable":false,"title":"Shuffle Folder","titleTextID":"shuffleFolder","value":"folder"},{"isAvailable":false,"title":"Shuffle OFF","titleTextID":"shuffleOff","value":"off"}],"currentValue":"off","isAvailable":false,"target":"shuffleType","title":"Shuffle","titleTextID":"playbackMode-shuffleType","type":"enumTarget","uri":"storage:usb1"},{"candidate":[{"isAvailable":false,"title":"Shuffle Folder","titleTextID":"shuffleFolder","value":"folder"},{"isAvailable":false,"title":"Shuffle OFF","titleTextID":"shuffleOff","value":"off"}],"currentValue":"off","isAvailable":false,"target":"shuffleType","title":"Shuffle","titleTextID":"playbackMode-shuffleType","type":"enumTarget","uri":"storage:cd"}]]
If I execute
setPlaybackModeSettings
with{"settings":[{"target":"shuffleType","value":"folder","uri":"storage:cd"}]}
to set folder shuffle mode for just the cd...then execute the same command above (
getPlaybackModeSettings
with{"target":"shuffleType","uri":""}
)[[{"candidate":[{"isAvailable":false,"title":"Shuffle Folder","titleTextID":"shuffleFolder","value":"folder"},{"isAvailable":false,"title":"Shuffle OFF","titleTextID":"shuffleOff","value":"off"}],"currentValue":"folder","isAvailable":false,"target":"shuffleType","title":"Shuffle","titleTextID":"playbackMode-shuffleType","type":"enumTarget","uri":"storage:usb1"},{"candidate":[{"isAvailable":false,"title":"Shuffle Folder","titleTextID":"shuffleFolder","value":"folder"},{"isAvailable":false,"title":"Shuffle OFF","titleTextID":"shuffleOff","value":"off"}],"currentValue":"folder","isAvailable":false,"target":"shuffleType","title":"Shuffle","titleTextID":"playbackMode-shuffleType","type":"enumTarget","uri":"storage:cd"}]]
You see that the "folder" value was set in both
storage:usb1
andstorage:cd
rather than juststorage:cd
Note: this works correctly on the DN1080 (only the CD shuffleType is set to folder)
-
Thanks for the feed back, will forward it.