You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry if this is not a thing that is implemented, i tried to read the code, but my C skills are limited.
I'm using the following node code to try subscribe to ContentDirectory events, specifically the SystemUpdateID event:
importUPnPClientfrom"node-upnp";importEventEmitterfrom"events";EventEmitter.defaultMaxListeners=50;constUPNP_SERVICE_ID_CONTENT='urn:upnp-org:serviceId:ContentDirectory';constdlnaBaseUrl="http://192.168.2.104:8200";constDlnaClient=newUPnPClient({url: dlnaBaseUrl+'/rootDesc.xml'});try{DlnaClient.subscribe(UPNP_SERVICE_ID_CONTENT,e=>{console.log("LISTENER",JSON.stringify(e,null,2));});}catch(error){console.error("Error during subscription:",error);}
at the begning of the script it readly receives this two events:
I'm sorry if this is not a thing that is implemented, i tried to read the code, but my C skills are limited.
I'm using the following node code to try subscribe to
ContentDirectory
events, specifically theSystemUpdateID
event:at the begning of the script it readly receives this two events:
But even if I move/add/remove files it won't emit any other event for
ContentDirectory
The text was updated successfully, but these errors were encountered: