Netflix, state of the art?
#59
(05-31-2020, 03:55 PM)koparthur Wrote:
(05-31-2020, 02:12 PM)spikerguy Wrote:
(05-31-2020, 08:41 AM)koparthur Wrote: Hi,
Here is my configuration of /usr/local/bin/chromium-armhf, with sound control (in Bluetooth too) :


Code:
#!/usr/bin/env bash

addrip="$(hostname -i | grep -v '127.0.0.1' | awk '{ print $1}')"

echo "Enabling XHost Forwarding"
xhost +local:docker

echo "Searching for Docker image ..."
DOCKER_IMAGE_ID=$(docker images -q hthiemann/chromium-armhf:latest | head -n 1)
echo "Found and using ${DOCKER_IMAGE_ID}"

docker run --rm --privileged \
-e DISPLAY=unix$DISPLAY \
-e PULSE_SERVER=tcp:${addrip}:4713 \
-e PULSE_COOKIE_DATA=`pax11publish -d | grep --color=never -Po '(?<=^Cookie: ).*'` \
-v chromium_home:/home \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev:/dev -v /run:/run \
-v /etc/machine-id:/etc/machine-id \
--ipc=host \
 ${DOCKER_IMAGE_ID}

If it helps anyone.

Smile
This needs paprefs with pulseaudio on network enabled right?

Nice I wanted to use something similar thanks for the code.

Yes, and you have to activate that in Paprefs (sorry it's in french) :

[Image: Screenshot_20200531_233954.png]
I activated the PulseAudio server (Papref) and modified /usr/local/bin/chromium-armhf, it works fine.
The only problem is that if the IPv4 of the PBP changes, the sound doesn't work anymore and you have to restart Chromium.

The only problem is that if the IPv4 of the PBP changes, the sound doesn't work anymore and you have to restart Chromium.

If IP changes then a restart is a must as even your internet will stop working. That is how dockers work Wink
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
  Reply


Messages In This Thread
Netflix, state of the art? - by gleachkr - 04-17-2020, 11:27 AM
Netflix, state of the art? - by hthiemann - 04-18-2020, 01:48 AM
RE: Netflix, state of the art? - by PakoSt - 04-18-2020, 07:47 AM
RE: Netflix, state of the art? - by gleachkr - 04-18-2020, 10:11 AM
Netflix, state of the art? - by hthiemann - 04-19-2020, 01:14 PM
RE: Netflix, state of the art? - by PakoSt - 04-19-2020, 04:18 PM
RE: Netflix, state of the art? - by Eight Bit - 04-20-2020, 11:37 AM
RE: Netflix, state of the art? - by 8-bit - 04-19-2020, 05:42 PM
RE: Netflix, state of the art? - by PakoSt - 04-19-2020, 06:44 PM
RE: Netflix, state of the art? - by hthiemann - 04-20-2020, 12:41 PM
RE: Netflix, state of the art? - by spikerguy - 04-20-2020, 03:54 PM
RE: Netflix, state of the art? - by Luke - 04-20-2020, 03:57 PM
RE: Netflix, state of the art? - by PakoSt - 04-20-2020, 01:41 PM
RE: Netflix, state of the art? - by PakoSt - 04-20-2020, 05:59 PM
RE: Netflix, state of the art? - by appelgriebsch - 04-23-2020, 01:29 AM
RE: Netflix, state of the art? - by hthiemann - 04-21-2020, 12:56 AM
RE: Netflix, state of the art? - by Eight Bit - 04-22-2020, 07:47 AM
RE: Netflix, state of the art? - by hthiemann - 04-23-2020, 01:55 AM
RE: Netflix, state of the art? - by PakoSt - 04-23-2020, 06:10 AM
RE: Netflix, state of the art? - by appelgriebsch - 04-23-2020, 10:47 AM
RE: Netflix, state of the art? - by PakoSt - 04-23-2020, 05:56 PM
RE: Netflix, state of the art? - by PakoSt - 04-24-2020, 02:29 AM
RE: Netflix, state of the art? - by hthiemann - 04-24-2020, 07:17 AM
RE: Netflix, state of the art? - by PakoSt - 04-24-2020, 01:43 PM
RE: Netflix, state of the art? - by spikerguy - 04-24-2020, 03:26 PM
RE: Netflix, state of the art? - by hthiemann - 04-25-2020, 05:12 AM
RE: Netflix, state of the art? - by gleachkr - 04-25-2020, 12:58 PM
RE: Netflix, state of the art? - by PakoSt - 04-25-2020, 02:01 PM
RE: Netflix, state of the art? - by PakoSt - 04-26-2020, 04:13 AM
RE: Netflix, state of the art? - by spikerguy - 04-26-2020, 08:00 AM
RE: Netflix, state of the art? - by PakoSt - 04-26-2020, 03:18 PM
RE: Netflix, state of the art? - by gleachkr - 04-26-2020, 04:09 PM
RE: Netflix, state of the art? - by spikerguy - 04-27-2020, 12:02 PM
RE: Netflix, state of the art? - by gleachkr - 04-28-2020, 01:10 PM
RE: Netflix, state of the art? - by spikerguy - 04-30-2020, 07:05 AM
RE: Netflix, state of the art? - by spikerguy - 04-30-2020, 04:58 PM
RE: Netflix, state of the art? - by pfeerick - 05-01-2020, 03:02 AM
RE: Netflix, state of the art? - by whiskey - 05-02-2020, 12:29 PM
RE: Netflix, state of the art? - by kervel - 05-28-2020, 01:58 PM
RE: Netflix, state of the art? - by appelgriebsch - 07-16-2020, 01:26 AM
RE: Netflix, state of the art? - by mkdent - 07-17-2020, 10:26 PM
RE: Netflix, state of the art? - by appelgriebsch - 07-18-2020, 12:24 AM
RE: Netflix, state of the art? - by TonGruter - 07-28-2020, 02:27 PM
RE: Netflix, state of the art? - by spikerguy - 07-30-2020, 12:03 PM
RE: Netflix, state of the art? - by TheBackburner - 08-09-2020, 02:48 PM
RE: Netflix, state of the art? - by spikerguy - 08-14-2020, 06:28 AM
RE: Netflix, state of the art? - by appelgriebsch - 09-06-2020, 11:42 PM
RE: Netflix, state of the art? - by User 18041 - 09-09-2020, 08:44 AM
RE: Netflix, state of the art? - by spikerguy - 09-09-2020, 11:45 AM
RE: Netflix, state of the art? - by User 18041 - 09-10-2020, 03:36 AM
RE: Netflix, state of the art? - by wrzomar - 09-26-2020, 12:05 PM
RE: Netflix, state of the art? - by spikerguy - 10-11-2020, 04:04 AM
RE: Netflix, state of the art? - by PakoSt - 05-02-2020, 04:08 PM
RE: Netflix, state of the art? - by whiskey - 05-02-2020, 06:31 PM
RE: Netflix, state of the art? - by whiskey - 05-02-2020, 06:54 PM
RE: Netflix, state of the art? - by pfeerick - 05-03-2020, 06:17 AM
RE: Netflix, state of the art? - by whiskey - 05-03-2020, 08:02 AM
RE: Netflix, state of the art? - by Eight Bit - 05-03-2020, 09:28 AM
RE: Netflix, state of the art? - by spikerguy - 05-03-2020, 06:48 PM
RE: Netflix, state of the art? - by pfeerick - 05-04-2020, 06:39 AM
RE: Netflix, state of the art? - by spikerguy - 05-04-2020, 10:35 AM
RE: Netflix, state of the art? - by Eight Bit - 05-04-2020, 03:42 PM
RE: Netflix, state of the art? - by spikerguy - 05-06-2020, 02:19 AM
RE: Netflix, state of the art? - by Eight Bit - 05-07-2020, 03:48 AM
RE: Netflix, state of the art? - by spikerguy - 05-08-2020, 07:38 AM
RE: Netflix, state of the art? - by spikerguy - 05-20-2020, 10:25 PM
RE: Netflix, state of the art? - by Luke - 05-21-2020, 04:26 AM
RE: Netflix, state of the art? - by erchache2000 - 05-22-2020, 04:24 PM
RE: Netflix, state of the art? - by koparthur - 05-31-2020, 08:41 AM
RE: Netflix, state of the art? - by spikerguy - 05-31-2020, 02:12 PM
RE: Netflix, state of the art? - by koparthur - 05-31-2020, 03:55 PM
RE: Netflix, state of the art? - by spikerguy - 06-01-2020, 05:08 AM
RE: Netflix, state of the art? - by mkdent - 07-18-2020, 02:53 AM
RE: Netflix, state of the art? - by mkdent - 07-18-2020, 03:59 AM
RE: Netflix, state of the art? - by appelgriebsch - 07-18-2020, 04:37 AM
RE: Netflix, state of the art? - by mkdent - 07-18-2020, 07:40 AM
RE: Netflix, state of the art? - by wrzomar - 10-13-2020, 06:11 AM
RE: Netflix, state of the art? - by Mangled - 10-27-2020, 10:20 AM
RE: Netflix, state of the art? - by monty11ez - 11-25-2020, 05:28 PM
RE: Netflix, state of the art? - by wrzomar - 03-24-2021, 03:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Funny Conky like script to monitor your PBP state as400 1 3,634 08-19-2020, 12:57 PM
Last Post: xmixahlx
  Netflix on default Chromium/Debian MoonDog 8 11,399 01-28-2020, 04:58 AM
Last Post: simeon
  State of hibernate or hybrid-sleep? Arwen 5 8,246 11-21-2019, 07:51 AM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 19 Guest(s)