We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 05c5ced + 0d184ec commit 7e4fcddCopy full SHA for 7e4fcdd
image_id.c
@@ -94,6 +94,11 @@ static bool process_disc(MirageDisc *disc, DiscId *discid) {
94
int first, last;
95
int offsets[100] = {0};
96
char isrcs[100][MIRAGE_ISRC_SIZE+1] = {{0}};
97
+ char mcn[13+1] = "\0";
98
+
99
+ if (mirage_disc_get_mcn(disc) != NULL) {
100
+ strncpy(mcn, mirage_disc_get_mcn(disc), sizeof mcn);
101
+ }
102
103
sessions = mirage_disc_get_number_of_sessions(disc);
104
fprintf(stderr, "Disc contains %d sessions\n", sessions);
@@ -207,6 +212,9 @@ static bool process_disc(MirageDisc *disc, DiscId *discid) {
207
212
printf("ISRC Track %d: %s\n", i, isrcs[i]);
208
213
}
209
214
215
+ if (strlen(mcn) > 0) {
216
+ printf("MCN: %s\n", mcn);
217
210
218
211
219
return true;
220
0 commit comments