Madsonic Doesn't Seem to list files correctly
Posted: 07 May 2013, 14:54
Problem
Madsonic does not seem to like some directories that has at least one subfolder with a hyphen ('-') or space (' ')in its name. It simply bugs out with a "Failed to list children for directory" error, and then happily labels the directory an album, albeit with nothing inside. However, some other directories work fine! I have seen this error also happen on Subsonic 4.8, but I am using Madsonic now, so I thought I would ask here.
The Logs
It happens for many of my directories, so let's focus on one:
If we look at the contents of the "Classical" directory, we see:
However, a directory like
gets parsed fine.
System Setup
I am on Arch Linux
Thoughts? I am really stumped here, especially because I cannot seem to figure out what makes parse work, and otherwise not.
Thanks for all the help.
Madsonic does not seem to like some directories that has at least one subfolder with a hyphen ('-') or space (' ')in its name. It simply bugs out with a "Failed to list children for directory" error, and then happily labels the directory an album, albeit with nothing inside. However, some other directories work fine! I have seen this error also happen on Subsonic 4.8, but I am using Madsonic now, so I thought I would ask here.
The Logs
It happens for many of my directories, so let's focus on one:
Code: Select all
[2013-05-07 09:02:48,315] WARN FileUtil - Failed to list children for /media/filechest/music/Classical
[2013-05-07 09:02:48,315] INFO MediaFileService - ## MediaType ARTIST: Classical
Code: Select all
~> ll /media/filechest/music/Classical/
total 12K
drwxrwx--- 3 ram sudo 4.0K Dec 1 2008 Antonio Vivaldi/
drwxrwx--- 3 ram sudo 4.0K Feb 25 2009 Various Artists/
drwx------ 13 ram sudo 4.0K May 9 2009 Yanni/
Code: Select all
~> ll /media/filechest/music/English/Eric\ Clapton/Charlotte/
total 8.1M
-rwxrwxrwx 1 ram sudo 8.1M Mar 8 2008 07 - Cocaine.mp3*
System Setup
I am on Arch Linux
Code: Select all
~> /opt/java/jre/bin/java -version
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b88)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b30, mixed mode)
Code: Select all
[2013-05-07 09:00:31,699] INFO VersionService - Resolved latest Madsonic final version to: 4.7.3180
[2013-05-07 09:00:31,699] INFO VersionService - Resolved latest Madsonic beta version to: 4.8.3360.beta3
[2013-05-07 09:00:31,700] INFO VersionService - Resolved local Madsonic version to: 4.8.3360.beta3
Thanks for all the help.