Open luccooflinosiii opened 3 weeks ago
Do I need to delete the cache, or something?
Your browser might have that file cached. If you shift-click on the reload button, it should reload without a cache. You can also check the network panel in the dev-tools.
And a bit unrelated, but how do I make CurrentSong2 display other info (like album name, etc.) in conjunction with what's already in there (currently only the title and artist name)?
You can either use CSS variables or add new elements in a user-script and access the album info.
Gotcha...! Thank you!
It's showing up again! And thanks for pointing me there, I just started learning CSS, and the structure is still pretty weird to me. I tried adding
#song-container.with-album * {
content: var(--album)
}
But it still doesn't show up
Also, what do you use to track progress? I'm using an open source music player, MusicBee, and I think it tracks it differently.
Unfortunately, you can't change the content of existing HTML elements with children (e.g. <h1 id="title">foo</h1>
can't be changed). But you can insert the pseudo-elements ::before
and ::after
. With these, you can extend the title for example:
#song-container.with-album #title::after {
content: ' - ' var(--album);
}
This will also scroll if the title is too long.
Alternatively, you can display the album below the artist:
/* Make the container a bit bigger as it contains three lines now */
#song-container.with-image.with-album {
--max-height: 5.5em;
--height: 5.5em;
}
#song-container.with-album #mq-subtitle::after {
content: var(--album);
font-size: 0.8em;
}
Yeah, the last one! Tysm! Sorry for making you type it out for me...
Hello,
Everytime I try to add a
user.js
file, the app stops working entirely. I tried redownloading it, but it still doesn't show up on OBS or Chrome. It only started showing up when I re-installed Windows. Here's the log:Do I need to delete the cache, or something?
And a bit unrelated, but how do I make CurrentSong2 display other info (like album name, etc.) in conjunction with what's already in there (currently only the title and artist name)? Thanks in advance!