8000
Skip to content

Latest commit

ย 

History

91 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Emby/Jellyfin Home Swiper UI

Badge

A modern, lightweight, and responsive Swiper carousel for Emby and Jellyfin.
This project replaces the default home screen library view with an interactive, dynamic banner slider โ€” perfect for showcasing your latest and most popular media.


๐Ÿ“Œ Project Overview

Emby Home Swiper UI is a 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.

Original inspiration:


โœ… Manual Update Instructions for index.html

  1. Locate your Emby Web UI folder:

    • Standard install (Synology):
      /volume1/@appstore/EmbyServer/system/dashboard-ui/
      
    • Docker install (lovechen/embyserver):
      /system/dashboard-ui/
      
      Find it with:
      docker exec -it <container_id> find -name "index.html"
  2. Download required files from GitHub: From Emby-Home-Swiper-UI home-sider-v1 , copy: From Emby-Home-Swiper-UI home-swiper-v2 , copy:

    • home.js (main swiper logic)
    • style.css (optional styling)
    • Any additional assets referenced in home.js
  3. Edit index.html: Insert before </head>:

    <!-- Emby Home Swiper UI -->
    <script src="home.js"></script>
  4. Refresh Emby Web Interface: 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.
    • Manually test:
      HomeSwiper.init()

๐Ÿ› ๏ธ Installation Instructions

  1. Download the script

  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

This project provides a simple, lightweight, and responsive banner component with native Emby API support.
Designed for performance and usability, it includes autoโ€‘sliding functionality, navigation controls, and error handling.


โœ… Feature List

Feature Description
Simple & Lightweight No external libraries required, minimal footprint
Native API Support Uses ApiClient from Emby 4.9.1.80 โ†’ 4.9.3.0 (tested and verified)
Auto-sliding Banner Rotates every 8 seconds automatically
Navigation Controls Includes previous/next buttons for manual navigation
Indicator Dots Clickable dots for direct navigation
Responsive Design Works seamlessly on both desktop and mobile
Hover Pause Rotation pauses when hovered for better user control
Error Handling Graceful fallback if images or API requests fail
Lazy Loading Loads images only when needed, improving 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 0
Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 4


๐Ÿงฉ Library Access Functions

The uninitialized functions (saveUser, renderMediaFolders) suggest a separate settings component where users can manage 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 Version 4.9.5.0
  • โœ… Chrome, Firefox, Edge
  • โœ… Mobile and desktop views

๐Ÿ™‹ Contributing

  • Issues and pull requests are welcome.
  • If you find bugs or want to suggest improvements, please open an issue or PR.

๐Ÿ“ฌ Contact via Mail: sohag1192@gmail.com

๐Ÿ“ฌ Contact via Telegram: Md_Sohag_Rana


๐ŸŒŸ Support

If you enjoy this project, please โญ it on GitHub โ€” your support motivates future updates!

About

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

Topics

Resources

Stars

57 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0