mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-23 11:57:44 +01:00
added itunes xml import
This commit is contained in:
+3
-2
@@ -30,8 +30,9 @@ else:
|
||||
|
||||
def searchNZB(albumid=None):
|
||||
|
||||
conn=sqlite3.connect(database)
|
||||
c=conn.cursor()
|
||||
if os.path.exists(database):
|
||||
conn=sqlite3.connect(database)
|
||||
c=conn.cursor()
|
||||
|
||||
if albumid:
|
||||
c.execute('SELECT ArtistName, AlbumTitle, AlbumID, ReleaseDate from albums WHERE Status="Wanted" AND AlbumID="%s"' % albumid)
|
||||
|
||||
Reference in New Issue
Block a user