mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 20:29:27 +00:00
Quiet the scanning warning message if no dir is set
This commit is contained in:
@@ -28,7 +28,10 @@ def libraryScan(dir=None, append=False, ArtistID=None, ArtistName=None, cron=Fal
|
||||
return
|
||||
|
||||
if not dir:
|
||||
dir = headphones.MUSIC_DIR
|
||||
if not headphones.MUSIC_DIR:
|
||||
return
|
||||
else:
|
||||
dir = headphones.MUSIC_DIR
|
||||
|
||||
# If we're appending a dir, it's coming from the post processor which is
|
||||
# already bytestring
|
||||
|
||||
Reference in New Issue
Block a user