2022-02-14, 10:16
Hi,
Would I ask if possible to check with jsonrpc api or others command the streaming in using status of service UPNP.
Now I checking the active content players with command "curl --data-binary '{ "jsonrpc": "2.0", "method": "Player.GetActivePlayers", "id": "bash-script"}' -H 'content-type: application/json;' http://localhost:8080/jsonrpc -s" but I need to verify if the streaming is it in progress from some clients.
I need to use the auto suspend system but I don't know how I can verify if the UPNP is used from clients because the protocol send entire MP3 to the clients and wait the next song for other network traffic. Maybe 20 minutes or other.
thanks
Would I ask if possible to check with jsonrpc api or others command the streaming in using status of service UPNP.
Now I checking the active content players with command "curl --data-binary '{ "jsonrpc": "2.0", "method": "Player.GetActivePlayers", "id": "bash-script"}' -H 'content-type: application/json;' http://localhost:8080/jsonrpc -s" but I need to verify if the streaming is it in progress from some clients.
I need to use the auto suspend system but I don't know how I can verify if the UPNP is used from clients because the protocol send entire MP3 to the clients and wait the next song for other network traffic. Maybe 20 minutes or other.
thanks