From 520862e2ba488f6b0f2498a7433ce1ae9c414bd9 Mon Sep 17 00:00:00 2001 From: ShiniGandhi <135203036+ShiniGandhi@users.noreply.github.com> Date: Mon, 3 Jul 2023 08:29:51 +0300 Subject: [PATCH] Update README.md --- README.md | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index dc1cfcb..57c70c0 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Since this is my personal theme, it might change however I see fit. If you don't ### Required Put these at the top of your custom CSS: -``` +```css @import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/JellyTheme.css"); :root { --accent:!important; @@ -30,7 +30,7 @@ Put these at the top of your custom CSS: If you want a slightly cleaner UI, with no backdrop in the main menu and a few more things, use `JellyTheme-Cleaner.css` rather than `JellyTheme.css`. If you don't use video backdrops, add this line to display a poster on mobile: -``` +```css .layout-mobile .primaryImageWrapper > img { display:block!important; } @@ -47,14 +47,14 @@ The following is removed:
- User icon
- Cast button (still displayed on mobile)
- Display and Home Preferences in User Settings -``` +```css @import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/Cleaner-UI.css"); ``` #### Resize Some Elements If you want Continue Watching, Next Up and the list of seasons to be smaller, as shown in my screenshots, import this:
-``` +```css @import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/Resize-Cards.css"); ``` **Keep in mind that for this to work your home screen order must be as follow:** @@ -66,14 +66,14 @@ If you want Continue Watching, Next Up and the list of seasons to be smaller, as #### Right-to-Left Support If your server's metadata is in Hebrew, Arabic (or any other language that is written right-to-left, import this:
-``` +```css @import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/RTL-Fix.css"); ``` #### Revamped video player If you want the revamped video player, optimized for most screen resolutions and scales, (screenshot below), import this:
-``` +```css @import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/PlayerRevamp.css"); ``` ![](/screenshots/PlayerRevamp.png) @@ -81,7 +81,7 @@ If you want the revamped video player, optimized for most screen resolutions and #### Trimmed Quality Section If you want to have a slightly less overwhelming quality menu (screenshot below), import this:
-``` +```css @import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/TrimmedQualitySection.css"); ``` ![](/screenshots/TrimmedQualitySection.png) @@ -91,7 +91,7 @@ If you want to have a slightly less overwhelming quality menu (screenshot below) If you want slimmer Active Devices entries like here (At the moment this ~~only looks good in 1080p~~ looks great in 4K and 1440p, but not perfect in 1080p (how the turntables huh), still working on scaling it), Import this:
![ ](/screenshots/Slim-ActiveDevices.png)
-``` +```css @import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/Slim-ActiveDevices.css"); ```
@@ -101,6 +101,20 @@ NOTE: The logo will be pretty low resolution because it's generating a low resol 2. Find `tag:a.ParentLogoImageTag` and set the values of `maxHeight` and `maxWidth` to `500`. 3. Clear browser cache.
+#### Modern Libraries + +![ ](/screenshots/MainPageTabs.png)
+![ ](/screenshots/LibraryTabs.png)
+If you want to have a more modern look to the library list (more AppleTV-esque), import this:
+```css +@import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/New-Libraries.css"); +``` +Also, you may have noticed that in the screenshot I provided the search button was moved to the menu bar.
+To do this, add the following to your `main.*******.bundle.js` file, right after `name: d.ZP.translate("Favorites")`: +```js +, { name: d.ZP.translate("Search"), href: 'search.html' } +``` + ## Installation Instuctions - Advanced Extras These require modifying some of the JavaScript files that Jellyfin generates. They will be different for every instance, and probably with different names, so make sure you back up these files before making any changes.
These work best if you're running Jellyfin inside a Docker container, so you can make sure the files won't get overwritten (which can cause issues if something major changes in Jellyfin).