mirkobrombin / Amusiz

An Amazon Music client for Linux (unpretentious)
https://snapcraft.io/Amusiz
GNU General Public License v3.0
30 stars 6 forks source link

WebKit does not support Amazon Music #6

Closed Suzie97 closed 3 years ago

Suzie97 commented 3 years ago

When I logged in with my amazon account, amazon displayed me a message asking to download chrome or firefox.

mirkobrombin commented 3 years ago

Are you using the AUR version?

Suzie97 commented 3 years ago

No I'm using the app image on elementary OS 6 beta 2

mirkobrombin commented 3 years ago

The Appimage Is broken, I'm working on it. You should build with meson and install all the requiree gstream plugins.

Suzie97 commented 3 years ago

I built it from source. But the app does not run. Is it that I'm missing the gstream plugins you mentioned? If so, how do I get them?

mirkobrombin commented 3 years ago

I built it from source. But the app does not run. Is it that I'm missing the gstream plugins you mentioned? If so, how do I get them?

What error does it show you? Run amusiz from the terminal post the output.

Suzie97 commented 3 years ago

I built it from source. But the app does not run. Is it that I'm missing the gstream plugins you mentioned? If so, how do I get them?

What error does it show you? Run amusiz from the terminal post the output.

Is the file inside build/src/amusiz the executable?

mirkobrombin commented 3 years ago

I built it from source. But the app does not run. Is it that I'm missing the gstream plugins you mentioned? If so, how do I get them?

What error does it show you? Run amusiz from the terminal post the output.

Is the file inside build/src/amusiz the executable?

No, you have to compile Amusiz so that you have the amusiz command and the desktop entry in the menu.

git clone https://github.com/mirkobrombin/Amusiz.git
cd Amusiz
meson build
cd build
ninja
sudo ninja install
amusiz
Suzie97 commented 3 years ago
Traceback (most recent call last):
  File "/usr/bin/amusiz", line 56, in <module>
    from amusiz import main
  File "/usr/share/amusiz/amusiz/main.py", line 24, in <module>
    gi.require_version('WebKit2', '4.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace WebKit2 not available
mirkobrombin commented 3 years ago
Traceback (most recent call last):
  File "/usr/bin/amusiz", line 56, in <module>
    from amusiz import main
  File "/usr/share/amusiz/amusiz/main.py", line 24, in <module>
    gi.require_version('WebKit2', '4.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace WebKit2 not available

You are missing some dependencies:

- libwebkit2gtk-4.0
- gir1.2-gtk-3.0
- gir1.2-handy-1
- gir1.2-notify-0.7
- gir1.2-webkit2-4.0
- libgstreamer1.0-0
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-libav
- gstreamer1.0-alsa
- gstreamer1.0-pulseaudio
Suzie97 commented 3 years ago

Can you list these in the readme?

mirkobrombin commented 3 years ago

Can you list these in the readme?

https://github.com/mirkobrombin/Amusiz/commit/7610ab1f5e8e940d1b9fb1da052e59754069b6cd

mirkobrombin commented 3 years ago

Hi, if the problem is solved, I close the issue. PS. There is also a new Appimage (from the unstable release) that should also works on Ubuntu based distributions.

Suzie97 commented 3 years ago

Sorry, I haven't tested it out yet, I'll notify you

Suzie97 commented 3 years ago

The .appimage still does not work, I get the log in screen once, but the app crashes when I try to input my password.

mirkobrombin commented 3 years ago

The .appimage still does not work, I get the log in screen once, but the app crashes when I try to input my password.

This seems a different error. Are you using this release?

Also, is it working building from source?