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

The search reloads the website #4

Closed saveli closed 3 years ago

saveli commented 3 years ago

Using the search bar stops the current playing song, resets it to the beginning, and shows the login animation (amazon music logo fading in and out) in the center view. Both interrupting listening to music and being able to use the center view for the duration of the animation, roughly 3 seconds.

mirkobrombin commented 3 years ago

The search actually opens a new link and the "workflow" is that of Amazon Music, not Amusiz. What I can try to do is inject a js script to take advantage of the site search instead of changing url.

This IS NOT A NICE WAY, it is an Amazon product tamper but it may be the only solution. I'll think about it and see if I can implement it.

saveli commented 3 years ago

This is weird, since in the web version I don't have these problems/interrupts.

mirkobrombin commented 3 years ago

This is weird, since in the web version I don't have these problems/interrupts.

As the website uses a js function to get the results. We change the uri with the search terms.