Page 1 of 1

Subsonic stand-alone not playing on Debian

PostPosted: Tue Mar 20, 2012 9:05 pm
by piaamp
I'm a non-root user on a Debian slot. I am able to setup Subsonic stand-alone and access it from the internet at the port I specified in subsonic.sh.

I think this may be a permission-related issue, but I'm unable to play any of the FLAC & MP3 files in the music directories I specified. I can list all of them, but when I try to play something, it adds to the playlist but stays at 0:00 and doesn't play.

The flac, lame, and ffmpeg binaries are in the system path, and can be run from anywhere, so I don't think that's the issue.

Any ideas would be greatly appreciated.

Thanks,
piaamp

Re: Subsonic stand-alone not playing on Debian

PostPosted: Wed Mar 21, 2012 12:01 am
by piaamp
Also, I am using the latest standalone. 4.6

Re: Subsonic stand-alone not playing on Debian

PostPosted: Wed Mar 21, 2012 2:52 pm
by BKKKPewsey
Make sure the binaries or sym-links are in the subsonic\transcode directory.

:mrgreen:

Re: Subsonic stand-alone not playing on Debian

PostPosted: Thu Mar 22, 2012 12:34 am
by piaamp
Yep, I copied them from /usr/bin to ~/subsonic/transcode

No matter where I run ffmpeg, FLAC, or lame from though, I get the expected output.

Considering that I don't have root access, what would the syntax be for chown to get the correct permissions for my music folders as well as the subsonic installation folders?

Re: Subsonic stand-alone not playing on Debian

PostPosted: Sun Mar 25, 2012 8:22 pm
by piaamp
The permissions on my music folders are rwxrwxr-x, and the permissions on my subsonic folder are rwx------.

I have tried both copying the actual files as well as creating symbolic links to the flac, ffmpeg, and lame binaries in ~/subsonic/transcode. That folder's permissions are rwxrwx---.

I still can't play FLAC files, but MP3's play fine. What could I be doing wrong?

Re: Subsonic stand-alone not playing on Debian

PostPosted: Mon Apr 09, 2012 2:12 pm
by piaamp
Could it be that Subsonic doesn't like the transcode binaries that my slot is using?

Re: Subsonic stand-alone not playing on Debian

PostPosted: Fri Apr 27, 2012 4:47 am
by fuzzyfreak
I’m having the same problem. The video works fine but the audio stays at 0:00. The log file has no indication of audio streaming.

Re: Subsonic stand-alone not playing on Debian

PostPosted: Sun Jun 03, 2012 9:11 pm
by bcgrown
Did anyone ever solve this problem? I'm now experiencing it as well.

I get this error:

Code: Select all
[6/3/12 2:05:53 PM PDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: Syntax error: "(" unexpected


I have not changed the ffmpeg command line from the default, and I have the same one on another PC that plays just fine. This one that's giving me the error on FLACs will play MP3 without issue as well.

Re: Subsonic stand-alone not playing on Debian

PostPosted: Sat Apr 13, 2013 10:18 pm
by iduhetonas
It looks like it might have something with your meta_data, as I was having that problem as well.

Try this:

Code: Select all
ffmpeg -i %s -ab %bk -v 0 -f mp3 -map_metadata 0:0 -