Commit Graph

3 Commits

Author SHA1 Message Date
Dorian Stoll a558fab9d6 Fix isDev() usage
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
2022-02-05 07:14:19 +01:00
Dorian Stoll ce853cc4a6 Remove kernel version from User-Agent
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
2022-01-29 14:31:38 +01:00
aunetx 77730bae29 Update makefile 2021-10-13 00:14:07 +02:00