From 5f08dbc213c80c7fca4fab46d67e11fbf30e0978 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Wed, 28 Apr 2010 22:45:36 +0200 Subject: [PATCH] Add extra settings for music folder and tag cache --- mopidy/settings.py | 6 ++++++ tests/utils_test.py | 2 ++ 2 files changed, 8 insertions(+) diff --git a/mopidy/settings.py b/mopidy/settings.py index ce132ba7..d160b26c 100644 --- a/mopidy/settings.py +++ b/mopidy/settings.py @@ -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') diff --git a/tests/utils_test.py b/tests/utils_test.py index 17f8282c..3952a7d6 100644 --- a/tests/utils_test.py +++ b/tests/utils_test.py @@ -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')