Pass through TXXX kv pairs from libtags, treated as vorbis comments

mp3 is no good i do not like them at all
This commit is contained in:
jacqueline
2024-12-31 11:32:51 +11:00
parent b6b62cb8ea
commit 33e89a0672
3 changed files with 47 additions and 22 deletions
+4
View File
@@ -68,6 +68,10 @@ v2cb(Tagctx *ctx, char *k, char *v)
return 0;
}else if(strcmp(k-1, "COM") == 0 || strcmp(k-1, "COMM") == 0){
txtcb(ctx, Tcomment, k-1, v);
}else if(strcmp(k, "XXX") == 0){
k = v;
v += strlen(v) + 1;
txtcb(ctx, Tunknown, k, v);
}else{
txtcb(ctx, Tunknown, k-1, v);
}