• 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 General Questions Workaround to lower theme songs volume? Feature not very usable, volume is too high

     
    • 0 Vote(s) - 0 Average

    Workaround to lower theme songs volume? Feature not very usable, volume is too high

    Ted Hinklater
    Offline

    Member

    Posts: 155
    Threads: 8
    Joined: 2023 Nov
    Reputation: 23
    Country:United Kingdom
    #2
    2024-08-04, 06:26 PM (This post was last modified: 2024-08-04, 06:45 PM by Ted Hinklater. Edited 1 time in total.)
    I used ffmpeg, first to find all the theme.mp3 files, lower their volumes to 10%, and save that as theme_reduced.mp3, after that, a script to delete all the original theme.mp3 files and rename theme_reduced.mp3 files to just theme.mp3

    I did it that long way because I didn't want to just screw it up, you can probably modify the code to make it simpler
    Step 1: Edit your shows folder path and change ffmpeg_path to wherever you saved ffmpeg to. Save this code as a .bat and run

    Code:
    @echo off
    setlocal enabledelayedexpansion

    set "source_dir=F:\Shows"
    set "ffmpeg_path=C:\path\to\your\ffmpeg.exe"

    for /r "%source_dir%" %%A in (Theme.mp3) do (
        set "output_file=%%~dpnA_reduced.mp3"
        "%ffmpeg_path%" -i "%%A" -filter:a "volume=0.1" -vn "!output_file!" -y
        echo File !output_file! created with reduced volume.
    )

    echo All Theme.mp3 files processed.

    Step 2: Edit your Shows folder path, save as a .bat and run

    Code:
    @echo off
    setlocal enabledelayedexpansion

    set "source_dir=F:\Shows"

    for /r "%source_dir%" %%A in (Theme.mp3) do (
        echo Deleting "%%A"
        del "%%A"
    )

    for /r "%source_dir%" %%B in (Theme_reduced.mp3) do (
        set "file_path=%%B"
        set "file_name=%%~nxB"
        set "new_name=!file_name:Theme_reduced=Theme!"
        set "new_path=!file_path:%source_dir%=!"
        echo Renaming "%%B" to "!new_name!"
        ren "%%B" "!new_name!"
    )

    echo Cleanup complete.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Workaround to lower theme songs volume? Feature not very usable, volume is too high - by raulo1985 - 2024-08-04, 05:28 PM
    RE: Workaround to lower theme songs volume? Feature not very usable, volume is too high - by Ted Hinklater - 2024-08-04, 06:26 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