|
|
@ -103,10 +103,17 @@ public class Song |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() |
|
|
|
public String toString() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
String ret = ""; |
|
|
|
|
|
|
|
if (artist != null && !artist.isEmpty()) |
|
|
|
|
|
|
|
ret += artist + " - "; |
|
|
|
|
|
|
|
|
|
|
|
if (title != null && !title.isEmpty()) |
|
|
|
if (title != null && !title.isEmpty()) |
|
|
|
return title; |
|
|
|
ret += title; |
|
|
|
else |
|
|
|
|
|
|
|
return "track " + number; |
|
|
|
if (ret.isEmpty()) |
|
|
|
|
|
|
|
ret = "track " + number; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return "[" + number + "] " + ret; |
|
|
|
// return url.toExternalForm();
|
|
|
|
// return url.toExternalForm();
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|