-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release: Deezer v7 #95
base: master
Are you sure you want to change the base?
Conversation
Some patches fail to be applied when node_modules are not already installed. Skipping patches for now.. |
Output of vainfo: $ vainfo
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.0 () |
MVP: it works! 🥳 Now, I will bring back the necessary plugins - some of them are useless I believe (smn double check please) |
(@aunetx) @randshell @asyd could you review? Also, this deprecates any work on v6.x.x |
@josselinonduty thanks for the PR! Mind to test if MPRIS is working fine? (you can test with |
I checked it was working based on the mpris desktop 'notification' (on ubuntu 24 / gnome 46 there is a persistent notification displaying the current track as well as the controls). Anyway, here is the output of signal time=<timestamp> sender=:1.197 -> destination=(null destination) serial=10658 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "org.mpris.MediaPlayer2.Player"
array [
dict entry(
string "Metadata"
variant array [
dict entry(
string "mpris:artUrl"
variant string "file:///tmp/.org.chromium.Chromium.<uid>"
)
dict entry(
string "mpris:length"
variant int64 199000000
)
dict entry(
string "mpris:trackid"
variant object path "/org/chromium/MediaPlayer2/TrackList/<trackid>"
)
dict entry(
string "xesam:album"
variant string "<album>"
)
dict entry(
string "xesam:artist"
variant array [
string "<artist>"
]
)
dict entry(
string "xesam:title"
variant string "<title>"
)
]
)
] |
the Thanks for your work! |
What do you expect the url to look like? |
Greetings I was able to build and run this on fedora. The discord rpc, mpris all worked for me. The ArtUrl is just an url linking to a image. Your file shows a path on your computer. It is correct on my end though. I made a patch that is probably not worth mentioning (I could not apply the patches without adding --fuzz and fixed some semantics):
Edit: the markdown formatting is killing me 😠 |
Something like:
|
Good idea! However, why would you create a patch for that?
I believe that fuzzing can be somehow unreliable, so I personally advocate a real script update especially for a major release. |
@josselinonduty stupid question, how do you patch it on your pc? I think it creates the package.json and lockfile dynamically when running make install_deps. Also I messed up, because of markdown the ` disappeared. They should all be removed since it results into an error.
|
Edit: Actually, I read your message too quickly. I thought you wanted to change Deezer's deps after install_deps. Note: I am working on creating some docs and scripts to make patching more clear and easy. |
Co-Authored-By: Meincrakker <[email protected]>
Alright, I would argue that In fact, I checked the changelog for electron v32 -> v33. They updated V8 engine to v13.0.0 which must have broken the api used by There are 3 solutions for me:
I don't think solution 1 would be a good idea. I'd go for 3 (for now), but I figured out @asyd really loves mpris ;) (I agree it is nice to control deezer from cli and such) so you may want to fork and update abstract-worker/mpris-service if it is reasonable. |
reverting PR to draft until we agree on a solution to the previous problem |
hey! Big new update incoming, I see. 🙂 I didn't have the chance to test it properly, but the code LGTM. I'd just ask you about the removal of As a side note, I still have issue #70, but if I'm the only one affected by it then I'm not sure what's the problem. |
I am trying again for user-agent patch. For your issue #70, it is probably because you have a free plan (https://www.deezer.com/offers), which does not offer high fidelity audio. |
Would this do as a dummy os ? var __module_os = require("os");
__module_os.release = () => "10.0.26100.2894";
__module_os.version = () => ""
__module_os.platform = () => "win32";
__module_os.type = () => "Windows_NT";
module.exports = __module_os; |
I had the Hi-Fi plan back then when I opened the issue, only now I got downgraded. Also, it wouldn't explain the complete disappearance of the dark mode.
I think leaving it to Linux would be better, perhaps they we'll have an official version if they keep seeing Linux UA rather than if we were to fake a Windows install. Actually, it looks from the old UA patch that it's exactly the UA that plays an important role in enabling some features or not, including dark mode. Have you had any chance to test this on Fedora 41? Perhaps this patch silently broke and this is why I'm seeing #70. From the patch by Dorian Stoll:
In fact, I have PS. Thanks @StollD for documenting this! |
Bumps deezer version to 7.x.x.
Removed: isDev (was included in updated codebase), AutoUpdater[1]
Closes #94
[1]: AutoUpdater might be fixable. We need to find a "platformVersion" variable that is used by semver/autoupdater, and then fake an api call (
https://www.deezer.com/desktop/update?userId=1234¤tVersion=7.0.1&architecture=x64&platform=win32&platformVersion=<???>
). However, since we only update the linux port through github/flatpak/anything but deezer, I think we do not care about this. Please let me know if you disagree.