Kometa-Team/Kometa

[`metadata_backup`] 'Show' object has no attribute 'editionTitle'

YozoraXCII opened this issue · 0 comments

Version Number

1.20

What branch are you on?

nightly

Describe the Bug

When using the metadata backup operation, the below error appears when running against a show library:

[2024-03-22 12:43:51,550] [operations.py:1114]        [INFO]     |============================= Metadata Backup fo
[2024-03-22 12:43:51,550] [operations.py:1115]        [INFO]     |                                                
[2024-03-22 12:43:51,551] [operations.py:1116]        [INFO]     | Metadata Backup Path: config/metadata/Airing An
[2024-03-22 12:43:51,551] [operations.py:1117]        [INFO]     |                                                
[2024-03-22 12:43:54,538] [plex.py:595]               [INFO]     | Loading All Shows from Library: Airing Anime   
[2024-03-22 12:43:54,712] [plex.py:615]               [INFO]     | Loaded 72 Shows                                
[2024-03-22 12:44:00,002] [plex_meta_manager.py:709]  [DEBUG]    | Traceback (most recent call last):             
                                                                 |   File "C:\Users\Media\Documents\Plex-Meta-Mana
                                                                 |     library_status[library.name]["Library Opera
                                                                 |                                                
                                                                 |   File "C:\Users\Media\Documents\Plex-Meta-Mana
                                                                 |     map_key, attrs = self.library.get_locked_at
                                                                 |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                                 |   File "C:\Users\Media\Documents\Plex-Meta-Mana
                                                                 |     if item.editionTitle:                      
                                                                 |        ^^^^^^^^^^^^^^^^^                       
                                                                 |   File "C:\Users\Media\Documents\Plex-Meta-Mana
                                                                 |     value = super(PlexPartialObject, self).__ge
                                                                 |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                                 | AttributeError: 'Show' object has no attribute 
                                                                 |                                                
[2024-03-22 12:44:00,008] [plex_meta_manager.py:710]  [CRITICAL] | 'Show' object has no attribute 'editionTitle'  

Relevant Collection/Overlay/Playlist Definition

libraries:
  Airing Anime:
    operations:
      metadata_backup:                        
        path: config/metadata/Airing Anime.yml
        # add_blank_entries: false

Logs

https://gist.github.com/YozoraXCII/db8f634c09c904fc1db71308a6db5eee