Hi! Thanks for your future help! Here's my problem: For now the default app used when I click on "Ecouter de la musique" is Rhythmbox but I want to use spotify instead. Do you know a way to do this? Thanks guys!

Settings...Details...Default applications

Sorry, I wasn't at home. So I tried this, but It didn't change the app. Moreover, spotify isn't in the list. There are only GNOME Mpv and rythmbox. I set it to gnome mpv but it still open rythmbox. So I think it's not the way it should be done. Thanks for your future help!

Is there a way to maybe change the code?
EDIT: Kind of a newbie question ^^
EDIT 2: I read spotify is using OGG Vorbis in order to play th songs. Is it the same?

    Getta91 Is there a way to maybe change the code?

    No, it's a proprietary application. You can't set it because Spotify isn't a file handler for local files.

    Ok I guess, I can't do it. Thanks for your help guys, keep doing good work! ^^

    sudo gedit /usr/share/applications/mimeinfo.cache

    search the line that starts with audio/x-vorbis=

    add spotify.desktop to the list; e.g. audio/x-vorbis=spotify.desktop;vlc.desktop;rhythmbox.desktop;io.github.GnomeMpv.desktop;

    Enter Settings->Details->Default Applications

    Choose Spotify for music, log out, log back in again, voilá

    edit: Note that this is a hack, and opening actual .ogg files with Spotify doesn't work, so only use this if you're aware of the consequences

    It is working very great! I am very thankful.