Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiniGandhi authored Jul 3, 2023
1 parent e936121 commit 520862e
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:<COLOR>!important;
Expand All @@ -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;
}
Expand All @@ -47,14 +47,14 @@ The following is removed: </br>
- User icon </br>
- Cast button (still displayed on mobile) </br>
- 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:</br>
```
```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:**
Expand All @@ -66,22 +66,22 @@ 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:</br>
```
```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:</br>
```
```css
@import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/PlayerRevamp.css");
```
![](/screenshots/PlayerRevamp.png)

#### Trimmed Quality Section

If you want to have a slightly less overwhelming quality menu (screenshot below), import this:</br>
```
```css
@import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/TrimmedQualitySection.css");
```
![](/screenshots/TrimmedQualitySection.png)
Expand All @@ -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: </br>
![ ](/screenshots/Slim-ActiveDevices.png)</br>
```
```css
@import url("https://cdn.jsdelivr.net/gh/ShiniGandhi/JellyTheme@latest/latest/Slim-ActiveDevices.css");
```
</br>
Expand All @@ -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.</br>

#### Modern Libraries

![ ](/screenshots/MainPageTabs.png)</br>
![ ](/screenshots/LibraryTabs.png)</br>
If you want to have a more modern look to the library list (more AppleTV-esque), import this:</br>
```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.</br>
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. </br>
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). </br>
Expand Down

0 comments on commit 520862e

Please sign in to comment.