Madsonic Doesn't Seem to list files correctly

Need help? Post your questions here.
ramLlama
Posts: 2
Joined: 07 May 2013, 12:45
Has thanked: 0
Been thanked: 1 time

Madsonic Doesn't Seem to list files correctly

Unread post by ramLlama » 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:

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
If we look at the contents of the "Classical" directory, we see:

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/
However, a directory like

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*
gets parsed fine.

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
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.

ramLlama
Posts: 2
Joined: 07 May 2013, 12:45
Has thanked: 0
Been thanked: 1 time

Re: Madsonic Doesn't Seem to list files correctly

Unread post by ramLlama » 07 May 2013, 19:11

madevil, I know you approved this topic, and I appreciate that.

The fact that you do so, makes this a bit more bitter for me to say:

I fixed it.

Very foolish of me, but my permissions were not set correctly. Whenever I test, I run sub/madsonic under my user, who does have read permissions, and everything is peachy. When I run in production, I run under a different user, who did not have the correct permissions. Setting permissions correctly fixed all my issues.

Thank you very much for your hard work. And, this isn't the place to ask, but, how can I make a donation to you for this fabulous mod?
These users thanked the author ramLlama for the post:
Madsonic

GJ51
Contributor
Contributor
Posts: 191
Joined: 15 Dec 2012, 17:52
Has thanked: 43 times
Been thanked: 84 times

Re: Madsonic Doesn't Seem to list files correctly

Unread post by GJ51 » 08 May 2013, 01:16

ramLlama wrote:madevil, I know you approved this topic, and I appreciate that.

The fact that you do so, makes this a bit more bitter for me to say:

I fixed it.

Very foolish of me, but my permissions were not set correctly. Whenever I test, I run sub/madsonic under my user, who does have read permissions, and everything is peachy. When I run in production, I run under a different user, who did not have the correct permissions. Setting permissions correctly fixed all my issues.

Thank you very much for your hard work. And, this isn't the place to ask, but, how can I make a donation to you for this fabulous mod?

Open Madsonic.

Click on the Subsonic logo in the upper right corner.

Click on the Paypal button (the right most one, :) ) on the Main panel.
These users thanked the author GJ51 for the post:
Madsonic

newburns
Posts: 22
Joined: 24 Mar 2013, 05:41
Has thanked: 2 times
Been thanked: 10 times

Re: Madsonic Doesn't Seem to list files correctly

Unread post by newburns » 08 May 2013, 16:30

You mean the leftmost one. The one that says Madsonic

GJ51
Contributor
Contributor
Posts: 191
Joined: 15 Dec 2012, 17:52
Has thanked: 43 times
Been thanked: 84 times

Re: Madsonic Doesn't Seem to list files correctly

Unread post by GJ51 » 08 May 2013, 17:00

newburns wrote:You mean the leftmost one. The one that says Madsonic

Sort of ... after you select the PayPal button on the About screen, you get a selection of 5 PayPal buttons. The one furthest to the right is the largest donation size, unless, of course, you'd prefer to use the first button to designate an even larger amount.

:mrgreen:
These users thanked the author GJ51 for the post:
Madsonic

Post Reply