Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset directory per metadata file not working #1014

Closed
rfgamaral opened this issue Aug 27, 2022 · 1 comment
Closed

Asset directory per metadata file not working #1014

rfgamaral opened this issue Aug 27, 2022 · 1 comment
Assignees
Labels
bug Bug is with Plex Meta Manager priority:medium Medium priority bug or feature

Comments

@rfgamaral
Copy link

Version Number

1.17.3

What branch are you on?

master

Describe the Bug

I have my Movies library configured like this:

libraries:
  Movies:
    metadata_path:
      - file: config/metadata/Movies/collections.yml
        asset_directory: config/assets/Movies/Collections
      - file: config/metadata/Movies/posters.yml
        asset_directory: config/assets/Movies/Posters
    operations:
      delete_unmanaged_collections: false

And I also have these configuration options:

settings:
  cache: true
  cache_expiration: 60
  asset_directory: config/assets
  asset_folders: true
  asset_depth: 0
  create_asset_folders: true
  prioritize_assets: true
  dimensional_asset_rename: false
  download_url_assets: true
  show_missing_season_assets: false
  show_missing_episode_assets: false
  show_asset_not_needed: true
  sync_mode: sync

Now, when I run PMM, I expect that collection posters to be saved in config/assets/Movies/Collections, and movie posters to be saved in config/assets/Movies/Posters. But as you can see from the logs, that's not the case, only the collections metadata is saving posters in the correct folder, the posters metadata is saving them in the default config/assets.

Am I doing something wrong, or is this a bug?

Relevant Collection/Overlay/Playlist Definition

No response

Logs

https://gist.github.com/rfgamaral/1f969094d11aa48ed043f37edc5e5bc9

@rfgamaral rfgamaral added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Aug 27, 2022
@rfgamaral
Copy link
Author

I found a workaround to achieve what I was looking for, like this:

libraries:
  Movies:
    metadata_path:
      - file: config/metadata/Movies/metadata.yml
      - file: config/metadata/Movies/collections.yml
        asset_directory: config/assets/Movies/Collections
    settings:
      asset_directory: config/assets/Movies/Metadata # acts as the "default" for `Movies` library

But I still think that we should be able to overwrite the asset_directory for each metadata_path. It's working for the collections.yml one (i.e. collections:), but not for the metadata.yml (i.e. metadata:).

@meisnate12 meisnate12 added priority:medium Medium priority bug or feature and removed status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Sep 2, 2022
@meisnate12 meisnate12 changed the title [Bug]: Asset directory per metadata file not working Asset directory per metadata file not working Sep 2, 2022
meisnate12 added a commit that referenced this issue Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager priority:medium Medium priority bug or feature
Projects
None yet
Development

No branches or pull requests

2 participants