Skip to content

feat(originals-to-assets): add USE_ASSET_TYPE_SUBFOLDERS option#66

Open
mjlynden wants to merge 2 commits intochazlarson:mainfrom
mjlynden:use-asset-type-for-subfolders-in-assets-folder
Open

feat(originals-to-assets): add USE_ASSET_TYPE_SUBFOLDERS option#66
mjlynden wants to merge 2 commits intochazlarson:mainfrom
mjlynden:use-asset-type-for-subfolders-in-assets-folder

Conversation

@mjlynden
Copy link
Copy Markdown

Summary

Adds a new USE_ASSET_TYPE_SUBFOLDERS option to Kometa/originals-to-assets.py that places assets into movie/ or show/ subfolders within the asset directory. This is useful for Kometa setups that separate movie and TV assets at the folder level.

  • Introduces the USE_ASSET_TYPE_SUBFOLDERS env var, documented and defaulted to 0 in both .env.example files
  • Updates README.md with the full matrix of path structures across all combinations of USE_ASSET_FOLDERS and USE_ASSET_TYPE_SUBFOLDERS, covering all media types (movie, show, season, episode)
  • Bumps version to 0.0.7

Path structure with USE_ASSET_TYPE_SUBFOLDERS=1

USE_ASSET_FOLDERS Type Path
1 movie <ASSET_PATH>/movie/<ASSET_NAME>/poster.jpg
show <ASSET_PATH>/show/<ASSET_NAME>/poster.jpg
season <ASSET_PATH>/show/<ASSET_NAME>/Season##.jpg
episode <ASSET_PATH>/show/<ASSET_NAME>/S##E##.jpg
0 movie <ASSET_PATH>/movie/<ASSET_NAME>.jpg
show <ASSET_PATH>/show/<ASSET_NAME>.jpg
season <ASSET_PATH>/show/<ASSET_NAME>_Season##.jpg
episode <ASSET_PATH>/show/<ASSET_NAME>_S##E##.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant