* feat: migrate to internal dependency (@deezer-community/discord-rpc); add small improvements
* chore(patch): change package name in old comment
* chore(patch): bump discord-rpc dependency version to 1.0.4 (license change+exact version)
This is an improvement over #107, to make the application entirely responsive (up t a certain point, but which should not be encountered even on mobile).
Most changes are either very small or only permit a seamless compatibility with low-width displays; the three only "big" changes happening are:
- under 800 pixels wide, the bottom playing bar elements see their relative width change a bit, to allow give enough space for the song name and player control, without having a big blank space on the right
- under 950 pixels wide, the queue tracks list has less margin, to allow to fit way more of the song names
- under 750 pixels wide, the current song's cover and name is hidden from the left of the queue tracks list: this permits to continue fitting the content, and this information is redundant anyway as it is show on the bottom playing bar already
This stops the excessive logging, since parts of the app will not run in development
mode anymore. It also stops the app from logging the urls for the mp3 files, which is
against the Deezer TOS.
Fixes: https://github.com/aunetx/deezer-linux/issues/10
The application sends the kernel version as part of the User-Agent.
However, the Deezer API seems to assume the number to follow semver,
and can get confused when it doesn't. This then leads to some features
like dark mode being reported as unavailable.
e.g: 5.11.0-16-generic works, while 5.15.14-200.fc35.x86_64 doesn't.
The solution is to ignore the actual version and send bogus data that
is known to work.
Fixes: https://github.com/aunetx/deezer-linux/issues/6