This is not a question, I just wanted to share my solution with the forum.
Unfortunately, streaming services like Netflix and Amazon Prime Video do not support 1080p in Linux browsers (I’ve even tested in Google Chrome and Microsoft Edge for Linux): this is particularly a problem for Prime Video, which streams at Standard Definition (480p). They also implement strict checks: in fact, it is not sufficient to change the user agent to fool them.
To circumvent this restriction, I’ve found this solution involving wine and Edge browser on the Arch forums: however, this no longer works, as the installation of Edge fails on Wine. So I tried this instead:
- Install
wine-staging
with the commandsudo pacman -S wine-staging
. - [Optional] Remove MIME types following this thread
- Run
winecfg
command and select Windows 7 version. - Download the Google Chrome installer
.exe
for Windows. - Install it with
wine <path_to_installer.exe>
, this will create a launcher in~/.local/share/applications/wine/Programs/Google Chrome.desktop
. - [Fix] Apart from the Chrome instance, Wine will run in the background also the
ChromeUpdate.exe
, so to disable this simply rename~/.wine/dosdevices/c:/Program Files (x86)/Google/Update/GoogleUpdate.exe
in~/.wine/dosdevices/c:/Program Files (x86)/Google/Update/GoogleUpdateBAK.exe
and restart. - Launch the Wine version of Google Chrome and search for Netflix/Amazon Prime Video.
- Create a shortcut for Netflix/Amazon Prime Video from Chrome Menu → Other tools → Create shortcut, this will create a launcher for such sites in
~/.local/share/applications/wine/Programs/Chrome Applications/<shortcut_launcher>.desktop
. - [Fix] The audio will be crackling, to fix this open the desktop file and add
PULSE_LATENCY_MSEC=60
at the start of theExec=
section. - Simply execute the desktop files!