diff --git a/maloja/web/issues.html b/maloja/web/issues.html deleted file mode 100644 index 1a8bb9e..0000000 --- a/maloja/web/issues.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - Maloja - Issues - - - - - - - - - -
-
-
-

Possible Issues


- with your library -

KEY_ISSUES Issues

- -

Maloja can identify possible problems with consistency or redundancy in your library. After making any changes, you should rebuild your library.
- Your API key is required to make any changes to the server:

-
- - KEY_ISSUESLIST - - - - - diff --git a/maloja/web/issues.py b/maloja/web/issues.py deleted file mode 100644 index eac9cdc..0000000 --- a/maloja/web/issues.py +++ /dev/null @@ -1,44 +0,0 @@ -import urllib -from .. import database -from ..htmlgenerators import artistLink - -def instructions(keys): - - db_data = database.issues() - i = 0 - - html = "" - if db_data["inconsistent"]: - html += "" - html += "" - html += """""" - html += "" - i += 1 - for d in db_data["duplicates"]: - html += "" - html += "" - html += """""" - html += """""" - html += "" - i += 1 - for c in db_data["combined"]: - html += "" - html += "" - html += """""" - html += "" - i += 1 - for n in db_data["newartists"]: - html += "" - html += "" - html += """""" - html += "" - i += 1 - - html += "
The current database wasn't built with all current rules in effect. Any problem below might be a false alarm and fixing it could create redundant rules.
Rebuild the database
'" + artistLink(d[0]) + "'" - html += " is a possible duplicate of " - html += "'" + artistLink(d[1]) + "'
""" + d[1] + """ is correct
""" + d[0] + """ is correct
'" + artistLink(c[0]) + "' sounds like the combination of " + str(len(c[1])) + " artists: " - for a in c[1]: - html += "'" + artistLink(a) + "' " - html += "
Fix it
Is '" + n[0] + "' in '" + artistLink(n[1]) + "' an artist?
Yes
" - - return ({"KEY_ISSUESLIST":html,"KEY_ISSUES":str(i)},[]) diff --git a/maloja/web/jinja/manual.jinja b/maloja/web/jinja/manual.jinja new file mode 100644 index 0000000..fbfbb51 --- /dev/null +++ b/maloja/web/jinja/manual.jinja @@ -0,0 +1,186 @@ +{% extends "base.jinja" %} +{% block title %}Maloja - Manual Scrobbling{% endblock %} + +{% block scripts %} + + + +{% endblock %} + + + +{% block content %} + + + + + + +
+
+
+

Manual Scrobbling


+

+ + +
+ +

Scrobble new discovery

+ + + + + + + + +
+ Artists: + + +
+ Title: + + +
+ +
+ + Scrobble! + +
+ + + +

Search

+ + +

+
+ + +{% endblock %} diff --git a/maloja/web/manual.html b/maloja/web/manual.html deleted file mode 100644 index e880d5c..0000000 --- a/maloja/web/manual.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - - Maloja - - - - - - - - - - - - - - - - -
-
-
-

Manual Scrobbling


-

- API Key:

- - -
- -

Scrobble new discovery

- - - - - - - - -
- Artists: - - -
- Title: - - -
- -
- - Scrobble! - -
- - - -

Search

- - -

-
- - - - - - - - -