• 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 Completely Disable External Posters

     
    • 0 Vote(s) - 0 Average

    Completely Disable External Posters

    TheJellyMan
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    #10
    2024-07-29, 05:16 AM
    I made a quick bash script to put all of the artwork into their own folder, then refreshed my library. This worked, and the new posters from themoviedb look more uniform, since a lot of the poster files I was saving were theatrical release posters with all the credits.

    Code:
    #!/bin/bash

    function yes () {
        find . -type f \( -iname *jpeg -o -iname *.jpg -o -iname *.png -o -iname *.webp -o -iname *.avif \) ! -path '*/artworks/*' -exec sh -c '
        for src; do
          dest=${src%/*}/artworks
          mkdir -p "$dest" && mv "$src" "$dest"
        done' sh {} +;
    }

    find . -type f \( -iname *jpeg -o -iname *.jpg -o -iname *.png -o -iname *.webp -o -iname *.avif \) ! -path '*/artworks/*' -exec sh -c '
    for src; do
      dest=${src%/*}/artworks
      echo mkdir -p "$dest" && echo mv "$src" "$dest"
    done' sh {} +

    read -p "Does this look right? (y or n) " yn

    case $yn in
        y ) yes;;
        n ) echo Try again...;
    exit;;
        * ) echo invalid response;
    exit 1;;
    esac

    exit

    I'm sure I could easily figure out a way to move them back if I should ever want to, so it's not a big deal
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Completely Disable External Posters - by TheJellyMan - 2024-05-16, 03:58 AM
    RE: Completely Disable External Posters - by TheDreadPirate - 2024-05-16, 03:08 PM
    RE: Completely Disable External Posters - by TheJellyMan - 2024-05-17, 05:05 AM
    RE: Completely Disable External Posters - by Efficient_Good_5784 - 2024-05-17, 11:15 AM
    RE: Completely Disable External Posters - by TheDreadPirate - 2024-05-17, 01:05 PM
    RE: Completely Disable External Posters - by Efficient_Good_5784 - 2024-05-17, 02:39 PM
    RE: Completely Disable External Posters - by TheDreadPirate - 2024-05-17, 03:19 PM
    RE: Completely Disable External Posters - by TheJellyMan - 2024-07-23, 05:17 PM
    RE: Completely Disable External Posters - by TheJellyMan - 2024-07-23, 05:46 PM
    RE: Completely Disable External Posters - by TheJellyMan - 2024-07-29, 05:16 AM

    • 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