Add extra settings for music folder and tag cache
This commit is contained in:
parent
15751613a1
commit
5f08dbc213
@ -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')
|
||||
|
||||
@ -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')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user