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
yesterday everything was working okay, but today i get this error when i try to send a video to one of my Samsung TVs:
(Everything is working for my other two Samsung TVs, and i didn't change anything...)
C:\Users\***\Documents\nodejs-projects\samsung-dlna\node_modules\upnp-device-client\index.js:571
var value = node.findtext('./' + field);
^
TypeError: Cannot read property 'findtext' of null
at C:\Users\***\Documents\nodejs-projects\samsung-dlna\node_modules\upnp-device-client\index.js:571:21
at Array.forEach (native)
at extractFields (C:\Users\***\Documents\nodejs-projects\samsung-dlna\node_modules\upnp-device-client\index.js:570:10)
at parseDeviceDescription (C:\Users\***\Documents\nodejs-projects\samsung-dlna\node_modules\upnp-device-client\index.js:440:14)
at C:\Users\***\Documents\nodejs-projects\samsung-dlna\node_modules\upnp-device-client\index.js:46:16
at C:\Users\***\Documents\nodejs-projects\samsung-dlna\node_modules\upnp-device-client\index.js:559:7
at ConcatStream.<anonymous> (C:\Users\***\Documents\nodejs-projects\samsung-dlna\node_modules\concat-stream\index.js:36:43)
at emitNone (events.js:91:20)
at ConcatStream.emit (events.js:185:7)
at finishMaybe (C:\Users\***\Documents\nodejs-projects\samsung-dlna\node_modules\readable-stream\lib\_stream_writable.js:513:14)
The error is blocking furher execution.
I wonder what is going on there.
It's neither working from my Windows PC nor my Raspberry Pi.
Even though, I can send videos per upnp from Windows Media Player to this TV...
Can you give me a hint what is going on there in the code?
This is my code by the way:
varMediaRendererClient=require('upnp-mediarenderer-client');varoptions={autoplay: true,//play immediatelycontentType: 'video/x-ms-wmv',metadata: {title: 'Tuer klingelt',creator: 'Smarthome',type: 'video'//, // can be 'video', 'audio' or 'image'}};varclient=newMediaRendererClient('http://192.168.178.26:7676/smp_11_');client.load('http://*****/img/doorbell.wmv',options,function(err,result){console.log(result);if(err)throwerr;console.log('VIDEO SUCCESSFULLY SENT TO TV!');});
The text was updated successfully, but these errors were encountered:
Hey,
yesterday everything was working okay, but today i get this error when i try to send a video to one of my Samsung TVs:
(Everything is working for my other two Samsung TVs, and i didn't change anything...)
The error is blocking furher execution.
I wonder what is going on there.
It's neither working from my Windows PC nor my Raspberry Pi.
Even though, I can send videos per upnp from Windows Media Player to this TV...
Can you give me a hint what is going on there in the code?
This is my code by the way:
The text was updated successfully, but these errors were encountered: