mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Git rid of no longer required workaround aadsm/jsmediatags#83
This commit is contained in:
parent
6d466b530c
commit
94fdec82b8
1 changed files with 0 additions and 4 deletions
|
|
@ -13,10 +13,6 @@ export function genMediaTags(
|
|||
file != null,
|
||||
"Attempted to get the tags of media file without passing a file"
|
||||
);
|
||||
// Workaround https://github.com/aadsm/jsmediatags/issues/83
|
||||
if (typeof file === "string" && !/^[a-z]+:\/\//i.test(file)) {
|
||||
file = `${location.protocol}//${location.host}${location.pathname}${file}`;
|
||||
}
|
||||
|
||||
const options = {
|
||||
duration: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue