Jump to content

Code to hide a library tile on Home Screen?


d00zah

Recommended Posts

d00zah

There's a new feature in the server that's buggin' me (& some friends) that I'm hoping can be resolved with some custom CSS magic.

 

'ServerWMC Recordings' (Live TV plugin) now shows up on the home screen & is now necessary to view recent recordings. Is there any way to hide the 'ServerWMC Recordings' tile without impact on the display of recent recordings?

 

Here's hoping... TIA

Link to comment
Share on other sites

Happy2Play

I will have to look for my post on this, but are you referring to the My Media section?

Link to comment
Share on other sites

d00zah

I will have to look for my post on this, but are you referring to the My Media section?

 

Precisely. Thanks!

Link to comment
Share on other sites

d00zah

You just need to get the data-id for the library.  Click on the library and use the topparentid from url.

 

https://emby.media/community/index.php?/topic/30882-how-do-i-remove-collections-from-home-screen/?p=296830

 

I see the following URL:

 

http://localhost:8096/web/list.html?parentId=69e88d4e1462d56fb23d93d8a312d597&serverId=19ed211e30584810997fa68ecd1c0fbd

 

where I see a 'parentid', but adding to your code yields no change...

 

[data-itemid=69e88d4e1462d56fb23d93d8a312d597] {display: none !important;}

 

Did I miss something?

 

I see that standard library tile URLs contain a 'topparentid', while 'channel' tile URLs all look like URL above.

Edited by d00zah
Link to comment
Share on other sites

Happy2Play

I see the following URL:

 

http://localhost:8096/web/list.html?parentId=69e88d4e1462d56fb23d93d8a312d597&serverId=19ed211e30584810997fa68ecd1c0fbd

 

where I see a 'parentid', but adding to your code yields no change...

 

[data-itemid=69e88d4e1462d56fb23d93d8a312d597] {display: none !important;}

 

Did I miss something?

 

I see that standard library tile URLs contain a 'topparentid', while 'channel' tile URLs all look like URL above.

 

Sorry looks like it changed to data-id instead of data-itemid. 

 

example as seen in browser console.

 

5abd8e68599bb_Untitled.jpg

Link to comment
Share on other sites

d00zah

Seems that changing the original:

 

'data-itemid' to 'data-id' was the only necessary change.

 

[data-id=69e88d4e1462d56fb23d93d8a312d597] {display: none !important;}

 

seems to have done the trick.

 

Thank you, @@Happy2Play !!!

Edited by d00zah
Link to comment
Share on other sites

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...