Code: Select all
var availablePlayersList = app.sharing.getAvailablePlayers();
console.log("availablePlayersList:", availablePlayersList);
{
"_persistentID": "SharedList",
"objectType": "sharedlist",
"autoSortString": "",
"data": [
{
"udn": "",
"name": "",
"last_seen": "",
"volume": 1,
"ip": "",
"protocol": ""
},
.......
{
"udn": "Android-2",
"name": "Chromecast4330",
"last_seen": "2023-08-07 13:29:16",
"volume": 1,
"ip": "http://:6466/",
"protocol": "google.cast"
},
]
}
I think these "might" go away eventually but MM5 restarts, PC reboots, etc. isn't doing the trick and i'm wondering there is a trick to forcing a refresh of cast devices that would make them go away immediately.
Thanks!