<%inherit file="base.html" /> <%! import headphones import json from headphones import db, helpers myDB = db.DBConnection() artist_json = {} counter = 0 artist_list = myDB.action("SELECT ArtistName from artists ORDER BY ArtistName COLLATE NOCASE") for artist in artist_list: artist_json[counter] = artist['ArtistName'] counter+=1 json_artists = json.dumps(artist_json) %> <%def name="headerIncludes()">
« Back to manage overview <%def name="body()">

# Manage Unmatched Albums

Local Artist | Local Album
--- | ---
<% count_albums=0 %> %for album in unmatchedalbums:
<% old_artist_clean = album['ArtistName'].replace('&','%26').replace("'","%27") old_album_clean = album['AlbumTitle'].replace('&','%26').replace("'","%27") old_artist_js = album['ArtistName'].replace("'","\\'").replace('"','\\"') old_album_js = album['AlbumTitle'].replace("'","\\'").replace('"','\\"') %> ${album['ArtistName']}
Are you sure you want to ignore Local Artist: ${album['ArtistName']} from future matching?
Local Artist: | ${album['ArtistName']}
Match Artist |
| ${album['AlbumTitle']}
Are you sure you want to ignore Local Album: ${album['AlbumTitle']} from future matching?
Local Artist: | ${album['ArtistName']}
Local Album: | ${album['AlbumTitle']}
Match Artist |
Match Album |
<% count_albums+=1 %> %endfor

<%def name="headIncludes()"> <%def name="javascriptIncludes()">