Skip to content

🌟 Emby/Jellyfin Home Swiper Plugin,A modern, dynamic, customizable carousel for Emby/Jellyfin home screens. Showcases latest media beautifully.

Notifications You must be signed in to change notification settings

sohag1192/Emby-Home-Swiper-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


πŸ“Œ Project Overview Badge

Emby Home Swiper UI is a lightweight, responsive banner module for Emby Web (tested on version 4.9.1.80). It uses native Emby APIs to display auto-sliding content on the home page (#!/home) with minimal setup and no external dependencies.


πŸš€ Emby/Jellyfin Home Swiper UI A modern, highly customizable, and visually appealing home screen carousel/banner UI plugin designed for Emby and Jellyfin. This project replaces the default home screen library view with an interactive, dynamic Swiper carousel, perfect for showcasing your latest and most popular media.

Original inspiration: Nolovenodie/emby-crx

To manually update your index.html for integrating the Emby Home Swiper UI from the GitHub v1 folder and the Cangshui.net guide, follow these steps carefully.


βœ… Manual Update Instructions for index.html

1. Locate your Emby Web UI folder:

Depending on your setup:

  • Standard install (e.g., Synology):
    /volume1/@appstore/EmbyServer/system/dashboard-ui/

  • Docker install (e.g., lovechen/embyserver):
    /system/dashboard-ui/
    You can find it using:

    docker exec -it <container_id> find -name "index.html"

2. Download required files from GitHub:

From Emby-Home-Swiper-UI v1, download and place these files into your Emby Web UI folder:

  • home.js (main swiper logic)
  • style.css (optional, if styling is separate)
  • Any additional assets referenced in home.js

3. Edit index.html:

Open index.html in a text editor and insert the following lines before the closing </head> tag:

<!-- Emby Home Swiper UI -->
<script src="home.js"></script>

Make sure these files are present in the same folder as index.html.


4. Refresh Emby Web Interface:

After saving your changes, restart Emby or refresh the browser. The banner should now appear on the home page (#!/home).


5. Optional Debugging:

  • Open browser console (F12) and check for errors.

  • Run manually to test:

    HomeSwiper.init()


πŸ› οΈ Installation Instructions

  1. Download the script
    Save the file as home.js from the v1 folder.

  2. Place in Emby environment
    Copy home.js into your Emby server’s custom scripts or plugin folder.

  3. Inject into dashboard
    Add this line to your Emby dashboard HTML or use a browser extension like Tampermonkey:

    <script src="/path/to/home.js"></script>

🎯 v1 Features

βœ… Feature πŸ’‘ Description
Simple & Lightweight No external libraries required
Native API Support Uses ApiClient from Emby 4.9.1.80-90
Auto-sliding Banner Rotates every 8 seconds
Navigation Controls Includes previous/next buttons
Indicator Dots Clickable for direct navigation
Responsive Design Works on both desktop and mobile
Hover Pause Pauses rotation when hovered
Error Handling Graceful fallback if images or API fail
Lazy Loading Loads images only when needed for better performance

πŸ§ͺ Troubleshooting Tips

  • Open browser console (F12) and check for errors.

  • Test Emby API availability:

    console.log(ApiClient)
  • Confirm you're on the correct route: #!/home

  • Manually initialize the swiper:

    HomeSwiper.init()

πŸ“Έ Banner Previews

Screenshot 45
Screenshot 47


Library Access Functions

The uninitialized functions (saveUser, renderMediaFolders) suggest there is a separate settings component where users can manage their library visibility for the carousel. This code relies on global objects like ApiClient and require(["toast"]), common in the Emby/Jellyfin environment, to handle saving user preferences.


πŸ§ͺ Tested On

  • βœ… Emby Web v4.9.1.90
  • βœ… Chrome, Firefox, Edge
  • βœ… Mobile and desktop views

πŸ™‹ Contributing

If you find bugs or want to suggest improvements, please feel free to submit an issue or open a Pull Request on the original GitHub repository!


πŸ“¬ Contact via Telegram: @sohag1192

About

🌟 Emby/Jellyfin Home Swiper Plugin,A modern, dynamic, customizable carousel for Emby/Jellyfin home screens. Showcases latest media beautifully.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages