Add extra settings for music folder and tag cache

This commit is contained in:
Thomas Adamcik 2010-04-28 22:45:36 +02:00
parent 15751613a1
commit 5f08dbc213
2 changed files with 8 additions and 0 deletions

View File

@ -104,6 +104,12 @@ SPOTIFY_LIB_CACHE = u'~/.mopidy/libspotify_cache'
#: Path to playlist folder with m3u files.
PLAYLIST_FOLDER = u'~/.mopidy/playlists'
#: Path to folder with local music.
MUSIC_FOLDER = u'~/music'
#: Path to MPD tag_cache for local music
TAG_CACHE = u'~/.mopidy/tag_cache'
# Import user specific settings
dotdir = os.path.expanduser(u'~/.mopidy/')
settings_file = os.path.join(dotdir, u'settings.py')

View File

@ -8,6 +8,8 @@ import urllib
from mopidy.utils import parse_m3u, parse_mpd_tag_cache
from mopidy.models import Track, Artist, Album
from tests import SkipTest
def data(name):
folder = os.path.dirname(__file__)
folder = os.path.join(folder, 'data')