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

Commit ab30d4b0 authored by clint's avatar clint

more debug

parent c0d1944f
......@@ -52,7 +52,9 @@ class Track {
if(!$res->numRows()) {
$this->name = "No such track: " . $name;
} else {
print "<!-- TRACK: ".$row["album"]. " -->";
$row = sanitize($res->fetchRow(MDB2_FETCHMODE_ASSOC));
print "<!-- AFTERTRACK: ".$row["album"]. " -->";
$this->name = $row["name"];
$this->mbid = $row["mbid"];
$this->artist_name = $row["artist"];
......@@ -136,7 +138,6 @@ class Track {
}
function getURL() {
echo "<!-- Fetching ".$this->artist_name."/".$this->album_name."/".$this->name." -->";
return Server::getTrackURL($this->artist_name, $this->album_name, $this->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