Posts by olehenrikj

    The URL doesn't seem to be accepted by the moderators for whatever reason. But the Chromium addon for sure needs more attention and love if it should be usable.

    You can follow the url from the previous post though, you'll find it there (if this post stays)

    Chrome version: 60.0.3112.101-1

    - includes Adobe Flash plugin 26.0.0.151 (and of course widevine).

    - regular Chrome binaries, found an easier and better way to disable pulseaudio under LibreElec when Chrome is running (It still doesn't work with http://youtube.com/tv for some reason, but normal youtube and other sides work as normal).

    - added a switch in settings for stopping pulseaudio, enabled by default (PA will restart when browser closes).

    I do not guarantee maintaining of the package, but at least it works stable and don't crash the entire browser entering some random flash content.

    Check for updates here:

    Feel free to go through the code, it's mainly a fork from LibreElec but includes libraries needed for Chrome and Chrome itself incl. Adobe Flash plugin. So note that you'll be accepting all licenses and stuff by installing this package automatically. Also you install this on your own risk.

    Big kudos to olehenrikj !! Tried your Chrome with LE and it works like a charm on my x86 system. You solved a ton of issues for me and Thanks for sharing. I was using Chromium some time ago then an update to LE fouled it up but Chrome works just fine for my needs.

    RD :):)

    You're welcome. I updated the stuff and I will add a new post under this.

    Can't be bothered messing up the other scripts anyway, I like things most automatic as possible. Now I just choose the source in Kodi, and the scripts tell which alsa source to use for Chrome. And I have no use for ut/tv, so I just gave a package that works for most. Then it's up to them if they need it or not. I don't want pulseaudio to be the main system in Kodi either as it does not serve a good purpose on that. For normal systems it has became quite good.

    But I don't understand why it shouldn't work with alsa, even if it's an app layer or something, everything I can see runs through the same chrome binary. Maybe some of the libs makes this happen, I dunno.

    Tested working, thanks :)

    Here's a quick way to do it with sed:

    sed -e 's/\x6C\x69\x62\x70\x75\x6C\x73\x65\x2E\x73\x6F\x2E\x30/x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/g' -i chrome

    Unfortunately, it doesn't seem to work for sites like http://youtube.com/tv. The only way I got that to work was using pulse.

    Didn't work here either, I did however get the navigation sounds at tube/tv. But the video just stopped. However I don't like /tv anyway so normal mode works just fine for me. Also primevideo.com works as expected, so I dunno what mystery lays behind youtube/tv.


    Pulseaudio is not an option here even because of audio profile switching which is working well and I prefer the bit perfect mode with alsa. And also I am not going to go away from LibreElec as I want things to be as simple as possible, recompile the stuff just to get shared libs is a nope for me.

    I tried also to use Chrome Launcher addon to see if that took care of sound with "youtube leanback", but it didn't.

    I did try to kill pulse myself before running Chrome, but it did just respawn as it runs as system because of Bluetooth or something. So I went for the alternative route which isn't optimal and what you wish. But so far Chrome does not have a "disable pulseaudio" option, this is the way to do it. Even specifying alsa hardware doesn't help so far pulseaudio is available somehow (as it seems).

    How did you remove the pulseaudio binding? I've added Chrome to my LE fork as well, although I went a different route. LE actually has packaged most of the needed libraries, but they are compiled as static libraries instead of shared. I've changed that and also added the few that was missing in order to run it natively without any libraries from other platforms.

    I've "solved" the pulseaudio issue by stopping the service. This doesn't seem to work with things like http://youtube.com/tv though, which seems to depend on pulseaudio.

    Hexedit away libpulse.0.so - just zero it out from the Chrome binary and save.

    Well I got tired of waiting for new browser and my script to be added into the system.

    So I decided to make my own based upon pure Chrome instead, so if anyone is interested, you can download it and install it from:

    browser.chrome.59.0.3071.115-1.zip

    Chrome version: 59.0.3071.115-1

    - includes Adobe Flash plugin 26.0.0.137 (and of course widevine).

    - hacked away pulseaudio compatibility because chrome does not accept ALSA when pulseaudio for bluetooth is running in background in LibreElec.

    I do not guarantee maintaining of the package, but at least it works stable and don't crash the entire browser entering some random flash content.

    Feel free to go through the code, it's mainly a fork from LibreElec but includes libraries needed for Chrome and Chrome itself incl. Adobe Flash plugin. So note that you'll be accepting all licenses and stuff by installing this package automatically. Also you install this on your own risk.