mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 04:11:47 +00:00
fix tuna time update
This commit is contained in:
@ -45,7 +45,6 @@ const songInfo = {
|
||||
songDuration: 0,
|
||||
elapsedSeconds: 0,
|
||||
url: "",
|
||||
videoId: "",
|
||||
};
|
||||
|
||||
const handleData = async (responseText, win) => {
|
||||
@ -58,7 +57,6 @@ const handleData = async (responseText, win) => {
|
||||
songInfo.image = await getImage(songInfo.imageSrc);
|
||||
songInfo.uploadDate = data?.microformat?.microformatDataRenderer?.uploadDate;
|
||||
songInfo.url = data?.microformat?.microformatDataRenderer?.urlCanonical?.split("&")[0];
|
||||
songInfo.videoId = data?.videoDetails?.videoId;
|
||||
|
||||
// used for options.resumeOnStart
|
||||
config.set("url", data?.microformat?.microformatDataRenderer?.urlCanonical);
|
||||
|
||||
Reference in New Issue
Block a user