Giter Club home page Giter Club logo

deezer's Introduction

Deezer Arch Linux package

These files are build instructions for the Arch Linux build system how to create an installable Deezer package for the desktop application. However, the patches are not specific to Archlinux, and can be used for other Linux environments.

For Windows, Deezer distributes a version of the Electron run time (Windows binary) and the source code of their application itself. The build process of this package extracts the application source from the Windows installer.

This package applies several patches for:

  • Compatability with newer Electron versions
  • Compatability with a Linux environment in general.
  • Fixing bugs

To install on Arch Linux, use your favourite AUR helper or build manually with:

git clone https://github.com/SibrenVasse/deezer
cd deezer
makepkg -si

Debugging

Running the application from the commandline will show verbose logging.

deezer

To run the application with devtools by running

env DZ_DEVTOOLS=yes electron13 /usr/share/deezer/app.asar

To debug node, you can extract the source files to a directory and inspect the node process by attaching using the chromium debugging tools. (https://www.electronjs.org/docs/tutorial/debugging-main-process)

asar extract /usr/share/deezer/app.asar $dest
electron13 --inspect-brk=$port $dest

deezer's People

Contributors

ilyagulya avatar sibrenvasse avatar siphomateke 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

Watchers

 avatar  avatar  avatar  avatar  avatar

deezer's Issues

Application cache sharing with macOS works only some times

I have a symlink

~/.config/deezer-desktop -> /Volumes/Storage/Music/deezer-desktop

Where Storage is exfat partition that I use to share data with Windows and macOS. I have a lot of music cached in this dir, from macOS. But very often deezer just crash without any message to console. So I need to purge this symlink and use a separate cache for Linux.

crashing problem

i cannot scroll down , as soon as i scroll it will crush immediately

Media buttons stopped working recently

Hi Sibren,
In the most recent update, the media controls are no longer working. The application doesn't even get recognized by the Media Player widget or any other system module that is related to media player functions.
One other thing is, the cover arts used to work before, and they are gone too.
For your information.

Kind regards!

default value of desktop notifications

First, thanks for the great app !

I updated Deezer recently (using Majarro) and I had to re-enable the desktop notifications in "App Preferences".
After that, it worked like before : each new song would trigger a notification. Swell !

Here are my questions:

  1. did the default value of desktop notifications change recently ?
  2. is it intentional to disable the desktop notifications by default ?

"Your computer seems to be offline. We'll keep trying to reconnect" even though internet is available

Hi, I have an issue where Deezer will show the message seen in the image below, even though I have internet connectivity and can also play songs.
This happens because I route all my traffic through AdGuard, and it seems to block some analytics done by Deezer (at least I think).
Of course, this is not a big problem at all, it just triggers me a little. If it is possible to somehow suppress this, it would be wonderful if there was an option, if not, no big deal.

Screenshot_2022 08 09_20:07:30

error running install script

Hi,

running the install.sh I get an error message an it stops wating on input:

"npm WARN enoent ENOENT: no such file or directory, open '/home/peter/bin/deezer-mpris/npm_temp/package.json'
npm WARN npm_temp No description
npm WARN npm_temp No repository field.
npm WARN npm_temp No README data
npm WARN npm_temp No license field.
prettier requires at least version 10.13.0 of Node, please upgrade
prettier requires at least version 10.13.0 of Node, please upgrade
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:

|diff --git a/build/main.js b/build/main.js
|index a229f52..0f1955b 100644
|--- a/build/main.js
|+++ b/build/main.js

File to patch:"

Minimize to tray

Hello,
The window does not behave as it should regarding minimizing and tray icon feature.
The application shuts down when clicked on close button instead of minimizing to tray icon.
In an ideal world, the application should minimize to tray icon instead of shutting down when clicked on the close button, and when tray icon is double-clicked it should restore the window.

Is it possible to fix?
Thank you very much for your time!

[feature reqest]

first, I don't know if it's technically possible. I am not able to do this in code because I am not a developper.
But i have thought that may be it's possible to advice the user of the app that the support of this app is not official and may be they want to vote and comment in the idea of deezer community so we can "make " some noise to get developpers to make a native Linux deezer app.
Something like:
" this package is not official and it's not supported by deezer, may be you cant to vote and comment to give the Linux app some support"
https://en.deezercommunity.com/got-an-idea-50/linux-needs-a-native-client-for-deezer-856
Each time the deezer app is open the message pops up, after this there will be a checkbox that we can uncheck so each startup is not disturbing us. At least we can " publicity" the topic and we "maybe" can get the native Linux official support we merecly.

Retina screen issue

Using the GNOME with Wayland I got issue when moving the electron app to scaled screen, it shows px-to-px fit render, which was fixed in the electron 15. Or maybe there is some flags to start and work properly with DPI change. I did not find on my own, so create the issue, maybe someone knows better and has a cure.

Option to disable systray - as in aunetx's Fork

Hey! I am using the Flatpak version from aunetx on the basis of your work.
I asked there about an option to disable the systray functionality, as it can be irritating on environments without a systray like GNOME and personally, I just prefer to not have Deezer in systray :)
This was done through this patch which provides --disable-systray as a launch option. This works perfectly for me and maybe would also benefit users of your AUR version?

Thanks for your work on Deezer!

Error building in archlinux

Hi, i have a issue, do you have any idea where it could come from?
On Archlinux with i3 :

> git clone https://github.com/SibrenVasse/deezer
> cd deezer
> makepkg -si
==> Making package: deezer 5.30.280-1 (Mon 04 Jul 2022 05:50:10 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading deezer-5.30.280-setup.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 72.5M  100 72.5M    0     0  71.6M      0  0:00:01  0:00:01 --:--:--  113M
  -> Found deezer.desktop
  -> Found deezer
  -> Found remove-kernel-version-from-user-agent.patch
  -> Found avoid-change-default-texthtml-mime-type.patch
  -> Found fix-isDev-usage.patch
  -> Found start-hidden-in-tray.patch
  -> Found quit.patch
==> Validating source files with sha256sums...
    deezer-5.30.280-setup.exe ... Passed
    deezer.desktop ... Passed
    deezer ... Passed
    remove-kernel-version-from-user-agent.patch ... Passed
    avoid-change-default-texthtml-mime-type.patch ... Passed
    fix-isDev-usage.patch ... Passed
    start-hidden-in-tray.patch ... Passed
    quit.patch ... Passed
==> Extracting sources...
  -> Extracting deezer-5.30.280-setup.exe with bsdtar
==> Starting prepare()...
build/main.js 441ms
build/preload.js 79ms
build/renderer.js 42ms
build/service-worker.js 2ms
build/titlebar.js 22ms
Applying patch remove-kernel-version-from-user-agent.patch...
patching file build/main.js
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file build/main.js.rej
patching file build/preload.js
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file build/preload.js.rej
patching file build/renderer.js
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file build/renderer.js.rej
patching file build/titlebar.js
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file build/titlebar.js.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

Systray App Name

Is it possible to change the application name as it appears in systray?

Screenshot_20190821_180727

Possible to run two instances ?

Hi,

Thanks again for this wonderful port that the whole Deezer team could just not make in years !

Just a quick question here :

What would it take to have the possibility of two instances installed (with completely separate config/cache/offline folders) and running at the same time ?

Do you think I can just modify the installation paths to have two binaries and two "config" folders ? or might something else prevent them from running at the same time (at the moment if I launch a second instance, it is immediately closed) .

Use case is for cheap party djing (ish !)

Best regards

Cannot move song in playlist

When moving a song in a playlist, using drag and drop, the song appear to be moved but cannot be clicked on its new position. If I exit the playlist and load it again, the song is back in its original position.

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.