mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 11:23:45 +02:00
Add special TXXX handling for ID3v2
This commit is contained in:
@@ -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');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user