mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 08:53:59 +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)
|
logger.info(u"Scanning artist: " + ArtistID)
|
||||||
myDB = db.DBConnection()
|
myDB = db.DBConnection()
|
||||||
artistname=myDB.select('select distinct ArtistName from artists WHERE ArtistID=?', [ArtistID])
|
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:
|
try:
|
||||||
threading.Thread(target=librarysync.libraryScan(dir=artistfolder)).start()
|
threading.Thread(target=librarysync.libraryScan(dir=artistfolder)).start()
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
|||||||
Reference in New Issue
Block a user