Skip to content

Tetrax-10/jellyfin-cover-art-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jellyfin Cover Art generator

Generates cover art for Jellyfin library in batch

Demo


Run coverart in terminal without any arguments (flags) to initiate interactive prompts.

demo preview

Note: This Screenshot reflects initial release and new changes may not be represented.


CLI docs

You can use this as a CLI by just giving a valid argument(s).

The above movies cover art can be created with this command.

coverart -p "dune.jpg" -t "Movies"

Arguments

args Full args Description Default Type
-p --path Path of the image or folder for batch processing CWD string
-o --out Output folder for generated cover arts CWD string
-t --title Cover art's title string
-sp --samepath When passing this argument, the output folder is set to the input folder. when using this the --out path should be relative present or not
-cli --cli Run as a CLI without changing default arguments. If no arguments are provided, the program will act in prompt mode. To prevent that, you can use this flag present or not
-v --version Prints version info present or not
-h --help Lists all commands with its description present or not

If you want to run this as a CLI without providing or changing default arguments then just run

coverart -cli

Development

Environment setup
git clone https://github.com/Tetrax-10/jellyfin-cover-art-generator.git
cd jellyfin-cover-art-generator
pip install pillow termcolor pyreadline3 pyinstaller
Run
python cover_art.py <args>
Build executable
pyinstaller cover_art.spec

Make sure to add your "dist" folder to the PATH so that when you run coveraet, it refers to your "dist" executable. Additionally, also ensure that the path of the installed "coverart.exe" is removed during development.

The installer is compiled with the Inno Setup Compiler, and there's no need to perform this step during the development of Jellyfin Cover Art Generator, as it is only used for distribution


Known bugs

  1. When this program is installed and uninstalled it leaves this string ";;" in PATH environmental variable, it's not an issue as it doesn't affect the env vars but its a bloat, So please help me fix this as I'm not good with Inno Setup Compiler

Assist required

  1. Help me to build/test executable for linux and mac os.
  2. Help me fix the known bugs.

Support

Like This Tool? Gimme Some ❤️ by Liking this Repository.