Page 1 of 1

Change default upload directory?

PostPosted: Thu Mar 24, 2016 3:56 pm
by dave31175
Currently the "upload file" defaults to the directory "Incoming" in the directory of the first media folder I configured. Is there any way to change the default directory short of changing it for each individual file upload? Let me know if any further info is needed.

Re: Change default upload directory?

PostPosted: Thu Mar 24, 2016 3:59 pm
by flipjargendy
For better answers, check out this sticky post that tells you what info is import to include in questions.

If you're running the standalone version on Linux. You can change the configs in /usr/bin/subsonic. Here's a snippet below. You'll want to change SUBSONIC_DEFAULT_MUSIC_FOLDER=/var/music to the directory of your choice.

Code: Select all
#!/bin/sh

###################################################################################
# Shell script for starting Subsonic.  See http://subsonic.org.
#
# Author: Sindre Mehus
###################################################################################

SUBSONIC_HOME=/var/subsonic
SUBSONIC_HOST=0.0.0.0
SUBSONIC_PORT=4040
SUBSONIC_HTTPS_PORT=0
SUBSONIC_CONTEXT_PATH=/
SUBSONIC_MAX_MEMORY=150
SUBSONIC_PIDFILE=
SUBSONIC_DEFAULT_MUSIC_FOLDER=/var/music
SUBSONIC_DEFAULT_PODCAST_FOLDER=/var/music/Podcast
SUBSONIC_DEFAULT_PLAYLIST_FOLDER=/var/playlists

Re: Change default upload directory?

PostPosted: Thu Mar 24, 2016 4:15 pm
by dave31175
flipjargendy wrote:If you're running the standalone version on Linux. You can change the configs in /usr/bin/subsonic. Here's a snippet below. You'll want to change SUBSONIC_DEFAULT_MUSIC_FOLDER=/var/music to the directory of your choice.


Thanks very much! I'll give that a try.