public class JMBDiscId extends Object
| Constructor and Description |
|---|
JMBDiscId() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
String |
getDiscId(String drive)
Reads the disc and generates a MusicBrainz DiscId
|
String |
getDiscIdLookupUrl(String drive)
Reads the drive and generates a MusicBrainz DiscId lookup url.
|
String |
getFreeDBId(String drive)
Reads the disc and generates a FreeDB DiscId
|
String |
getSubmissionUrl(String drive)
Reads the drive and generates a MusicBrainz submittion url
|
String |
getToC(String drive) |
boolean |
init(String path)
Loads the library only when it is not already loaded and allocates a
local disc object;
|
public boolean init(String path)
path - path to libdiscid librarytrue if successful else falsepublic String getDiscId(String drive)
drive - path to the drive with the audio CDnull if unsuccessfulpublic String getFreeDBId(String drive)
drive - path to the drive with the audio CDnull if unsuccessfulpublic String getSubmissionUrl(String drive)
drive - path to the drive with the audio CDnull if
unsuccessfulpublic String getDiscIdLookupUrl(String drive)
drive - path to the drive with the audio CDnull if
unsuccessfulpublic String getToC(String drive)
drive - path to the drive with the audio CDCopyright © 2021. All rights reserved.