miniop 9 Posted November 15, 2015 Share Posted November 15, 2015 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 Thanks Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted November 16, 2015 Share Posted November 16, 2015 (edited) 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 November 16, 2015 by Happy2Play Fixed comments 1 Link to comment Share on other sites More sharing options...
miniop 9 Posted November 16, 2015 Author Share Posted November 16, 2015 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 More sharing options...
Happy2Play 8281 Posted November 16, 2015 Share Posted November 16, 2015 Sorry the Descriptions aren't commented out right, or remove them, /*Hide Media Info*/ /*Hide Details*/ Link to comment Share on other sites More sharing options...
miniop 9 Posted November 16, 2015 Author Share Posted November 16, 2015 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 More sharing options...
Raff 51 Posted November 17, 2015 Share Posted November 17, 2015 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 More sharing options...
Luke 37060 Posted November 17, 2015 Share Posted November 17, 2015 Well done! Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted November 17, 2015 Share Posted November 17, 2015 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 More sharing options...
miniop 9 Posted November 18, 2015 Author Share Posted November 18, 2015 @@Raff ya i have found this tag and tried something like div[class=scenesCollapsible detailSection] { display:none; } But didnt work Link to comment Share on other sites More sharing options...
miniop 9 Posted November 18, 2015 Author Share Posted November 18, 2015 (edited) 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 : Edited November 18, 2015 by miniop Link to comment Share on other sites More sharing options...
Raff 51 Posted November 18, 2015 Share Posted November 18, 2015 (edited) @@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 November 18, 2015 by Raff 2 Link to comment Share on other sites More sharing options...
orbitnz 4 Posted November 18, 2015 Share Posted November 18, 2015 @@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 More sharing options...
miniop 9 Posted November 18, 2015 Author Share Posted November 18, 2015 @@Raff perfect !! thanks Link to comment Share on other sites More sharing options...
the-dumb1 121 Posted November 28, 2015 Share Posted November 28, 2015 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 More sharing options...
rckoegel 2 Posted December 5, 2015 Share Posted December 5, 2015 (edited) @@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 December 5, 2015 by rckoegel 1 Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted December 5, 2015 Share Posted December 5, 2015 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. 1 Link to comment Share on other sites More sharing options...
xelar 4 Posted December 7, 2015 Share Posted December 7, 2015 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 More sharing options...
anderbytes 139 Posted February 6, 2016 Share Posted February 6, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now