Music stored on samba sharing is not recognized
Created by: natale-p
• Lollypop version: 0.9.230 • Gtk Version: 3.22.10 • Linux distribution: Archlinux
I have my music directory as a samba shared folder on my local network. I mount it with the following command:
sudo mount.cifs //192.168.1.36/Music ~/Music -o user=nat
and therefore I have my collection accessible to the user nat (read and write).
Now, if I run Lollypop (which I find wonderful, compared with my previous player, Banshee) only some of the files are recognized. In particular, I was thinking of some codec incompatibilies (I have mp3 as well as FLAC, Ogg, and some mac os types) but I noticed that the program isn't crawling inside the directories.
In particular, it shows the error "not detected as a music file" for each directory that I have in my Music folder, except some few. Here is an example, with an added debug print:
file:///home/nat/Music/ACDC detected as: enum G_FILE_TYPE_REGULAR of type Gio.FileType file:///home/nat/Music/ACDC not detected as a music file
The ACDC folder is, obviously, a folder:
drwxr-xr-x+ 1 nat users 0 Feb 7 13:29 ACDC
which is reported as the same as the one that, instead, works (Bruce\ Springsteen/Human\ Touch):
drwxr-xr-x+ 1 nat users 0 Oct 31 2015 Bruce Springsteen drwxr-xr-x+ 1 nat users 0 Oct 29 2015 Human Touch
I walked a little in the code and found that lollypop is using Lio class, which is a wrapper around Gio.File to detect the type. I tried to code a small python file that walks through my filesystem just using Gio, but the problem persists. Is probably better to report upstream?
Do you have any hints or suggestion that I can try? test.txt
Thanks!
(attached the test.py files)