Add special TXXX handling for ID3v2

This commit is contained in:
Vanilagy
2026-04-24 19:42:15 +02:00
parent 9969b92d51
commit 97f6b35cda
4 changed files with 82 additions and 11 deletions
+7
View File
@@ -1009,3 +1009,10 @@ export const clearIntervalUnthrottled = (timer: UnthrottledTimerHandle) => {
timerId: timer.id,
} satisfies UnthrottledTimerMessage);
};
export const isRecordStringString = (value: unknown): value is Record<string, string> => {
return value !== null
&& typeof value === 'object'
&& Object.getPrototypeOf(value) === Object.prototype
&& Object.values(value).every(x => typeof x === 'string');
};