• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Guides, Walkthroughs & Tutorials [Guide] Jellyfin Service Automation

     
    • 0 Vote(s) - 0 Average

    [Guide] Jellyfin Service Automation

    Start and stop the Jellyfin server automatically, Run additional .bat files at startup
    Damocles_
    Offline

    Junior Member

    Posts: 8
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    Country:France
    #1
    2025-08-16, 08:08 PM (This post was last modified: 2025-08-17, 02:08 AM by Damocles_. Edited 15 times in total.)
    Jellyfin Service Automation :  WIP.JellyfinServiceAutomation.zip 

    - Start and stop the Jellyfin server automatically at launching the interface and closing it.
    - **Custom scripts** - Run additional .bat files at startup (ex : MountNetworkDrives, SpinUpDrives)
    - Works with Jellyfin Media Player, web browsers (recommended), or you can enter any executable path manually (for using Jellyfin MPV Shim or anything else)

    ⚠️ Requirements
    - **Jellyfin Server installed as Windows Service** (select this option during Jellyfin Server installation)
    - **A web browser** (recommended) or Jellyfin Media Player, you can enter any executable path manually (for using Jellyfin MPV Shim or anything else)

    **TIPS**:
    - After a new Jellyfin Server Update, you may need to put back "Jellyfin Server" to "manual" in services.msc (search and run "services" in windows start menu)
    - **Notifications** - Optional Windows notifications
    - Edit config.ini to change settings path**: C:\ProgramData\JellyfinServiceAutomation\
    - **Custom path** - You can enter any executable path manually (for using Jellyfin MPV Shim or anything else)
    - **Browser Benefits**: Web browsers allow you to use extensions for enhanced functionality:
    - Use Firefox/LibreWolf/Waterfox as a dedicated browser just for jellyfin to install all of the firefox ADD-ONS you wants:
    addons.mozilla.org
    - Quick searches on YouTube, IMDB, TMDB searches, etc. : https://addons.mozilla.org/fr/firefox/ad...on-search/
    - Replaces jellyfin ratings with ratings from various sources: https://github.com/Druidblack/jellyfin_ratings
    - Clickable link to the local media folder (from the video media information panel) https://github.com/Damocles-fr/PPJF
    - Swift Selection Search : https://addons.mozilla.org/fr/firefox/ad...on-search/
    Select text and one click search selection on IMDB, YouTube, any websites you configure...
    - **PotPlayer as a player** - Browsers only, with my Scripts and Guide: https://github.com/Damocles-fr/PPJF
    **Jellyfin Media Player** does NOT support external players (like PotPlayer), browser extensions, or plugins.


    📦 Installation
    1. Ensure Jellyfin is installed as Windows Service
    2. Run installer as administrator
    3. Select your browser from the list OR choose custom path option
    4. Configure options (notifications, scripts)
    5. Use desktop shortcut
    6. After a new Jellyfin Server Update, you may need to put back "Jellyfin Server" to "manual" in services.msc (search and run "services" in windows start menu)

    The installer automatically creates a Windows scheduled task to bypass UAC prompts.

     🎮 Daily Usage
    **Start**: Double-click "Jellyfin Service" on desktop 
    **Stop**: Close your browser - Jellyfin Server service stops automatically

     🔧 Custom Scripts
    Add up to 5 .bat scripts to run at startup:
    1. Place scripts in installation folder
    2. Reference in config.ini or during installation
    3. Scripts run in parallel at startup

     ⚙️ Configuration
    Edit C:\ProgramData\JellyfinServiceAutomation\config.ini:

    ini
    CLIENT_NAME=Firefox
    CLIENT_PATH=C:\Program Files\Mozilla Firefox\firefox.exe
    CLIENT_TYPE=BROWSER
    JELLYFIN_URL=http://localhost:8096
    SHOW_NOTIFICATIONS=1
    NOTIFICATION_SOUND=0

     🗑️ Uninstall
    Use "Uninstall Jellyfin Automation" shortcut on:
    - Desktop
    - Or Installation folder: C:\ProgramData\JellyfinServiceAutomation\

    The uninstaller will:
    - Remove the scheduled task
    - Delete all files and folders
    - Remove desktop shortcuts
    - Stop Jellyfin service if running

     ❓ Troubleshooting
    **Service won't start or start at session opening**
    - Verify Jellyfin was installed as Windows Service during setup
    - Check services.msc for "Jellyfin Server", it needs to be in manual mode

    **Client not found**
    - Check path in config.ini
    - Reinstall and select correct browser

    **Task scheduler issues**
    1. First try: Delete task and reinstall
     
      schtasks /delete /tn "JellyfinServiceAutomation" /f
     

    2. If that fails, import manually:
      - Open Task Scheduler (search in Windows)
      - Click "Import Task"
      - Browse to: C:\ProgramData\JellyfinServiceAutomation\JellyfinTask.xml
      - Click OK
      - In the new windows, click Users or groups, then find your UserName, you can type your Windows Username in the box then click Verify, then OK
    Save & exit

     📊 Supported Browsers
    The installer will detect installed browsers automatically.

    **Best for PotPlayer:**
    - **LibreWolf** ⭐ (Recommended)
    - **Firefox** ⭐ (All editions)
    - **Waterfox** ⭐ (All editions)

    **Also supported:**
    - Chrome
    - Brave
    - Vivaldi
    - Opera/Opera GX
    - Zen Browser
    - Arc
    - **Custom path** - You can enter any executable path manually (for using Jellyfin MPV Shim or anything else)


    GitHub: https://github.com/Damocles-fr/
    PotPlayer Integration & Jellyfin Service Automation : https://github.com/Damocles-fr/PPJF
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    [Guide] Jellyfin Service Automation - by Damocles_ - 2025-08-16, 08:08 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode