mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support video_ts.nfo
This commit is contained in:
parent
4b2be0b97a
commit
91f96dbe68
42 changed files with 343 additions and 510 deletions
|
@ -85,12 +85,19 @@
|
|||
|
||||
chrome.sockets.udp.bind(createInfo.socketId, '0.0.0.0', port, function (result) {
|
||||
|
||||
if (result != 0) {
|
||||
console.log('bind fail: ' + result);
|
||||
deferred.resolveWith(null, [servers]);
|
||||
chrome.sockets.udp.close(createInfo.socketId);
|
||||
return;
|
||||
}
|
||||
|
||||
var data = stringToArrayBuffer('who is EmbyServer?');
|
||||
|
||||
console.log('chrome.sockets.udp.send');
|
||||
chrome.sockets.udp.send(createInfo.socketId, data, '255.255.255.255', port, function (result) {
|
||||
|
||||
if (result < 0) {
|
||||
if (result != 0) {
|
||||
console.log('send fail: ' + result);
|
||||
deferred.resolveWith(null, [servers]);
|
||||
chrome.sockets.udp.close(createInfo.socketId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue