Read MBID from ID3 Tags if possible
This commit is contained in:
parent
3f7c985db5
commit
55d06dc87d
|
@ -56,7 +56,7 @@ public class ID3Lookup implements MusicIdentificationService {
|
||||||
Integer mediumCount = null;
|
Integer mediumCount = null;
|
||||||
Integer trackIndex = getInteger(mediaInfo, "Track/Position");
|
Integer trackIndex = getInteger(mediaInfo, "Track/Position");
|
||||||
Integer trackCount = getInteger(mediaInfo, "Track/Position_Total");
|
Integer trackCount = getInteger(mediaInfo, "Track/Position_Total");
|
||||||
String mbid = null;
|
String mbid = getString(mediaInfo, "Acoustid Id");
|
||||||
|
|
||||||
// try to parse 2016-03-10
|
// try to parse 2016-03-10
|
||||||
String dateString = getString(mediaInfo, "Recorded_Date");
|
String dateString = getString(mediaInfo, "Recorded_Date");
|
||||||
|
|
Loading…
Reference in New Issue