PINE64
Netflix, state of the art? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Netflix, state of the art? (/showthread.php?tid=9680)

Pages: 1 2 3 4 5 6 7 8 9


RE: Netflix, state of the art? - spikerguy - 05-08-2020

(05-07-2020, 03:48 AM)Eight Bit Wrote: Though maybe obvious, I had to try ^ ^
The Alsamixer DAC audio output of Chromium-armhf doesn't route to a connected bluetooth headset either.
I can easily have Chromium play spotify through the speakers while listening to a youtube from firefox through a headset.
It's not a bug, it's a feature! Smile
LOL!!!
Yes a feature for you :p 

Someone on Manjaro forum have advices a fix for Volume controller to be used in Chromium-Docker 
Here is the post
DE Volume Control Fix

I am testing it and then will see how I can get it included in the package so users can just upgrade the package to get it fixed.


RE: Netflix, state of the art? - spikerguy - 05-20-2020

Chromium Docker package updated to fix netflix-1080p plugin.


RE: Netflix, state of the art? - Luke - 05-21-2020

(05-20-2020, 10:25 PM)spikerguy Wrote: Chromium Docker package updated to fix netflix-1080p plugin.

Nice! Smile


RE: Netflix, state of the art? - erchache2000 - 05-22-2020

I tested with Spotify and Netflix and runs nice! XD

I need little help reading this https://github.com/HenningThiemann/docker-chromium-armhf

But runs... Tongue Tongue Tongue


RE: Netflix, state of the art? - kervel - 05-28-2020

Hello,

i think it should be possible to get rid of docker completely using debootstrap.
I got google chrome running as follows:

Code:
mkdir deb
debootstrap --arch=armhf buster deb
cp deb/lib/ld-linux-armhf.so.3 /lib
sudo chroot deb /bin/bash
Now inside the chroot i edited /etc/apt/sources.list to enable non-free and contrib and then i was able to do apt update && apt install chromium.
Once this is done, one can launch chromium as follows:
Code:
LD_LIBRARY_PATH=$PWD/lib:$PWD/usr/lib/:$PWD/usr/lib/arm-linux-gnueabihf/:\
$PWD/lib/arm-linux-gnueabihf/:$PWD/usr/lib/arm-linux-gnueabihf/pulseaudio/ \
usr/lib/chromium/chromium

this is without docker or chroot or x forwarding ..


RE: Netflix, state of the art? - koparthur - 05-31-2020

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


RE: Netflix, state of the art? - spikerguy - 05-31-2020

(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.


RE: Netflix, state of the art? - koparthur - 05-31-2020

(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.


RE: Netflix, state of the art? - spikerguy - 06-01-2020

(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


RE: Netflix, state of the art? - appelgriebsch - 07-16-2020

(05-28-2020, 01:58 PM)kervel Wrote: Hello,

i think it should be possible to get rid of docker completely using debootstrap.
I got google chrome running as follows:

Code:
mkdir deb
debootstrap --arch=armhf buster deb
cp deb/lib/ld-linux-armhf.so.3 /lib
sudo chroot deb /bin/bash
Now inside the chroot i edited /etc/apt/sources.list to enable non-free and contrib and then i was able to do apt update && apt install chromium.
Once this is done, one can launch chromium as follows:
Code:
LD_LIBRARY_PATH=$PWD/lib:$PWD/usr/lib/:$PWD/usr/lib/arm-linux-gnueabihf/:\
$PWD/lib/arm-linux-gnueabihf/:$PWD/usr/lib/arm-linux-gnueabihf/pulseaudio/ \
usr/lib/chromium/chromium

this is without docker or chroot or x forwarding ..

Hey,

I just did this based on a systemd-nspawn container following the guides here:
Works pretty well and doesn't need a docker daemon running in the background. My scripts for integration in Manjaro:
Like this idea much better than the docker image approach...