Jump to content

Hide/remove Scenes , Details , Media Info


miniop

Recommended Posts

Hello i would like to ask if it is possible to hide/remove from the movie information or a tv episode the Scenes , Details and the media info

 

56491198e6fd6_Untitled.png

 

Thanks

Link to comment
Share on other sites

Happy2Play

I believe with custom css.  But one of those css gurus will have to assist.

 

Here is a start.

/*Hide Media Info*/
div[class="detailSection audioVideoMediaInfo"] { display:none; }
/*Hide Details*/
div[class="detailSection detailsSection"] { display:none; }

Couldn't figure out Scene section.

Edited by Happy2Play
Fixed comments
  • Like 1
Link to comment
Share on other sites

hey Happy2Play thanks,

 

I have add the code in server / settings /branding / custom css but it doesn't do anything.

 

Any idea ?

 

Thanks

Link to comment
Share on other sites

Happy2Play

Sorry the Descriptions aren't commented out right, or remove them,

 

/*Hide Media Info*/

 

/*Hide Details*/

Link to comment
Share on other sites

thanks ! its wokring perfect.

 

I am trying also to remove the scenes trying to find the div class but no luck.

Anyone can help ?

 

Thanks

Link to comment
Share on other sites

Here is the tag:
<div id="scenesCollapsible" style="" class="detailSection">

Since the class is only detailSection, which we already see is used elsewhere, you probably want to use the ID. IIRC:

#scenesCollapsible {display:none;}

I am slightly curious why the examples (and the thread linked) has the div[full attribute selector] instead of the normal class selector construction:

div.audioVideoMediaInfo, div.detailsSection {display:none;}

I suspect Emby would blow up in general on old browsers that didn't support that selector function, but it will break if the exact format isn't maintained (forex, new style class added, an errant space is inserted or the order changes) in a future release.

 

I'm no CSS master, so I freely admit I may be wrong.

Link to comment
Share on other sites

Happy2Play

All trial and error for me.  I was just using previous examples seen around here.  Still unable to remove Scene with that example.

Link to comment
Share on other sites

by using this :

 

div.smallItemsContainer {display:none;}

 

I have almost remove the scenes. The Title and the icon are still there and cant be removed.

 

I cant pass the display:none in the div.scenesCollapsible . if i put it manual in the firefox development as picture below the scenes are removed but through css cant :

 

564c39030f32e_none.png

Edited by miniop
Link to comment
Share on other sites

@@Raff ya i have found this tag and tried something like

 

div[class=scenesCollapsible detailSection] { display:none; }

 

But didnt work

The "scenesCollapsible" is the ID not the Class of the div node. If you use the # selector, it says "use the ID of the text following it" and should work. However, I just tested and it appears that there is a style inserted (maybe because of the "hide" function somewhere) that breaks my original suggestion.

 

Here is the one that works for me:

#scenesCollapsible{ display: none !important;}

A quick walkthrough:

#scenesCollapsible tells the browser to style the "scenesCollapsible" ID. If you use a . or that [class=whatever]  you would be referencing the class of the div, not the ID.

display:none says to not display it, and don't save space for it.

!important says DO THIS NO MATTER WHAT! Which is odd to me as a programmer. I read that as "not important" but then as I said, I am not a web designer.

Edited by Raff
  • Like 2
Link to comment
Share on other sites

@@Raff Great, thanks so much for this! I have been looking for a way to disable the scenes section for ages. This works perfectly.

 

Hopefully eventually there is a GUI way to show/hide sections built in.

Link to comment
Share on other sites

  • 2 weeks later...
the-dumb1

Been desiring to do this for a VERY long time.  I don't do trailers and I don't care about the media information, so I was very excited to see the ability to do this!

Link to comment
Share on other sites

rckoegel

@@Raff Hopefully eventually there is a GUI way to show/hide sections built in.

 

Agreed! User configurable across servers via User Settings. But also Server Admin configurable as an absolute.

 

So, a User would set view extra info on movie detail view (if allowed by server):

 

  • cast & crew [true/false] if true, view [text only/headshot+text/detailed]
  • suggestions [true/false]
  • awards & reviews [true/false]
  • scenes [true/false] if true, view [text only/detailed] quantity [minimal/full] (minimal allows expansion to full, full allows collapse)
  • details [true/false]
  • media info [true/false]

And the Server Admin would be able to enable/disable each setting globally or per user.

Edited by rckoegel
  • Like 1
Link to comment
Share on other sites

Happy2Play

Agreed! User configurable across servers via User Settings. But also Server Admin configurable as an absolute.

 

So, a User would set view extra info on movie detail view (if allowed by server):

 

  • cast & crew [true/false] if true, view [text only/headshot+text/detailed]
  • suggestions [true/false]
  • awards & reviews [true/false]
  • scenes [true/false] if true, view [text only/detailed] quantity [minimal/full] (minimal allows expansion to full, full allows collapse)
  • details [true/false]
  • media info [true/false]

And the Server Admin would be able to enable/disable each setting globally or per user.

You may want to put those in a feature request since this already give the user the option to do this via custom css.

  • Like 1
Link to comment
Share on other sites

The feature request is a great idea. I do like the media info and details, but in my view the path to the file is unnecessary...

So in order to hide only the path, you can add the following

/* hide media info > path */
div.mediaInfoContent > div:nth-last-of-type(-n+1) {
    display: none;
}
Link to comment
Share on other sites

  • 1 month later...
anderbytes

 

The feature request is a great idea. I do like the media info and details, but in my view the path to the file is unnecessary...

So in order to hide only the path, you can add the following

/* hide media info > path */
div.mediaInfoContent > div:nth-last-of-type(-n+1) {
    display: none;
}

 

I posted feature request as seen in http://emby.media/community/index.php?/topic/30967-allow-customization-of-what-appears-when-you-choose-a-movieepisode/

 

Don`t know if anyone will implement, though.

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