Code Monkey home page Code Monkey logo

deezer-linux's People

Contributors

adynemo avatar aunetx avatar mimillieuh avatar naturehog avatar stolld avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deezer-linux's Issues

Can't resize the window with the keyboard shortcuts

Would it be possible to allow the resize of the window using the keyboards shortcuts super + left / super + right ?
And I guess these 2 issues are related, so would it be possible to resize the window to at least half the screen width ? It's a bit annoying that the window is always 10-20px above the window next to it.

latest release doesn't start in wayland

First of all, thanks for working on this. I really hope it sparks interest on deezer for official support to your efforts!

i've been using previous releases of the package with sway, as a wayland app via the invocation:

           deezer-desktop -enable-features=UseOzonePlatform  -ozone-platform=wayland

this has been working without any issues up until the latest (v5.30.160-5) release (i'm on debian unstable, using the .deb you provide). but after upgrading, i get instead this error on startup:

          12471 Illegal instruction

any ideas? thanks!

Outdated version

The latest version of the Windows application on the Deezer website is 5.30.330, whereas the latest version here is 5.30.220:

image

Though I can't say for certain, it seems that the application being out of date has finally caught up with it, because logging into the desktop application simply doesn't work as of today, whereas logging into the website works just fine:

2022-09-26.09-59-03.mp4

Inconsistent systray Icons on Gnome

I currently use "AppIndicator and KStatusNotifierItem Support" to show System Tray Icons on gnome.
When installing the app not with Flatpak (I tested the .rpm, .appimage and .tar.xz) the tray shows up correctly, with no black sqare background and the right click menu implements nicely with Gnome. But only the "open Deezer" and "close Deezer" buttons work on my end. The buttons not working has been reported in this bug.
image

When installing the app as a Flatpak the icon has a black background and the right click menu doesn't adapt to the system theme. But ALL the buttons do work. (It doesn't adapt theme in KDE either.) I think that this different menu results in this bug in which a new "correct style" window will be implemented.
image

Last.Fm integration

While the desktop version has the Last.Fm setting :

image

I thought it would be automatically integrated with this desktop version, but tracks are not scrobbled.

I don't know if it's something that could be integrated in the future, considering the setting does not appear in the desktop app :

image

Anyway, thanks a lot for your work !

Prevent disabling the screensaver

Hey!

I've noticed the screensaver is disabled while playing. This is dangerous as it can prevent screen locking to work properly. I think this can be disabled by removing this piece of code (or making it conditional?):

    PlayerIpc_ipc.on(
      "channel-player-state-update",
      external_lodash_debounce_default()((event, state) => {
        media.setPlayerInfo({ state }),
          state === MediaPlayerState.Playing
            ? powerSave.start()
            : powerSave.stop();
      }, 3e3)
    ),

Deezer Cache Location?

Hello! Thanks so much for creating this project. Without it, I don't think I could have switched to Deezer from Spotify.

I've been having trouble with the "Flow" playlist. Sometimes it plays the same songs repeatedly. Some times it doesn't work at all. Deezer forums and support have indicated this might be a cache issue, but when using the Flatpak Deezer, I can't locate the cache at all. Visiting Profile -> Account Settings -> More -> App Preferences, it indicates that Deezer is not using any cache:

image

I'm not sure if there isn't a cache, or if the Flatpak just can't see it. Either way, that seems like it could be causing my potential problems. Where on the disk is the cache supposed to be stored?

Duplicate appindicator - Flatpak on Pop_OS

Hi there,
I've noted that after some time using the app it shows a second icon on topbar (screenshot attached)
Closing the application and opening again it shows one again, after some time, happen again.

*** The duplicate icon is the icon that has 3 dots to the left of the heart and it works like the heart icon ***

Pop!_OS 22.04 LTS
Gnome 42.9
X11
Flatpak 1.14.4
Deezer 6.0.60-1

Screenshot from 2024-02-17 20-00-14

Custom download directory

Hello,
Im on a Steam Deck and only have 64go of storage. However I got a sd card of 500go.
Is there any way of modifying where the music download?

Ive already try to add an extra directory on FlatPack however I can't because I can't modify the config file even in SUDO !

So yeah, and I need to have this setup for saturday...

Thanks to anyone trying to help me.

Flatpak xdg-open not working

Hello,

I'm using Deepin Linux 20.6 and installed Deezer from Flatpak, but I can't login at app.

When I click at login, it opens my browser at Deezer login page but after I successfully provides my credentials the xdg-open action seems to do nothing.

I had to run it through terminal using the following command for it to login successfully (similar to AppImage):

flatpak run dev.aunetx.deezer deezer://autolog/...

Loosing ability to play or skip next track after a short while.

I am finding that after a few tracks in a playlist or album the app will stop playing any further tracks or allow me to skip forward (or back).
I can still play the same song again.
This in particular happens after the application is left in the background (window closed), but also happens with the window open too.
If I click on a different track to play, the name gets updated in the bottom bar, but still only allows the previous song the app is stuck on to play.
Happens with both the latest (v5.30.220-2) flatpak and deb, I am using Mint 20.03, fully updated.
Issue is repeatable on a clean install of the same version of Mint on a separate machine.
Let me know if you need further info :)

Can't connect with AppImage

Hello, im using Archlinux,

$ ./deezer-desktop-5.30.350-x86_64.AppImage deezer://autolog/...
Im on page login

Connexion problem

I just installed the app, but when I try to connect on the my web browser the app doesn't detect my connection.

(Some) Systray controls not working (AppImage)

Hi ! Thanks a lot for the port. I'm currently using it as AppImage (v5.30.100) on Linux Mint XFCE and everything seems to be working perfectly fine except for the PLAY/PAUSE // PREVIOUS // NEXT systray controls - they do nothing at all. On the other hand, OPEN when minimized and QUIT controls are perfectly working.
Not a big deal but I thought it was maybe worthy to be reported.

unable to log in

Hello
Since upgrading to the latest version of the application, I can't connect. When I start the application, I click on the connect button. My browser connects to Deezer. Then I go back to the application, and it displays the message asking me to connect again. I get stuck on the login screen.
Capture d’écran du 2023-11-27 10-44-29
I tried to uninstall the application and install it again, but it didn't work. I tried logging out from my browser so I'd need to re-enter my login details, but without success either. I use Firefox as browaser. I'm in ZorinOS 16.3. Before the latest update (v6.0.10-1) I'd never had this problem.
Thanks for your help

Limited to 320Kb/s an cannot favorite albums

This seems to be an issue while on Fedora. It worked fine on Ubuntu, but flatpak, appimage, and .rpm files do not fix the issue. Not sure how much of this involves something you can fix. Just thought I'd mention it and thank you for the work.

Flatpak Folder Permissions

By default the deezer flatpak has access to the pictures, download and music folder.
I removed these permissions using Flatseal before first launching the app and it works just fine without these permissions.

Any insight as to why these permissions are given by default?
It is a privacy concern and doesn't seem necessary.

On that point, is 'inter process communication' permission necessary?

Deb package doesn't seem to support mp3 uploads

Hi there and thanks for this wonderful software!

There seems to be an issue with uploading custom tracks using the deb package (I'm on kubuntu 22.04.3). Side note: I actually tried to use the flatpak version first, but it wasn't able to work with Firefox to login.

Whenever I go to: My account (click username) -> My MP3s -> Select MP3s to upload, I get the file chooser and I can select the contents of my music folder, but when I press "open" nothing happens. No logged error messages, no GUI error messages, nothing. Playing around with the permissions makes no difference.

Though I believe it's unrelated, when I startup the deb app I get the following warning:

(deezer-desktop:1645059): dbind-WARNING **: 14:20:28.310: Couldn't connect to accessibility bus: Failed to connect to socket /home/X/.cache/at-spi/bus_0: Permission denied

Media Keys not working (Ubuntu, .deb file)

Hey !

Just started using this app today, you're a godsend for building it ! The fact that Deezer still doesn't have official Linux support is really sad...

App is working really well, didn't try the offline features yet, but I can already tell you that media keys (Razer Blackwidow Elite) do not work (they work when using Deezer in the browser), neither do the controls from the app tray.
Although the controls in the notification center do (I'm using them for the moment to play/pause and switch tracks)

I'm using the latest release installed from a .deb file (deezer-desktop_5.30.220_amd64.deb) on Ubuntu 20.04.4.

Let me know if you need anything to debug :)

Publish to flathub

That makes app more advertised and simpler to install: for example all "flathub enabled distros" I used (Mint, Fedora) have flathub enabled by default, so in case of F38 + Gnome, the software app would immediately show it, no CLI needed.

New icon

Deezer has a new logo, so the icon for this app should probably be updated to match?

Here is attached the icon used in the macOS version (as a 1024px PNG):

Deezer

"Flow: play how you feel" not working

Deezer has a new feature "Flow: play how you feel":
image
which is not working. The icons are shown as generic albums and the play button does nothing:
image

The songs are no longer displayed as a notification

Hi,
At least personally, I liked a lot that Deezer announced which song started. But in the latest v5.30.650-1, it no longer comes. I haven't been able to find out if it's a deezer alignment or a Linux bug, does anyone know which one it is?

Album in track metadata is empty

I try to get metadata with playerctl, there is song title and artist, but album stays empty.

playerctl metadata
chromium xesam:album               
chromium xesam:artist              Some Artist
chromium xesam:title               Some Title

As I have seen it is processed here in renderer.js:

                  track = {
                    title:
                      song.SNG_TITLE ||
                      song.LIVESTREAM_TITLE ||
                      song.EPISODE_TITLE ||
                      "",
                    artist:
                      song.ART_NAME ||
                      song.LIVESTREAM_TITLE ||
                      song.SHOW_NAME ||
                      "",
                    album: song.ALB_TITLE,
                    coverUrl: defaultCover,
                  },

Any idea how to solve? Note that I have compiled from source, but I don't have experience in js or node.

AppImage does not work yet

The appimage version searches for a systray icon, which does not exists in its directory.

Possible solutions:

  • find a workaround which works for appimage (eg force adding the image to the appimage archive after build)
  • patch deezer so that it does not search for this path, and add the image to the assets folder

Option to disable systray?

As a suggestion, I would find it very nice to have the option to disable minimize-to-systray or even better to disable the systray functionality completely. Especially on GNOME, where there is no systray by default, it is annoying to have deezer running in the background.
Or is there maybe some workaround to disable it?

In any case: Thank you for your work on this! :)

Deezer app is modifying MIME html to be associated with it

Hello,

Deezer when it is launched is modifying the file ~/.config/mimeapps.list as follows:

[Default Applications]
text/tab-separated-values=rstudio.desktop
text/plain=rstudio.desktop
text/html=deezer-desktop.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
application/xhtml+xml=firefox.desktop
x-scheme-handler/dzr=deezer-desktop.desktop
x-scheme-handler/deezer=deezer-desktop.desktop

the culprit is this line text/html=deezer-desktop.desktop.
Then any HTML files I open goes into deezer and of course does not display.

If I manually replaced by text/html=firefox.desktop
HTML files are again opened by FF.

Put if I close deezer and later opened it, the mime text/html is again associated to Deezer.

Do you know why this is happening?

Thanks!

Ubuntu 21.10 with Wayland
GNOME 40.4.0
deezer 5.30.170 install via .deb and apt

Update the runtimes

While we are at it (#39), could you update the runtimes as well?

It uses 21.08, and is the only flatpak app that uses that old runtimes, everything else moved to newer 22,08

Can't put the app in favorite

image
The icon in the app bar does not offer "Add to favorites" option, so I can't launch it from there, I have to search for it in all applications.
e.g. for a standard file icon:
image

App worked fine, but I can't connect to my account anymore

Hi
Firstly, thank you so much for this app, it's very nice
Also, my english isn't good, I do my best and don't use a translator of any kind, so I'm sorry if what I say is hard to understand.

So as I said in the title, the app worked perfectly at first, I was so glad to finally find a good Deezer app for linux, without having to use Wine (which was a terrible idea). So, I'm happy, i start the music, start the download of all my favorites song (!!!!), and then go to sleep.
When I woke up, the music was still playing, but I had a warning about the available space on my drive, and I don't know what I did but the app closed. So, I was like "ah yeah, if there is no more space on the drive it's because I downloaded the songs, I will reopen the app and delete them". I couldn't.
The app would only show me a connection page from now on, and when I try to connect it just wouldn't work. The redirection to the browser work, the redirection from the browser to the app kind of work, but all it does is blank then back again to the connection page. I obviously uninstalled the app, and installed it again, but the issue was still the same.

I only tried the deb version for now, because I usually prefer using debs. I will try using another version, (either an older deb or the flatpak version), but still I wanted to report to you this weird issue, maybe you'll have an idea of what to do to fix it.

I'm on Ubuntu 22.04.2 LTS with GNOME 42.5, on Wayland. I'm not used to reporting issues so if I forgot to give any important information please tell me.

Again I'm sorry for my english. I wish you a great day

image

How this works?

How this works? This isn't just Electron wrap for Deezer Web, this is a port of Deezer Windows to Linux, but it's closed source. And this doesn't use Wine? So how?

Doesn't have dark mode

Is it normal that I can't find the dark mode option? will it be available in a future?

New features for Systray Icons

In the flatpak.ref the Systray Icon is only shown after suspend.
Additionally it would be nice to give the systray a deezer logo.
And lastly it would be nice to have options inside the app to change settings on systray-behaviour (if that is possible from your side?)

After closing the main window, Deezer does not stay in the tray

After installing v5.30.220-1, the main window when closed quits the whole app (it does not stay in the tray). The tray icon is present and works if the app is open. In v5.30.210-1 after closing the main window Deezer stayed in the tray and played music.

I didn't find a way how to change the behavior back as it was in v5.30.210-1 in settings or by a command line parameter.

Workaround: revert to v5.30.210-1.

Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Kernel Version: 5.17.0-5.1-liquorix-amd64 (64-bit)
Graphics Platform: X11

Add final Flatpak support

Flatpak is still not well finished.

Last steps would be:

  • upload the repo to github pages to have it available publicly
  • update automatically the repo by github actions
  • pack a flatpak ref
  • upload to flathub
  • add MPRIS support (may need to add a patch, does not work anymore even with system-wide installation...)

App doesn't recognize login successful from browser.

When I click on "Log In" in the app a tab is opened in my browser (firefox) and I login successfully. The browser pages shows
"Authentication. You're In".

The app still shows the "Log In" page. Nothing I do gets the app to recognize that I have logged in.

Steps to repro:
tar xf deezer-desktop-6.0.60-x64.tar.xz
cd deezer-desktop-6.0.60-x64
./deezer-desktop
Login on the page which pops up in the browser

app does not recognize I am logged in.

I am running Fedora 39 with the xfce4 desktop.

Lot of debug outputs

Hey!

I am running the Flatpak version and the app is quite verbose with many log lines like 23:24:01.470 (main/debug) › Added response headers for https://e-cdnt-proxy-4.dzcdn.net. This is logged in the ~/.xsession-errors file in my case. Is it possible to disable debug logs?

Why you don't make own client with the Deezer API?

Hey, I don't want to belittle your work or anything, but why you doing this and not your own client with the Deezer API? Of course, Deezer Windows porting is also important, it brings the Deezer (almost) official app to Linux, but still Deezer to Linux has been wanted for years and I can't understand why no one just makes client for Linux with the Deezer API, something like Spot? Or doesn't Deezer's API allow this? https://developers.deezer.com/api, https://developers.deezer.com/

too much of a cpu hog

Hi,

So if I've analyzed this correctly, you've packed a more or less recent chrome version and then activate the app installation option for a webpage correct?
There seem to be some ressources hog on this. deezer consomes way less in firefox or chrome natively even with a 15 protection addons than into the package you've achieved to do.
I'm basing my assumption on some tests I've run on the low-end device intel Y-series (so that it can be the more visible). The cpu with your package, needs to consume like 30% of the cpu and so the thermal control kicks in to reduce the cpu boost downing it from 3.2 to 2.5Ghz and even lower if it comes in conflict with a security software like portmaster for example. Where in counter part running it into firefox with all my addons or chrome touches barely the cpu.
Did you modify something else to make the package work? Or add anything ?

Flow not shown in app

Since today the 1st row where Flow is is not shown to me in the App, first row is "Your Favorite Artists".

When I go directly to deezer.com as logged in user, the Deezer UI looks "normal", Flow is there and "Your Favorite Artists" is 2nd row..

How come? How to listen to Flow in this app?

Missing launcher icon and app indicator

When installing the package from Flathub, the application shows up fine but without an icon.

I'm also not seeing the tray icon, but I'm not sure if that's related to this. Waybar's tray is still in beta so maybe it's a bug there.

Other apps installed through flatpak, like Discord and Spotify, don't have any of these issues.

Using Fedora 39 Sway under Wayland.

Build deb file

Running installation commands like described returns an error.

$ make install_deps

added 17 packages, and audited 18 packages in 3s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities

added 1 package, and audited 19 packages in 823ms

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Download installer
2022-08-03 19:45:22 URL:https://e-cdn-content.dzcdn.net/builds/deezer-desktop/8cF2rAuKxLcU1oMDmCYm8Uiqe19Ql0HTySLssdzLkQ9ZWHuDTp2JBtQOvdrFzWPA/win32/x86/5.30.220/DeezerDesktopSetup_5.30.220.exe [77848448/77848448] -> "source/deezer-setup-5.30.220.exe" [1]
Extract app archive from installer
/bin/sh: 1: 7z: not found
make: *** [Makefile:19: prepare] Error 127

Then when I try to run make build_deb returns an error "Command 'build-deb' not found." I'm on Ubuntu 20.04 LTS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.