BobHasNoSoul / jellyfin-mods

This is just a guide for various modifications and dumping ground for jellyfin mods so i dont have to make a new jftool for every platform and revision
307 stars 16 forks source link

Force Enable Backdrop in Jellyfin 10.9.6 #27

Open sannidhyaroy opened 3 weeks ago

sannidhyaroy commented 3 weeks ago

In Jellyfin's earlier versions (don't exactly remember the version number), I tried the mod from this repository to force enable backdrop in Jellyfin and it worked. However, after updating to Jellyfin 10.9.6, I see this wasn't working, so I thought that the update might have rewritten the mod back to the initial code. But I found that my changes were still there, so I started to edit the return value and found that it works with either P or x.

So, in summary, for Jellyfin 10.9.6, to enable backdrop by default for new users, you ensure this string enableBackdrops:function() is set to return either P or x like:

enableBackdrops:function(){return P}
BobHasNoSoul commented 3 weeks ago

I will look into this, when I'm free from work

On Fri, 21 Jun 2024, 00:20 Sannidhya, @.***> wrote:

In Jellyfin's earlier versions (don't exactly remember the version number), I tried the mod from this repository to force enable backdrop in Jellyfin and it worked. However, after updating to Jellyfin 10.9.6, I see this wasn't working, so I thought that the update might have rewritten the mod back to the initial code. But I found that my changes were still there, so I started to edit the return value and found that it works with either P or x.

So, in summary, for Jellyfin 10.9.6, to enable backdrop by default for new users, you ensure this string enableBackdrops:function() is set to return either P or x like:

enableBackdrops:function(){return P}

— Reply to this email directly, view it on GitHub https://github.com/BobHasNoSoul/jellyfin-mods/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPTXLCS6FQRK33MVWT3ASDZINPUJAVCNFSM6AAAAABJU267PCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DKNBRHE2TGMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

BobHasNoSoul commented 1 week ago

sorry for the late response, between work life and being a dad this side project got put on the back burner.. but here is the answer to your question :)

Force Backdrops for all users (10.9.x)

in main.jellyfin.bundle.js simply search for enableBackdrops:function(){return _} and replace it with enableBackdrops:function(){return E} save and then you need reload your cache and reload the page.. if trying to do this without a full cache chear go to your.url/web/main.jellyfin.bundle.js and then press crtl+shift+r (in most browsers this clears it)

let me know how it goes so i can close this issue :)

sannidhyaroy commented 1 week ago

This works as well. I noted you can replace _ with either E, P, or x, and all three of them works.