• 1
  • 33
  • 34
  • 35(current)
  • 36
  • 37
  • 47
[RELEASE] Chrome Launcher
add --incognito to the command that launches chromium, according to the first result on the google search for chromium commandline

http://peter.sh/experiments/chromium-com...-switches/

EDIT: sorry this is the chrome, not chromium launcher thread. However the answer is the same

http://www.ghacks.net/2013/10/06/list-us...-switches/
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
(2015-08-01, 07:30)nickr Wrote:
(2015-07-31, 11:03)millerf Wrote: Hi everyone,


I am a brand new user of the chrome launcher, and I was actually looking to have the xbmc controls interface working with it (play/pause/....).

I was thinking about developing a chrome extension to retrieve the video state and send it to a XBMC plug in via the JSON-RPC interface.

Now, let's assume we can effectively retrieve the video statein Chrome, I don't quite now the extends of what is possible to do in an XBMC extension. Does anyone have any idea about that and if it could be possible?

Cheers!

There are some control ideas dealt with here.

Edit bugger it I can't seem to copy and paste in tapatalk right now. Go to openelec forums, the thread tutorial chromium html5 setup, or something like that.




No luck....
Reply
i use kodi in real fullscreen mode (no fullscreen windows). if i do theat every time i close chrome kodi is minimized (has lost focus). is there anything i can do that kodi doesnt lost focus (except use fullscreen window within kodi)?
Reply
Running kodi on kodibuntu, i'm gettng "script failed: chrome launcher" whatever custom script i use. When I don't run a custom script I'm getting the "Chrome not found" error. I've tried everything I've found on the web, but nothing has worked so far, so I'm trying here now. If you can someone can find a way to figure it out, you'd truly make my week.
Reply
(2015-08-04, 09:32)nickr Wrote: add --incognito to the command that launches chromium, according to the first result on the google search for chromium commandline

http://peter.sh/experiments/chromium-com...-switches/

EDIT: sorry this is the chrome, not chromium launcher thread. However the answer is the same

http://www.ghacks.net/2013/10/06/list-us...-switches/

I can`t find where to do this, add the commands.

Tried to add a choice in the "default.py", but that made the addon not work at all. I have never programmed anything before. :-)
Tried this:
Code:
def index():
    files = os.listdir(siteFolder)
    for file in files:
        if file.endswith(".link"):
            fh = open(os.path.join(siteFolder, file), 'r')
            title = ""
            url = ""
            thumb = ""
            kiosk = "yes"
            incognito = "no"                      (added)
            stopPlayback = "no"
            for line in fh.readlines():
                entry = line[:line.find("=")]
                content = line[line.find("=")+1:]
                if entry == "title":
                    title = content.strip()
                elif entry == "url":
                    url = content.strip()
                elif entry == "thumb":
                    thumb = content.strip()
                elif entry == "kiosk":
                    kiosk = content.strip()
                elif entry == "incognito"         (added)
                    incognito = content.strip()    (added)
                elif entry == "stopPlayback":
                    stopPlayback = content.strip()
            fh.close()
            addSiteDir(title, url, 'showSite', thumb, stopPlayback, kiosk)
    addDir("[B]- "+translation(30001)+"[/B]", "", 'addSite', "")
    xbmcplugin.endOfDirectory(pluginhandle)
Just made it crash. So there is definitely not the right way to add a new option.
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
(2015-08-05, 10:52)pettergulbra Wrote:
(2015-08-04, 09:32)nickr Wrote: add --incognito to the command that launches chromium, according to the first result on the google search for chromium commandline

http://peter.sh/experiments/chromium-com...-switches/

EDIT: sorry this is the chrome, not chromium launcher thread. However the answer is the same

http://www.ghacks.net/2013/10/06/list-us...-switches/

I can`t find where to do this, add the commands.

Tried to add a choice in the "default.py", but that made the addon not work at all. I have never programmed anything before. :-)
Tried this:
Code:
def index():
    files = os.listdir(siteFolder)
    for file in files:
        if file.endswith(".link"):
            fh = open(os.path.join(siteFolder, file), 'r')
            title = ""
            url = ""
            thumb = ""
            kiosk = "yes"
            incognito = "no"                      (added)
            stopPlayback = "no"
            for line in fh.readlines():
                entry = line[:line.find("=")]
                content = line[line.find("=")+1:]
                if entry == "title":
                    title = content.strip()
                elif entry == "url":
                    url = content.strip()
                elif entry == "thumb":
                    thumb = content.strip()
                elif entry == "kiosk":
                    kiosk = content.strip()
                elif entry == "incognito"         (added)
                    incognito = content.strip()    (added)
                elif entry == "stopPlayback":
                    stopPlayback = content.strip()
            fh.close()
            addSiteDir(title, url, 'showSite', thumb, stopPlayback, kiosk)
    addDir("[B]- "+translation(30001)+"[/B]", "", 'addSite', "")
    xbmcplugin.endOfDirectory(pluginhandle)
Just made it crash. So there is definitely not the right way to add a new option.


at least the syntax is not correct, you have to add a ":" after elif entry == "incognito"
Reply
Even after adding that, I won`t start.
Here is the log: http://xbmclogs.com/pnalsqg9g
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
I have now, I thought I found one more error, but no.

I have edited line: 60, 73, 74, 168 and 169.
http://pastebin.com/4VSE9yjr

Hmm
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
Whitespace is significant in python, and if that pastebin is accurate your whitespace is all over the place.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
I use notpad++, there all is in line, but not in the pastbin I see.

I have edited some more lines here: 302, 314, 315, 359, 368, 369, 383 and 394
http://pastebin.com/Nrv2bty2

How do I fix the faulty space thing?

Think I found out of it, could not use "tab", had to use space for all the movement.
And here it is now: http://pastebin.com/heJ2jJZz
But still don`t work. :-)

I`v tried to edit some more, out of what I can understand from the Kodi log. But it seems as if I fix a line, I just get error on three more.
Kodi log:http://pastebin.com/L6tGhBCC
Last default.py: http://pastebin.com/6YmDB5eU

It looks like it can read the py file now, but it won`t load the pages saved. (I can now load the addon, show what pages I have saved)
I still haven`t got the Incognito as a choice in "add page" menu.
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
(2015-08-04, 10:39)Ed76 Wrote: i use kodi in real fullscreen mode (no fullscreen windows). if i do theat every time i close chrome kodi is minimized (has lost focus). is there anything i can do that kodi doesnt lost focus (except use fullscreen window within kodi)?

Any word on this? I had everything up and running fine and the all of a sudden the same thing happened to me. When pressing control w, Chrome closes but Kodi does not refocus.
Reply
(2015-08-05, 23:24)cford1905 Wrote:
(2015-08-04, 10:39)Ed76 Wrote: i use kodi in real fullscreen mode (no fullscreen windows). if i do theat every time i close chrome kodi is minimized (has lost focus). is there anything i can do that kodi doesnt lost focus (except use fullscreen window within kodi)?

Any word on this? I had everything up and running fine and the all of a sudden the same thing happened to me. When pressing control w, Chrome closes but Kodi does not refocus.

look here: http://forum.kodi.tv/showthread.php?tid=...pid1974990

works perfect for me.
Reply
(2015-08-06, 11:06)Ed76 Wrote:
(2015-08-05, 23:24)cford1905 Wrote:
(2015-08-04, 10:39)Ed76 Wrote: i use kodi in real fullscreen mode (no fullscreen windows). if i do theat every time i close chrome kodi is minimized (has lost focus). is there anything i can do that kodi doesnt lost focus (except use fullscreen window within kodi)?

Any word on this? I had everything up and running fine and the all of a sudden the same thing happened to me. When pressing control w, Chrome closes but Kodi does not refocus.

look here: http://forum.kodi.tv/showthread.php?tid=...pid1974990

works perfect for me.


Thanks, I'm running Ubuntu 14 and it looks like some of the syntax/commands aren't applicable. The strange thing is that at first I didn't have this problem. Without making making any changes or installing new software (as far as I know) it started showing this behavior. My guess is my window manager changed a default setting.
Reply
Maybe an obvious answer, but is the latest version of this addon a few years old and linked in the first post?
Reply
The addon is in the the author's repo, to which there is a link in the first post.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
  • 1
  • 33
  • 34
  • 35(current)
  • 36
  • 37
  • 47

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Chrome Launcher8