mirror of
https://github.com/rembo10/headphones.git
synced 2026-06-20 01:23:50 +01:00
forgot the new config in headphones
This commit is contained in:
committed by
Bas Stottelaar
parent
501e3c1217
commit
40071ffaf9
@@ -259,7 +259,7 @@ class WebInterface(object):
|
||||
logger.info(u"Scanning artist: " + ArtistID)
|
||||
myDB = db.DBConnection()
|
||||
artistname=myDB.select('select distinct ArtistName from artists WHERE ArtistID=?', [ArtistID])
|
||||
artistfolder= os.path.join(headphones.DESTINATION_DIR,artistname[0][0])
|
||||
artistfolder= os.path.join(headphones.CONFIG.DESTINATION_DIR,artistname[0][0])
|
||||
try:
|
||||
threading.Thread(target=librarysync.libraryScan(dir=artistfolder)).start()
|
||||
except Exception, e:
|
||||
|
||||
Reference in New Issue
Block a user