Guest Posted March 19, 2024 Posted March 19, 2024 Hi, I'm looking at these two parts of the file but unsure about editing, so if possible I'd like to know. In the first part, I believe it is the audio/video information and I would like to turn it off (not display) as the default. In the second part, I believe it is about the size of the poster and I would like the default to be "Smaller". Thank you in advance for any advice.
Happy2Play 9444 Posted March 19, 2024 Posted March 19, 2024 3 hours ago, CarlosLima said: Hi, I'm looking at these two parts of the file but unsure about editing, so if possible I'd like to know. In the first part, I believe it is the audio/video information and I would like to turn it off (not display) as the default. In the second part, I believe it is about the size of the poster and I would like the default to be "Smaller". Thank you in advance for any advice. Don't know scripting but I just changed it to look like one that is disabled and for cardsize change to "smaller". But for the list options you can see their value in the browser console.
Guest Posted March 22, 2024 Posted March 22, 2024 Hi, just changing to SMALLER keeps the poster size as the default?
Happy2Play 9444 Posted March 22, 2024 Posted March 22, 2024 1 minute ago, CarlosLima said: Hi, just changing to SMALLER keeps the poster size as the default? No it sort of eliminates Default making Smaller and Default the same as you can no longer select Default. So Smaller is presented.
SrVirtual 3 Posted April 5, 2024 Posted April 5, 2024 Hello, how are you sending me this link, one of the community to which I am very grateful, I was able to solve everything I was looking for and even more, and I would like to contribute, I did not finish reading all the messages but from what I read I could notice that they wanted to activate the wallpapers And well, with the code that I saw here I was able to modify all this, here I leave everything well explained. To activate the wallpapers you only have to modify line 99, look for the class (enableBackdrops) and replace this line with the following What activates the background is this code thanks for the contribution and support
Baenwort 108 Posted April 6, 2024 Posted April 6, 2024 This is very helpful for my setup. Am I correct in remembering that this change will need to be applied every time Emby is patched to a new version? 1
Guest Posted April 7, 2024 Posted April 7, 2024 On 4/6/2024 at 1:48 AM, Baenwort said: This is very helpful for my setup. Am I correct in remembering that this change will need to be applied every time Emby is patched to a new version? Exact. Always
Suliamu 12 Posted April 7, 2024 Posted April 7, 2024 (edited) Has somebody an idea how to automatically activate LogoAsTitle? The syntax is not the same as with the other where you just exchange && with ||. I have no idea about js really, just a little bit experience in doing stuff in python and bash. UserSettings.prototype.getEnableLogoAsTitle = function(displayLanguage) { var val = this.get("enableLogoAsTitle"); return val ? "true" === val : displayLanguage && displayLanguage.toLowerCase().startsWith("en") }, UserSettings.prototype.setEnableLogoAsTitle = function(val) { return this.set("enableLogoAsTitle", val.toString()) } Edited April 7, 2024 by Suliamu
Happy2Play 9444 Posted April 7, 2024 Posted April 7, 2024 7 minutes ago, Suliamu said: Has somebody an idea how to automatically activate LogoAsTitle and enableThemeSongs? The syntax is not the same as with the other where you just exchange && with ||. I have no idea about js really, just a little bit experience in doing stuff in python and bash. UserSettings.prototype.getEnableLogoAsTitle = function(displayLanguage) { var val = this.get("enableLogoAsTitle"); return val ? "true" === val : displayLanguage && displayLanguage.toLowerCase().startsWith("en") }, UserSettings.prototype.setEnableLogoAsTitle = function(val) { return this.set("enableLogoAsTitle", val.toString()) } UserSettings.prototype.enableThemeSongs = function(val) { return null != val ? this.set("enableThemeSongs", val.toString(), !1) : "false" !== (val = this.get("enableThemeSongs", !1)) For Logos I just changed true to false. As for ThemeSongs it is already activated by default.
Suliamu 12 Posted April 7, 2024 Posted April 7, 2024 Just now, Happy2Play said: For Logos I just changed true to false. Thank you very much
cochize1 46 Posted May 20, 2024 Author Posted May 20, 2024 @SrVirtual @Happy2Play @CarlosLima Coming back to an old thread... I can't seem to find a way to turn these 3 settings OFF by default in usersettingsbuilder.js file (can't even locate the option for the 'Play next episode automatically). Could use a little help from you guys, thanks.
Happy2Play 9444 Posted May 20, 2024 Posted May 20, 2024 7 hours ago, cochize1 said: @SrVirtual @Happy2Play @CarlosLima Coming back to an old thread... I can't seem to find a way to turn these 3 settings OFF by default in usersettingsbuilder.js file (can't even locate the option for the 'Play next episode automatically). Could use a little help from you guys, thanks. The second two are off by default. 1) disable cinemamode Quote UserSettings.prototype.enableCinemaMode = function (val) { return null != val ? this.set("enableCinemaMode", val.toString(), !1) : !(val = this.get("enableCinemaMode", !0)) || "false" !== val } 2) not sure where this is but disabled by default. But appear directly tied to User Config config.xml as the option is not cleared when cache is cleared. Requires restart if edited to reload user. Quote <EnableNextEpisodeAutoPlay>false</EnableNextEpisodeAutoPlay> 3) default disabled code Quote UserSettings.prototype.enableNextVideoInfoOverlay = function (val) { return null != val ? this.set("enableNextVideoInfoOverlay", val.toString()) : "false" !== (val = this.get("enableNextVideoInfoOverlay")) } So 2 would be a persistent config while 1 and 3 are cache configs per my understanding.
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