We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 413a01af authored by Mike Sheldon's avatar Mike Sheldon

Fix xml root element for track.getTopTags requests

parent caf4246e
......@@ -32,7 +32,7 @@ class TrackXML {
$xml = new SimpleXMLElement('<lfm status="ok"></lfm>');
$root = $xml->addChild('tags', null);
$root = $xml->addChild('toptags', null);
$root->addAttribute('artist', $artist);
$root->addAttribute('track', $name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment