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

metadata_backup.add_blank_entries doesn't use new matching strategy #1911

Closed
ImDevinC opened this issue Mar 6, 2024 · 2 comments
Closed
Assignees
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet

Comments

@ImDevinC
Copy link

ImDevinC commented Mar 6, 2024

Version Number

1.20.0

What branch are you on?

master

Describe the Bug

For movies that have the same name, but different year, IE: Mean Girls (2004) and Mean Girls (2024), if you use the operations.metadata_backup.add_blank_entries: true option, the movies are stored in the backup file without the proper match details.

Using this config:

settings:
  download_url_assets: true
plex:
  url: http://plex.mediaserver:32400
  token: <<PLEX_SECRET_TOKEN>>
tmdb:
  apikey: <<TMDB_TOKEN>>
  language: en
libraries:
  Movies:
    metadata_files:
      - file: /config/movies.yml
    operations:
      metadata_backup:
        path: /assets/movies-backup.yml
        add_blank_entries: true

When you run PMM you get the following backup file

metadata:
  Mean Girls (2004):
    title: Mean Girls
    year: 2004
  Mean Girls (2024):
    title: Mean Girls
    year: 2024

I would expect this backup file to be in the new match format of

metadata:
  Mean Girls (2004):
    match:
      title: Mean Girls
      year: 2004
  Mean Girls (2024):
    match:
      title: Mean Girls
      year: 2024

Relevant Collection/Overlay/Playlist Definition

No response

Logs

No response

@ImDevinC ImDevinC added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Mar 6, 2024
@meisnate12
Copy link
Member

@ImDevinC can you post a log a ran the backup and it generated the entries fine including the match attribute

Did you try on nightly or master? if not nightly can you try there

Did the backup file already exist before the run? if so can you try it again letting it generate a new backupfile

@ImDevinC
Copy link
Author

ImDevinC commented Mar 6, 2024

Using nightly does solve this. I don't have an easy way to run master since I'm using the provided docker builds, but since it's in nightly I can just wait for the next release of that. Thanks.

@ImDevinC ImDevinC closed this as completed Mar 6, 2024
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 status:not-yet-viewed I haven't reviewed the Feature or Bug yet
Projects
None yet
Development

No branches or pull requests

2 participants