• 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 Script to replace dashes with colons in movie titles

     
    • 0 Vote(s) - 0 Average

    Script to replace dashes with colons in movie titles

    BenMcLean
    Offline

    Junior Member

    Posts: 2
    Threads: 2
    Joined: 2023 Jul
    Reputation: 0
    #1
    2023-09-07, 10:55 PM
    I wrote a Python script to automate replacing dashes with colons in my Jellyfin movie titles and movie sort titles.
    https://gist.github.com/BenMcLean/c6559e...4f459231a7
    What prompted me to write this is that I have a Jellyfin library entirely dedicated to concert films (and music/band related) but themoviedb metadata doesn't follow a consistent style guide on whether to use hypens or colons to separate the band name from the rest of the title, resulting in my library not consitsently showing things in alphabetical order. Changing all the titles (and sorttitles) to use just colons all the time fixes that. I chose colons because they take up less space visually.
    The basic procedure shown in this script is generalizable to any automatic change you want to script for your .nfo metadata.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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