mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
Fix #1960: Unicode in fetchart Wikipedia source
The SparQL query needed to use a Unicode literal.
This commit is contained in:
parent
698203eb84
commit
09bc250413
2 changed files with 3 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ class Wikipedia(RemoteArtSource):
|
|||
NAME = u"Wikipedia (queried through DBpedia)"
|
||||
DBPEDIA_URL = 'http://dbpedia.org/sparql'
|
||||
WIKIPEDIA_URL = 'http://en.wikipedia.org/w/api.php'
|
||||
SPARQL_QUERY = '''PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
SPARQL_QUERY = u'''PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX dbpprop: <http://dbpedia.org/property/>
|
||||
PREFIX owl: <http://dbpedia.org/ontology/>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@ Fixes:
|
|||
guess the URL for lyrics. :bug:`1880`
|
||||
* :doc:`/plugins/edit`: Fail gracefully when the configured text editor
|
||||
command can't be invoked. :bug:`1927`
|
||||
* :doc:`/plugins/fetchart`: Fix a crash in the Wikipedia backend on non-ASCII
|
||||
artist and album names. :bug:`1960`
|
||||
|
||||
|
||||
1.3.17 (February 7, 2016)
|
||||
|
|
|
|||
Loading…
Reference in a new issue