URI location = track.getTrackData().getLocation();
if (location == null) {
return null;
}
if (track.getTrackData().isStream()) {
IcyInputStream inputStream = IcyInputStream.create(track);
String contentType = inputStream.getContentType().trim();
try {
inputStream.close();
} catch (IOException e) {
e.printStackTrace();
}
if ("audio/mpeg".equals(contentType)) {