Jump to content

Hide Playlists from Included In section?


Recommended Posts

Posted

Hi, Presently the music Included In section on the individual Artist pages shows both Collections and Playlists. Ideally, I would like them both shown on their own separate rows, but was wondering, as a first step, if there was a simple way to just hide the Playlists using CSS?

When looking at the CSS of the div.appearsOnLIstsSection,  it seems that an underlying Collection and Playlist have an identical structure, so it doesnt seem possible to differentiate and target just Playlists?

Is there anything obvious/easy that I am missing or do I need other method beyond CSS? Thanks!

GrimReaper
Posted (edited)
On 3/21/2026 at 2:52 AM, user24 said:

was wondering, as a first step, if there was a simple way to just hide the Playlists using CSS?

Is there anything obvious/easy that I am missing or do I need other method beyond CSS?

As you've already surmised, it can't be done by CSS alone, you'd need to do it via js script (though it shouldn't take more than a few minutes to set that up). Note that you'd have to repeat that on each server update (not that often/tedious either, I have several scripts of my own, for different purposes).

Edit: If you wanna play with it, place the script in your server's \system\dashboard-ui folder; in the same folder, edit index.html and add a line at the very bottom: 

script src="hide_playlists.js"></script>

image.png.014948c8c5f98b46ce4324f197fc04d8.png

Hard-refresh browser (Ctrl+F5) or restart server.

Edited by GrimReaper
Script removed
GrimReaper
Posted (edited)
On 3/21/2026 at 2:52 AM, user24 said:

Ideally, I would like them both shown on their own separate rows

Updated version.

image.png.9e682f67441ac92849ea2ae1b6d1cf43.png

playlist_row.js

 

Edited by GrimReaper

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...