Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Tetrax-10/jellyfin-cover-art-generator
Generates cover arts for Jellyfin library in batch
https://github.com/Tetrax-10/jellyfin-cover-art-generator
cover-art cover-art-generator jellyfin pillow pillow-library python-cli python-pillow
Last synced: 3 months ago
JSON representation
Generates cover arts for Jellyfin library in batch
- Host: GitHub
- URL: https://github.com/Tetrax-10/jellyfin-cover-art-generator
- Owner: Tetrax-10
- License: mit
- Created: 2024-03-29T14:18:58.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-26T16:39:27.000Z (6 months ago)
- Last Synced: 2024-08-02T06:13:15.080Z (6 months ago)
- Topics: cover-art, cover-art-generator, jellyfin, pillow, pillow-library, python-cli, python-pillow
- Language: Python
- Homepage:
- Size: 554 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-jellyfin - jellyfin-cover-art-generator - CLI tool to generate Jellyfin styled library coverart from a backdrop. (👾 Other)
README
# 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](https://raw.githubusercontent.com/Tetrax-10/jellyfin-cover-art-generator/main/assets/preview.png)
**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.
```powershell
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
```sh
coverart -cli
```## Development
##### Environment setup
```sh
git clone https://github.com/Tetrax-10/jellyfin-cover-art-generator.git
cd jellyfin-cover-art-generator
pip install pillow termcolor pyreadline3 pyinstaller
```##### Run
```sh
python cover_art.py
```##### Build executable
```sh
pyinstaller cover_art.spec
```Make sure to add your "dist" folder to the PATH so that when you run coverart, 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](https://jrsoftware.org/isdl.php), 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.