Comments (9)
There is no need for that.
You can create one script, that executes some commands, than starts the browser and executes some commands afterwards.
As example:
#!/bin/sh
(Commands)
/usr/bin/google-chrome --kiosk $1
(Commands)
from xbmc.
from xbmc.
If you disable remote control in advanced settings, Kodi should not catch the lirc cmds. (If i am not wrong)
from xbmc.
I only want to disable LIRC temporarely during the browser is open.
I did not find a way to do this from outside of kodi.
Maybe you could use parts from here:
https://github.com/AddonScriptorDE/plugin.program.chrome.launcher/pull/4/files?diff=split
from xbmc.
You can disable lirc outside from kodi with folling command:
/usr/bin/kodi-send -a "LIRC.Stop"
and enable with
/usr/bin/kodi-send -a "LIRC.Start"
from xbmc.
from xbmc.
The commands above doesn't work?
from xbmc.
I have built Kodi from source on Debian Jessie. The command you mean is a small python
program. LIRC.stop disabled the remote, but LIRC.Start did not enable it again. There was
no error, neither in the commandline, not in the log.
A small C++ program linked against xbmcclient did the job. Maybe a bug in the python module?
My Kodi works as expected now. So if you don't want to build in LIRC disable / enable, you can
close this issue.
Otherwise here is the piece of code I wrote. You can use it like the python program.
#include "xbmcclient.h"
#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
int main(int argc, char **argv)
{
CAddress my_addr; // Address => localhost on 9777
int sockfd = socket(AF_INET, SOCK_DGRAM, 0);
if (sockfd < 0)
{
printf("Error creating socket\n");
return -1;
}
my_addr.Bind(sockfd);
CXBMCClient Client;
Client.SendACTION(argv[1]);
CPacketBYE bye;
bye.Send(sockfd, my_addr);
}
from xbmc.
Thanks for explaining that, i didn't know that's a python app.
But it's strange that is not working, because it does the same like your program.
However, i close this issue.
from xbmc.
Related Issues (20)
- Fails when loading the root Amazon menu HOT 8
- Double quotes error HOT 2
- Amazon VOD fails to load after upgrade to 0.9.9 - Exception TypeError: 'NoneType' object is not callable HOT 3
- Can see Profile but can't go any further ! HOT 9
- "Amazon VOD error" message on launch HOT 3
- Unable to find the navigation menu HOT 14
- Occasional crashes when starting a show HOT 11
- screen brightens and dims HOT 1
- Can't change profile HOT 2
- "REACHER" - new episodes need both caches cleared HOT 2
- Errors while browsing the catalog / Unable to find the navigation menu HOT 19
- Login works but everything else not working (in India) HOT 1
- Everyting doesn't work (apart from login) HOT 1
- Again the same problem! unable to find the navigation menu for https://www.primevideo.com HOT 1
- First Audiotrack selected by default HOT 2
- Login error - Unknown Error HOT 2
- Error switching to next episode HOT 1
- Genre Lists are empty and Prime folders are gone HOT 2
- HTTP Error on playback HOT 1
- Impossible de lancer une video HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbmc.