NEWS
Драйвер KODI
-
BTW: https://github.com/ioBroker/ioBroker/wi … connection
Проблема с падением ещё есть? `
Да есть, по ссылке не понял смысла. Должны создать переменную для драйвера? Но драйвер сваливается с ошибкой если коди вырубить -
BTW: https://github.com/ioBroker/ioBroker/wi … connection
Проблема с падением ещё есть?
Да есть, по ссылке не понял смысла. Должны создать переменную для драйвера? Но драйвер сваливается с ошибкой если коди вырубить
У меня нет KODI. С какой ошибкой сваливается и где?–-----------------
Создай переменную info.connection вместо KODI_connected и статус соединения будет показываться в admin.
-
Ты не можешь создать все переменные, как info.connection в io-package.json?
А то при установке значения ты всегда создаёшь (или перезаписываешь) объект.
! ````
function setObject(name, val, type){
if (type){
name = type +'.'+ name;
}
object = {
type: 'state',
common: {
name: name,
role: 'media',
type: typeof val
},
native: {}
};
adapter.setObject(name, object, function (err, obj) {
adapter.setState(name, {val: val, ack: true});
});
}Это ненужная нагрузка на систему. И в будущем (а оно, я уверен, наступит), когда будет CouchDb, каждый раз будет создаваться история объекта. Вот этого я тоже не пойму.. [https://github.com/instalator/iobroker. … di.js#L255](https://github.com/instalator/iobroker.kodi/blob/master/kodi.js#L255)
-
Ты не можешь создать все переменные, как info.connection в io-package.json?
А то при установке значения ты всегда создаёшь (или перезаписываешь) объект.
Это ненужная нагрузка на систему. И в будущем (а оно, я уверен, наступит), когда будет CouchDb, каждый раз будет создаваться история объекта. `
Это переделаю.
@Bluefox:Вот этого я тоже не пойму..
https://github.com/instalator/iobroker. … di.js#L255 `
Если этой строки не добавить, то драйвер не реагирует на message. И только после того как из самого драйвера отправишь сообщение то начинает работать и из драйвера JS. Поэтому сделал пока так и хотел тебя спросить по этому вопросу. -
BTW: https://github.com/ioBroker/ioBroker/wi … connection
Проблема с падением ещё есть?
Да есть, по ссылке не понял смысла. Должны создать переменную для драйвера? Но драйвер сваливается с ошибкой если коди вырубить
У меня нет KODI. С какой ошибкой сваливается и где?–-----------------
Создай переменную info.connection вместо KODI_connected и статус соединения будет показываться в admin. `
info.connection добавил, интересная штука, только сейчас увидел ее в работе)А вот по падению не понятно.
Если в драйвере оставляю в main только этот код:
! ````
getConnection(function (err, _connection) {
if (_connection){} });
стартануть драйвер, а потом закрыть программу КОДИ, то драйвер просто падает. Из лога ошибка не ясна. >! ```` host-Server-PC 2016-05-04 19:39:14 info Restart adapter system.adapter.kodi.0 because enabled host-Server-PC 2016-05-04 19:39:14 error instance system.adapter.kodi.0 terminated with code 0 (OK) kodi-0 2016-05-04 19:39:12 debug Response GetPlayerId [[],{"muted":false,"volume":100}] ````,
-
Вот просто свалился и все, сам не перезапускается.
266_23432.png -
Вот просто свалился и все, сам не перезапускается. `
Я бы мог сегодня посмотреть по teamViewer -
У меня работают message. И так
sendTo('kodi.0', 'send', {message: 'hallo', text: 'text'});
и так
sendTo('kodi.0', 'send', 'text');
Тебе надо перезапустить брокер, т.к. я не понимаю, почему в объекте не было
> "messagebox": true,
-
Добавил виджет обложки
! ````
[{"tpl":"tplkodiThumbnail","data":{"visibility-cond":"==","visibility-val":1,"gestures-offsetX":0,"gestures-offsetY":0,"visibility-oid":"","oid_thumbnail":"kodi.0.info.thumbnail","oid_type":"kodi.0.type","oid_server":"192.168.1.10:8041"},"style":{"left":"97px","top":"123px","width":"53px","height":"52px"},"widgetSet":"kodi"}] -
Плейлист поддерживает PVR плейлист
266_pvr.png -
Аможно папочку со значками каналов
-
Аможно папочку со значками каналов `
Со значками беда.На винде они грузятся с сервера на основе плейлиста, а вот в openElec почему то не показывает значки с сервера. я парсил их с сайта.
На винде версия PVR 1,12,12 а на малинке 1,11,4 и как обновить не знаю, в репозитории показывает что нет обновлений.
266_1.rar -
Накатил обновление Openelec до 7 Beta, все стало отображаться.
-
Аможно папочку со значками каналов `
Здесь есть архив со значками и вообще рассказываю как настроить от А до Я
-
Аможно папочку со значками каналов `
Здесь есть архив со значками и вообще рассказываю как настроить от А до Я
https://www.youtube.com/watch?v=6SsBn7bxt5k `
16 версию хорошо переработали. Я ничего в PVR не настраиваю, указываю только удаленный плейлист IPTV провайдера и все работает, значки отображает так как они прописаны в файле m3u -
у меня не всё так безоблачно, приходится руками значки подкидывать.
кстати ,не могу вспомнить как указать плейлист на радио .
у мня разные для тв свой,для радио свой
-
Добавил драйвер в https://www.npmjs.com/package/iobroker.kodi
Bluefox добавишь в iobroker?
-
Не встал.
! iobroker 23 11:47:30.692 info upload [0] kodi C:/Home/iobroker/node_modules/iobroker.kodi/www/index.html index.html text/html
! iobroker 23 11:47:30.333 info upload [1] kodi C:/Home/iobroker/node_modules/iobroker.kodi/www/kodi.png kodi.png image/png
! iobroker 23 11:47:30.224 info upload [2] kodi C:/Home/iobroker/node_modules/iobroker.kodi/www/README.md README.md text/x-markdown
! iobroker 23 11:47:30.198 info got C:/Home/iobroker/node_modules/iobroker.kodi/www
! iobroker 23 11:47:30.098 info upload [0] kodi.admin C:/Home/iobroker/node_modules/iobroker.kodi/admin/index.html index.html text/html
! iobroker 23 11:47:29.973 info upload [1] kodi.admin C:/Home/iobroker/node_modules/iobroker.kodi/admin/kodi.png kodi.png image/png
! iobroker 23 11:47:29.933 info host.SpectreKr install adapter kodi
! iobroker 23 11:45:45.898 info npm WARN optional dep failed, continuing bufferutil@1.1.0
! iobroker 23 11:45:45.878 info WARN optional dep failed, continuing utf-8-validate@1.1.0
! iobroker 23 11:45:45.877 info npm
! iobroker 23 11:45:45.845 info FATAL ERROR: Malloced operator new Allocation failed - process out of memory
! iobroker 23 11:45:45.329 info FATAL ERROR: Malloced operator new Allocation failed - process out of memory
! iobroker 23 11:45:41.967 info in npm 3+. Your application will need to depend on it explicitly.
! iobroker 23 11:45:41.963 info peerDependencies
! iobroker 23 11:45:41.960 info
! iobroker 23 11:45:41.955 info WARN
! iobroker 23 11:45:41.954 info
! iobroker 23 11:45:41.920 info npm
! iobroker 23 11:45:41.916 info longer be automatically installed to fulfill the peerDependency
! iobroker 23 11:45:41.911 info peerDependencies
! iobroker 23 11:45:41.909 info
! iobroker 23 11:45:41.904 info WARN
! iobroker 23 11:45:41.882 info
! iobroker 23 11:45:41.881 info npm
! iobroker 23 11:45:41.877 info The peer dependency eslint@<2.3.0 included from babel-eslint will no
! iobroker 23 11:45:41.872 info peerDependencies
! iobroker 23 11:45:41.871 info
! iobroker 23 11:45:41.850 info WARN
! iobroker 23 11:45:41.845 info
! iobroker 23 11:45:41.841 info npm
! iobroker 23 11:45:35.081 info npm install iobroker.kodi –production --prefix "C:/Home/iobroker" (System call)
! iobroker 23 11:45:34.005 info add kodi -
У меня при установке то же WARN
! host-test 24 16:48:42.530 info instance system.adapter.vis.0 terminated while should be started once
! vis-0 24 16:48:42.018 info Uploaded.
! vis-0 24 16:48:39.988 info 300 files uploaded…
! vis-0 24 16:48:34.666 info 200 files uploaded...
! vis-0 24 16:48:29.352 info 100 files uploaded...
! iobroker 24 16:48:25.481 info exit 0
! iobroker 24 16:48:25.479 info host.test object system.adapter.kodi.0 created
! host-test 24 16:48:25.471 info object change system.adapter.kodi.0
! iobroker 24 16:48:25.443 info host.test object system.adapter.kodi.0.alive created
! iobroker 24 16:48:25.409 info host.test object system.adapter.kodi.0.connected created
! iobroker 24 16:48:25.381 info host.test object system.adapter.kodi.0.memHeapUsed created
! iobroker 24 16:48:25.351 info host.test object system.adapter.kodi.0.memHeapTotal created
! iobroker 24 16:48:25.322 info host.test object system.adapter.kodi.0.memRss created
! iobroker 24 16:48:25.294 info host.test object system.adapter.kodi.0.uptime created
! iobroker 24 16:48:25.271 info host.test object system.adapter.kodi.upload created
! iobroker 24 16:48:25.233 info host.test object kodi.0.info.connection created
! iobroker 24 16:48:25.205 info host.test object kodi.0.OnInputRequested created
! iobroker 24 16:48:25.168 info host.test object kodi.0.Sources created
! iobroker 24 16:48:25.139 info host.test object kodi.0.CleanAudioLibrary created
! iobroker 24 16:48:25.111 info host.test object kodi.0.CleanVideoLibrary created
! iobroker 24 16:48:25.087 info host.test object kodi.0.ScanAudioLibrary created
! iobroker 24 16:48:25.055 info host.test object kodi.0.ScanVideoLibrary created
! iobroker 24 16:48:25.027 info host.test object kodi.0.Directory created
! iobroker 24 16:48:24.993 info host.test object kodi.0.VideoLibrary created
! iobroker 24 16:48:24.964 info host.test object kodi.0.playlist created
! iobroker 24 16:48:24.933 info host.test object kodi.0.currentplay created
! iobroker 24 16:48:24.902 info host.test object kodi.0.input.Back created
! iobroker 24 16:48:24.874 info host.test object kodi.0.input.ContextMenu created
! iobroker 24 16:48:24.847 info host.test object kodi.0.input.Down created
! iobroker 24 16:48:24.813 info host.test object kodi.0.input.Home created
! iobroker 24 16:48:24.785 info host.test object kodi.0.input.Info created
! iobroker 24 16:48:24.753 info host.test object kodi.0.input.Left created
! iobroker 24 16:48:24.724 info host.test object kodi.0.input.Right created
! iobroker 24 16:48:24.695 info host.test object kodi.0.input.Select created
! iobroker 24 16:48:24.651 info host.test object kodi.0.input.SendText created
! iobroker 24 16:48:24.622 info host.test object kodi.0.input.ShowCodec created
! iobroker 24 16:48:24.595 info host.test object kodi.0.input.ShowOSD created
! iobroker 24 16:48:24.567 info host.test object kodi.0.input.Up created
! iobroker 24 16:48:24.538 info host.test object kodi.0.setsubtitle created
! iobroker 24 16:48:24.509 info host.test object kodi.0.zoom created
! iobroker 24 16:48:24.481 info host.test object kodi.0.ExecuteAction created
! iobroker 24 16:48:24.451 info host.test object kodi.0.GoTo created
! iobroker 24 16:48:24.421 info host.test object kodi.0.ActivateWindow created
! iobroker 24 16:48:24.393 info host.test object kodi.0.ShowNotif created
! iobroker 24 16:48:24.365 info host.test object kodi.0.seek created
! iobroker 24 16:48:24.336 info host.test object kodi.0.open created
! iobroker 24 16:48:24.304 info host.test object kodi.0.youtube created
! iobroker 24 16:48:24.273 info host.test object kodi.0.SwitchPVR created
! iobroker 24 16:48:24.242 info host.test object kodi.0.next created
! iobroker 24 16:48:24.214 info host.test object kodi.0.previous created
! iobroker 24 16:48:24.188 info host.test object kodi.0.stop created
! iobroker 24 16:48:24.155 info host.test object kodi.0.mute created
! iobroker 24 16:48:24.126 info host.test object kodi.0.volume created
! iobroker 24 16:48:24.096 info host.test object kodi.0.pvr.playlist_tv created
! iobroker 24 16:48:24.069 info host.test object kodi.0.pvr.playlist_radio created
! iobroker 24 16:48:24.038 info host.test object kodi.0.playing_time created
! iobroker 24 16:48:24.009 info host.test object kodi.0.playing_time_total created
! iobroker 24 16:48:23.974 info host.test object kodi.0.canseek created
! iobroker 24 16:48:23.944 info host.test object kodi.0.repeat created
! iobroker 24 16:48:23.913 info host.test object kodi.0.shuffle created
! iobroker 24 16:48:23.883 info host.test object kodi.0.speed created
! iobroker 24 16:48:23.852 info host.test object kodi.0.position created
! iobroker 24 16:48:23.823 info host.test object kodi.0.playlistid created
! iobroker 24 16:48:23.794 info host.test object kodi.0.partymode created
! iobroker 24 16:48:23.762 info host.test object kodi.0.codec created
! iobroker 24 16:48:23.733 info host.test object kodi.0.samplerate created
! iobroker 24 16:48:23.703 info host.test object kodi.0.bitrate created
! iobroker 24 16:48:23.673 info host.test object kodi.0.type created
! host-test 24 16:48:23.658 info stopInstance system.adapter.vis.0
! host-test 24 16:48:23.658 info 'system.adapter.vis.0' enabled
! host-test 24 16:48:23.657 info object change system.adapter.vis.0
! iobroker 24 16:48:23.648 info host.test object kodi.0.info.album created
! host-test 24 16:48:23.643 info stopInstance system.adapter.vis.0
! host-test 24 16:48:23.642 info 'system.adapter.vis.0' disabled
! host-test 24 16:48:23.642 info object change system.adapter.vis.0
! iobroker 24 16:48:23.616 info host.test object kodi.0.info.artist created
! iobroker 24 16:48:23.588 info host.test object kodi.0.info.fanart created
! iobroker 24 16:48:23.559 info host.test object kodi.0.info.file created
! iobroker 24 16:48:23.530 info host.test object kodi.0.info.genre created
! iobroker 24 16:48:23.499 info host.test object kodi.0.info.label created
! iobroker 24 16:48:23.468 info host.test object kodi.0.info.playcount created
! iobroker 24 16:48:23.438 info host.test object kodi.0.info.rating created
! iobroker 24 16:48:23.406 info host.test object kodi.0.info.thumbnail created
! iobroker 24 16:48:23.370 info host.test object kodi.0.info.title created
! iobroker 24 16:48:23.342 info host.test object kodi.0.info.track created
! iobroker 24 16:48:23.312 info host.test object kodi.0.info.type created
! iobroker 24 16:48:23.284 info host.test object kodi.0.info.year created
! iobroker 24 16:48:23.256 info host.test object kodi.0.playlist created
! iobroker 24 16:48:23.228 info host.test object kodi.0.systeminfo.name created
! iobroker 24 16:48:23.200 info host.test object kodi.0.systeminfo.version created
! iobroker 24 16:48:23.172 info host.test object kodi.0.systeminfo.system created
! vis-0 24 16:48:23.165 info Upload vis anew, while changes detected...
! vis-0 24 16:48:23.160 info Changes in index.html detected => update cache.manifest
! iobroker 24 16:48:23.123 info host.test object kodi.0.systeminfo.kernel created
! iobroker 24 16:48:23.089 info host.test object kodi.0.channels created
! iobroker 24 16:48:23.061 info host.test object kodi.0.language created
! iobroker 24 16:48:23.034 info host.test object kodi.0.audiostream created
! iobroker 24 16:48:22.920 info host.test object kodi.0.info.id created
! iobroker 24 16:48:22.891 info host.test object kodi.0.info.albumartist created
! iobroker 24 16:48:22.864 info host.test object kodi.0.play created
! iobroker 24 16:48:22.835 info host.test object kodi.0.pause created
! vis-0 24 16:48:22.772 info config.js changed. Upload.
! vis-0 24 16:48:22.648 info starting. Version 0.10.1 in /opt/iobroker/node_modules/iobroker.vis
! iobroker 24 16:48:22.777 info host.test object kodi.0.info.episode created
! iobroker 24 16:48:22.747 info host.test object kodi.0.info.imdbnumber created
! iobroker 24 16:48:22.719 info host.test object kodi.0.info.originaltitle created
! iobroker 24 16:48:22.687 info host.test object kodi.0.info.plot created
! iobroker 24 16:48:22.659 info host.test object kodi.0.info.season created
! iobroker 24 16:48:22.631 info host.test object kodi.0.info.showtitle created
! iobroker 24 16:48:22.600 info host.test object kodi.0.info.audio created
! iobroker 24 16:48:22.571 info host.test object kodi.0.info.subtitle created
! iobroker 24 16:48:22.542 info host.test object kodi.0.info.video created
! iobroker 24 16:48:22.516 info host.test object kodi.0.info.tagline created
! iobroker 24 16:48:22.488 info host.test object kodi.0.info.audio_channels created
! iobroker 24 16:48:22.461 info host.test object kodi.0.info.audio_codec created
! iobroker 24 16:48:22.433 info host.test object kodi.0.info.audio_language created
! iobroker 24 16:48:22.406 info host.test object kodi.0.info.video_aspect created
! iobroker 24 16:48:22.378 info host.test object kodi.0.info.video_codec created
! iobroker 24 16:48:22.350 info host.test object kodi.0.info.video_duration created
! iobroker 24 16:48:22.321 info host.test object kodi.0.info.video_height created
! iobroker 24 16:48:22.293 info host.test object kodi.0.info.video_stereomode created
! iobroker 24 16:48:22.264 info host.test object kodi.0.info.video_width created
! iobroker 24 16:48:22.233 info host.test object kodi.0.info.subtitle_language created
! iobroker 24 16:48:22.224 info host.test create instance kodi
! iobroker 24 16:48:22.165 info host.test object system.adapter.kodi created
! iobroker 24 16:48:22.097 info upload [0] kodi /opt/iobroker/node_modules/iobroker.kodi/www/README.md README.md text/x-markdown
! iobroker 24 16:48:22.042 info upload [1] kodi /opt/iobroker/node_modules/iobroker.kodi/www/index.html index.html text/html
! iobroker 24 16:48:21.978 info upload [2] kodi /opt/iobroker/node_modules/iobroker.kodi/www/kodi.png kodi.png image/png
! iobroker 24 16:48:21.953 info Adapter 'system.adapter.vis.0' restarted.got /opt/iobroker/node_modules/iobroker.kodi/www
! host-test 24 16:48:21.930 info 'system.adapter.vis.0' enabled
! host-test 24 16:48:21.929 info object change system.adapter.vis.0
! host-test 24 16:48:21.917 info 'system.adapter.vis.0' disabled
! host-test 24 16:48:21.916 info object change system.adapter.vis.0
! iobroker 24 16:48:21.816 info upload [0] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/index.html index.html text/html
! iobroker 24 16:48:21.744 info upload [1] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/kodi.png kodi.png image/png
! iobroker 24 16:48:21.716 info got /opt/iobroker/node_modules/iobroker.kodi/admin
! iobroker 24 16:48:21.703 info host.test install adapter kodi
! iobroker 24 16:48:15.876 info npm WARN optional dep failed, continuing bufferutil@1.1.0
! iobroker 24 16:48:15.869 info npm WARN optional dep failed, continuing utf-8-validate@1.1.0
! iobroker 24 16:48:15.831 info node-gyp -v v3.3.1gyp ERR! not ok
! iobroker 24 16:48:15.824 info gyp ERR!
! iobroker 24 16:48:15.824 info ERR! cwd /opt/iobroker/node_modules/iobroker.kodi/node_modules/kodi-ws/node_modules/ws/node_modules/bufferutilgyp ERR! node -v v4.4.3
! iobroker 24 16:48:15.822 info gyp
! iobroker 24 16:48:15.822 info ERR! System Linux 3.13.0-85-genericgyp ERR! command '/usr/bin/nodejs' '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js' 'rebuild'
! iobroker 24 16:48:15.820 info stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)gyp
! iobroker 24 16:48:15.817 info gyp ERR! stack at ChildProcess.emit (events.js:172:7)gyp ERR!
! iobroker 24 16:48:15.814 info at emitTwo (events.js:87:13)
! iobroker 24 16:48:15.813 info stack
! iobroker 24 16:48:15.813 info
! iobroker 24 16:48:15.811 info ERR!
! iobroker 24 16:48:15.808 info
! iobroker 24 16:48:15.803 info gyp
! iobroker 24 16:48:15.793 info gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
! iobroker 24 16:48:15.793 info gyp ERR! build error gyp ERR! stack Error:make
failed with exit code: 2
! iobroker 24 16:48:15.785 info make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 1
! iobroker 24 16:48:15.665 info ^
! iobroker 24 16:48:15.665 info return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
! iobroker 24 16:48:15.665 info ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
! iobroker 24 16:48:15.665 info ../node_modules/nan/nan.h: In function ‘v8::Local NanBufferUse(char*, uint32_t)’:
! iobroker 24 16:48:15.665 info ^
! iobroker 24 16:48:15.665 info return node::Buffer::New(v8::Isolate::GetCurrent(), size);
! iobroker 24 16:48:15.665 info ../node_modules/nan/nan.h:676:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal’ to ‘v8::Local’
! iobroker 24 16:48:15.665 info ../node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(uint32_t)’:
! iobroker 24 16:48:15.665 info In file included from ../src/bufferutil.cc:16:0:
! iobroker 24 16:48:15.665 info /home/ryzhov/.node-gyp/4.4.3/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’
! iobroker 24 16:48:15.665 info ^
! iobroker 24 16:48:15.665 info NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
! iobroker 24 16:48:15.665 info /home/ryzhov/.node-gyp/4.4.3/include/node/node_buffer.h:43:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t)
! iobroker 24 16:48:15.665 info /home/ryzhov/.node-gyp/4.4.3/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’
! iobroker 24 16:48:15.665 info ^
! iobroker 24 16:48:15.665 info NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
! iobroker 24 16:48:15.665 info /home/ryzhov/.node-gyp/4.4.3/include/node/node_buffer.h:31:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, node::encoding)
! iobroker 24 16:48:15.665 info In file included from ../src/bufferutil.cc:10:0:
! iobroker 24 16:48:15.665 info ../node_modules/nan/nan.h:672:67: note: candidates are:
! iobroker 24 16:48:15.665 info ^
! iobroker 24 16:48:15.665 info return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
! iobroker 24 16:48:15.665 info ../node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(const char*, uint32_t)’:../node_modules/nan/nan.h:672:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous
! iobroker 24 16:48:15.664 info ^
! iobroker 24 16:48:15.664 info v8::Isolate::GetCurrent(), data, length, callback, hint);
! iobroker 24 16:48:15.664 info ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
! iobroker 24 16:48:15.664 info ^
! iobroker 24 16:48:15.664 info v8::Isolate::GetCurrent(), data, length, callback, hint);
! iobroker 24 16:48:15.664 info ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
! iobroker 24 16:48:15.664 info ../node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(char*, size_t, int)’:
! iobroker 24 16:48:15.664 info ^
! iobroker 24 16:48:15.664 info , node::smalloc::FreeCallback callback
! iobroker 24 16:48:15.664 info ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘…’ before ‘callback’
! iobroker 24 16:48:15.664 info ^
! iobroker 24 16:48:15.664 info ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared , node::smalloc::FreeCallback callback
! iobroker 24 16:48:15.634 info ^
! iobroker 24 16:48:15.634 info NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
! iobroker 24 16:48:15.634 info ../node_modules/nan/nan.h:256:25: error: ‘template v8::Local _NanEnsureLocal(v8::Handle)’ previously declared here
! iobroker 24 16:48:15.634 info ^
! iobroker 24 16:48:15.634 info NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
! iobroker 24 16:48:15.634 info In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h:261:25: error: redefinition of ‘template v8::Local _NanEnsureLocal(v8::Local)’
! iobroker 24 16:48:14.661 info gyp ERR! not ok
! iobroker 24 16:48:14.661 info gyp ERR! node-gyp -v v3.3.1
! iobroker 24 16:48:14.661 info gyp ERR! node -v v4.4.3
! iobroker 24 16:48:14.661 info gyp ERR! cwd /opt/iobroker/node_modules/iobroker.kodi/node_modules/kodi-ws/node_modules/ws/node_modules/utf-8-validate
! iobroker 24 16:48:14.661 info gyp ERR! command '/usr/bin/nodejs' '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js' 'rebuild'
! iobroker 24 16:48:14.661 info gyp ERR! System Linux 3.13.0-85-generic
! iobroker 24 16:48:14.661 info gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
! iobroker 24 16:48:14.661 info gyp ERR! stack at ChildProcess.emit (events.js:172:7)
! iobroker 24 16:48:14.661 info gyp ERR! stack at emitTwo (events.js:87:13)
! iobroker 24 16:48:14.661 info gyp ERR! stack Error:make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
! iobroker 24 16:48:14.654 info gyp ERR! build error
! iobroker 24 16:48:14.651 info make: *** [Release/obj.target/validation/src/validation.o] Ошибка 1
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h: In function ‘v8::Local NanBufferUse(char*, uint32_t)’:
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info return node::Buffer::New(v8::Isolate::GetCurrent(), size);
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h:676:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal’ to ‘v8::Local’
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(uint32_t)’:
! iobroker 24 16:48:14.536 info In file included from ../src/validation.cc:15:0:
! iobroker 24 16:48:14.536 info /home/ryzhov/.node-gyp/4.4.3/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
! iobroker 24 16:48:14.536 info /home/ryzhov/.node-gyp/4.4.3/include/node/node_buffer.h:43:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t)
! iobroker 24 16:48:14.536 info /home/ryzhov/.node-gyp/4.4.3/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
! iobroker 24 16:48:14.536 info /home/ryzhov/.node-gyp/4.4.3/include/node/node_buffer.h:31:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, node::encoding)
! iobroker 24 16:48:14.536 info In file included from ../src/validation.cc:10:0:
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h:672:67: note: candidates are:
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h:672:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(const char*, uint32_t)’:
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info v8::Isolate::GetCurrent(), data, length, callback, hint);
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info v8::Isolate::GetCurrent(), data, length, callback, hint);
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(char*, size_t, int)’:
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info , node::smalloc::FreeCallback callback
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘…’ before ‘callback’
! iobroker 24 16:48:14.536 info ^
! iobroker 24 16:48:14.536 info ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared , node::smalloc::FreeCallback callback
! iobroker 24 16:48:14.528 info ^
! iobroker 24 16:48:14.528 info NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
! iobroker 24 16:48:14.528 info ../node_modules/nan/nan.h:256:25: error: ‘template v8::Local _NanEnsureLocal(v8::Handle)’ previously declared here
! iobroker 24 16:48:14.528 info ^
! iobroker 24 16:48:14.528 info NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
! iobroker 24 16:48:14.528 info In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h:261:25: error: redefinition of ‘template v8::Local _NanEnsureLocal(v8::Local)’
! iobroker 24 16:48:07.135 info in npm 3+. Your application will need to depend on it explicitly.
! iobroker 24 16:48:07.135 info peerDependencies
! iobroker 24 16:48:07.134 info
! iobroker 24 16:48:07.134 info WARN
! iobroker 24 16:48:07.133 info
! iobroker 24 16:48:07.133 info npm
! iobroker 24 16:48:07.132 info longer be automatically installed to fulfill the peerDependency
! iobroker 24 16:48:07.130 info peerDependencies
! iobroker 24 16:48:07.128 info
! iobroker 24 16:48:07.127 info WARN
! iobroker 24 16:48:07.124 info
! iobroker 24 16:48:07.122 info npm
! iobroker 24 16:48:07.115 info WARN peerDependencies The peer dependency eslint@<2.3.0 included from babel-eslint will no
! iobroker 24 16:48:07.114 info npm
! iobroker 24 16:48:00.557 info npm install iobroker.kodi --production --prefix '/opt/iobroker' (System call)
! iobroker 24 16:48:00.254 info add kodiПосле установки и запуска KODI в логе
kodi-0 24 17:00:01.138 error TypeError: Cannot read property 'playerid' of undefined
Сделал импорт элементов, на белом фоне не видно клавиш управления
У меня вешается коди или просто перестает управляться, если в списке выбрать фильм, а потом нажать кнопку стоп, потом нет возможности включить из списка что либо.
Еще хотелось бы увидеть виджет пульта управления. :oops:
-
На варнинги можно не обращать внимания.
А в ятси как кнопка стоп в плейлисте работает?