try2
This commit is contained in:
parent
5f57bb6e84
commit
524bc8c3c6
|
@ -85,8 +85,7 @@ export function LastfmWidget(monitor = 0) {
|
|||
css: "font-size: 25px;",
|
||||
});
|
||||
|
||||
Utils.interval(
|
||||
5000,
|
||||
setInterval(
|
||||
() => {
|
||||
lastFM.getRecentTracks("yourfriendoss").then((z) => {
|
||||
if(!z) return;
|
||||
|
@ -102,7 +101,7 @@ export function LastfmWidget(monitor = 0) {
|
|||
imagebox.setCss(generateCSS(track.image.at(-1)["#text"]));
|
||||
});
|
||||
},
|
||||
imagebox
|
||||
5000
|
||||
);
|
||||
|
||||
return Widget.Window({
|
||||
|
|
Loading…
Reference in a new issue