2019-12-07, 20:22
Ok,
I don't understand all the details. I'm not technical and don't know how to program..
But i got the Navigating up, down, right, left working now
in the en.json file what was there:
"kodiNavRight": "navigate right( (?<q>\\d+))?",
I added
"kodiNavRight" : "nav right( (?<q>\\d+))?",
and in the Helpers.js i added
exports.kodiNavRight = (request, response) => { // eslint-disable-line no-unused-vars
console.log('Navigation Right request received');
let Kodi = request.kodi;
return Kodi.Input.Right(); // eslint-disable-line new-cap
};
I'm not sure what the issue was with the previous and why it did not work, but now does what i want.
I'm thinking the previous commands are trying to allow to receive how many nav right?? like nav right 3 and it will move right 3 ??
I don't understand all the details. I'm not technical and don't know how to program..
But i got the Navigating up, down, right, left working now
in the en.json file what was there:
"kodiNavRight": "navigate right( (?<q>\\d+))?",
I added
"kodiNavRight" : "nav right( (?<q>\\d+))?",
and in the Helpers.js i added
exports.kodiNavRight = (request, response) => { // eslint-disable-line no-unused-vars
console.log('Navigation Right request received');
let Kodi = request.kodi;
return Kodi.Input.Right(); // eslint-disable-line new-cap
};
I'm not sure what the issue was with the previous and why it did not work, but now does what i want.
I'm thinking the previous commands are trying to allow to receive how many nav right?? like nav right 3 and it will move right 3 ??