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

Error with item_episode_ordering #228

Closed
ngInit opened this issue May 4, 2021 · 7 comments · Fixed by #240
Closed

Error with item_episode_ordering #228

ngInit opened this issue May 4, 2021 · 7 comments · Fixed by #240
Assignees
Labels
bug Bug is with Plex Meta Manager

Comments

@ngInit
Copy link

ngInit commented May 4, 2021

Wiki page

Using:

    item_episode_ordering: tvdb_aired

Results in this error:

[2021-05-04 02:47:15,298] [builder.py:419]            [DEBUG]    | Validating Method: item_episode_ordering                                                           |
[2021-05-04 02:47:15,298] [builder.py:420]            [DEBUG]    | Value: tvdb_aired                                                                                  |

[2021-05-04 02:25:46,951] [plex.py:623]               [DEBUG]    | Details Update: {'showOrdering': 'airing'}                                                         |
[2021-05-04 02:25:47,264] [util.py:313]               [DEBUG]    | Traceback (most recent call last):                                                                 |
                                                                 |   File "/modules/config.py", line 624, in run_collection
                                                                 |     builder.update_details(plex_collection)
                                                                 |   File "/modules/builder.py", line 1283, in update_details
                                                                 |     self.library.edit_item(item, item.title, "Movie" if self.library.is_movie else "Show", advance_edits, advanced=True)
                                                                 |   File "/modules/plex.py", line 626, in edit_item
                                                                 |     item.editAdvanced(**edits)
                                                                 |   File "/usr/local/lib/python3.9/site-packages/plexapi/mixins.py", line 48, in editAdvanced
                                                                 |     raise NotFound('%s not found in %s' % (value, enumValues))
                                                                 | plexapi.exceptions.NotFound: airing not found in ['', 'tmdbAiring', 'aired', 'dvd', 'absolute']
                                                                 | 
[2021-05-04 02:25:47,264] [config.py:631]             [ERROR]    | Unknown Error: airing not found in ['', 'tmdbAiring', 'aired', 'dvd', 'absolute']
[2021-05-04 02:25:47,264] [config.py:565]             [INFO]     | 

I also tried changing it to this based on the error message:

    item_episode_ordering: aired

which resulted in this error:

[2021-05-04 02:45:22,879] [builder.py:419]            [DEBUG]    | Validating Method: item_episode_ordering                                                           |
[2021-05-04 02:45:22,879] [builder.py:420]            [DEBUG]    | Value: aired                                                                                       |
[2021-05-04 02:45:22,879] [builder.py:525]            [ERROR]    | Metadata Error: aired item_episode_ordering attribute invalid                                      |

meisnate12 added a commit that referenced this issue May 5, 2021
@meisnate12
Copy link
Member

fixed in develop

@meisnate12 meisnate12 self-assigned this May 5, 2021
@meisnate12 meisnate12 added the bug Bug is with Plex Meta Manager label May 5, 2021
@ngInit
Copy link
Author

ngInit commented May 5, 2021

Still getting this error. Looks like the same error, but I didn't look too closely

[2021-05-05 02:20:20,128] [builder.py:419]            [DEBUG]    | Validating Method: item_episode_ordering                                                           |
[2021-05-05 02:20:20,128] [builder.py:420]            [DEBUG]    | Value: tvdb_aired   
_______________________________________________________________________________________________

2021-05-05 02:20:21,865] [builder.py:1201]           [INFO]     | Detail: summary updated Collection Summary                                                         |
[2021-05-05 02:20:22,548] [plex.py:623]               [DEBUG]    | Details Update: {'showOrdering': 'airing'}                                                         |
[2021-05-05 02:20:22,832] [util.py:313]               [DEBUG]    | Traceback (most recent call last):                                                                 |
                                                                 |   File "/modules/config.py", line 624, in run_collection
                                                                 |     builder.update_details(plex_collection)
                                                                 |   File "/modules/builder.py", line 1283, in update_details
                                                                 |     self.library.edit_item(item, item.title, "Movie" if self.library.is_movie else "Show", advance_edits, advanced=True)
                                                                 |   File "/modules/plex.py", line 626, in edit_item
                                                                 |     item.editAdvanced(**edits)
                                                                 |   File "/usr/local/lib/python3.9/site-packages/plexapi/mixins.py", line 48, in editAdvanced
                                                                 |     raise NotFound('%s not found in %s' % (value, enumValues))
                                                                 | plexapi.exceptions.NotFound: airing not found in ['', 'tmdbAiring', 'aired', 'dvd', 'absolute']
                                                                 | 
[2021-05-05 02:20:22,832] [config.py:631]             [ERROR]    | Unknown Error: airing not found in ['', 'tmdbAiring', 'aired', 'dvd', 'absolute']

meisnate12 added a commit that referenced this issue May 5, 2021
@meisnate12
Copy link
Member

different error actually lol but its fix in develop

@ngInit
Copy link
Author

ngInit commented May 5, 2021

[2021-05-05 18:06:56,818] [builder.py:1201]           [INFO]     | Detail: summary updated Collection Summary                                                         |
[2021-05-05 18:06:57,481] [util.py:313]               [DEBUG]    | Traceback (most recent call last):                                                                 |
                                                                 |   File "/modules/config.py", line 631, in run_collection
                                                                 |     builder.update_details(plex_collection)
                                                                 |   File "/modules/builder.py", line 1281, in update_details
                                                                 |     if getattr(item, key) != options[method_data]:
                                                                 | KeyError: 'aired'
                                                                 | 
[2021-05-05 18:06:57,481] [config.py:638]             [ERROR]    | Unknown Error: 'aired'

@ngInit
Copy link
Author

ngInit commented May 12, 2021

[2021-05-05 18:06:56,818] [builder.py:1201]           [INFO]     | Detail: summary updated Collection Summary                                                         |
[2021-05-05 18:06:57,481] [util.py:313]               [DEBUG]    | Traceback (most recent call last):                                                                 |
                                                                 |   File "/modules/config.py", line 631, in run_collection
                                                                 |     builder.update_details(plex_collection)
                                                                 |   File "/modules/builder.py", line 1281, in update_details
                                                                 |     if getattr(item, key) != options[method_data]:
                                                                 | KeyError: 'aired'
                                                                 | 
[2021-05-05 18:06:57,481] [config.py:638]             [ERROR]    | Unknown Error: 'aired'

@meisnate12 Did you see this error?

@meisnate12
Copy link
Member

Nope missed this one thanks for following up I'll check it out later today when I get some time

meisnate12 added a commit that referenced this issue May 12, 2021
@meisnate12
Copy link
Member

fix should be in develop

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants