clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
522 stars 29 forks source link

Music application does not see music (MP3) #727

Open nsauzede opened 5 years ago

nsauzede commented 5 years ago

When I open up the "Music" application (Hey DJ), It says : "The contents of your music Music folder will appear here." But nothing appears, even when I put eg: one MP3 file in ~/Music If I double-click on the said MP3 file from file manager however, the file plays fine (in 'Videos" application )

amygilliam1 commented 5 years ago

We should consider removing this in favor of audacious.

lebensterben commented 5 years ago

Well, in the /usr/share/application/mimeinfo.cache file, there are the following lines

audio/mp3=vlc.desktop;org.gnome.Totem.desktop;
audio/x-mp3=vlc.desktop;org.gnome.Totem.desktop;

Both audio/mp3 and audio/x-mp3 are alias to audio/mpeg, whose mime-type file is available at /usr/share/mime/audio/mpeg.xml. And it has other alias as audio/x-mpg and audio/x-mpeg. It matches any files with extension mp3 and mpga.

I've checked the desktop files for org.gnome.Music.desktop, vlc.desktop, and org.gnome.Totem.desktop, and the latter two has defined their MimeType, which contains the aforementioned five types formp3`.

I've tried to add the MimeType into the desktop file for Music, but it still doesn't work.