Skip to content

Instantly share code, notes, and snippets.

@paulo-erichsen
Created October 11, 2024 14:36
Show Gist options
  • Save paulo-erichsen/e0e7a87579573bd2dcf47f8b5f4819de to your computer and use it in GitHub Desktop.
Save paulo-erichsen/e0e7a87579573bd2dcf47f8b5f4819de to your computer and use it in GitHub Desktop.
kometa_playlist_error
|====================================================================================================|
| Playlists |
|====================================================================================================|
| |
|====================================================================================================|
| sesh Playlist |
|====================================================================================================|
| |
|==================================== Validating sesh Attributes ====================================|
| |
| Validating Method: libraries |
| Value: music |
| |
| Validating Method: sync_to_users |
| Value: |
| |
| Validating Method: sync_mode |
| Value: sync |
| |
| Validating Method: plex_search |
| Value: {'any': {'all': [{'album_title.is': 'BUSH', 'track_title.is': 'California Roll'}, {'album_title.is': 'Caress your Soul', 'track_title.is': 'Australia Street'}]}} |
| |
| Validation Successful |
| |
|====================================== Running sesh Playlist =======================================|
| |
| Sync Mode: sync |
| |
| Builder: plex_search: (8, "Plex Artist Search\nSort By: ['title.asc']\nFilter:\n Match any of the following:\n Match all of the following:\n Album Title is BUSH\n Track Title is California Roll\n Match all of the following:\n Album Title is Caress your Soul\n Track Title is Australia Street", '?type=8&sort=titleSort&push=1&push=1&album.title%3D=BUSH&and=1&track.title%3D=California%20Roll&pop=1&or=1&push=1&album.title%3D=Caress%20your%20Soul&and=1&track.title%3D=Australia%20Street&pop=1&pop=1') |
| |
| Processing Plex Artist Search |
| Sort By: ['title.asc'] |
| Filter: |
| Match any of the following: |
| Match all of the following: |
| Album Title is BUSH |
| Track Title is California Roll |
| Match all of the following: |
| Album Title is Caress your Soul |
| Track Title is Australia Street |
| |
| 2 IDs Found |
| |
| |
|===================================== Adding to sesh Playlist ======================================|
| |
| 1/2 | sesh Playlist | + | Snoop Dogg |
| 2/2 | sesh Playlist | + | Sticky Fingers |
| |
| Playlist: sesh created |
| |
| 2 Items Processed 2 Items Added |
| |
|================================ Updating Metadata of sesh Playlist ================================|
| |
| |
|====================================== Sorting sesh Playlist =======================================|
| |
| Item with title "Snoop Dogg" not found in the playlist |
| Item with title "Snoop Dogg" not found in the playlist |
| Item with title "Snoop Dogg" not found in the playlist |
| Item with title "Snoop Dogg" not found in the playlist |
| Item with title "Snoop Dogg" not found in the playlist |
| Item with title "Snoop Dogg" not found in the playlist |
| Traceback (most recent call last): |
| File "/app/kometa/modules/plex.py", line 643, in moveItem |
| obj.moveItem(item, after=after) |
| File "/lsiopy/lib/python3.12/site-packages/plexapi/playlist.py", line 278, in moveItem |
| playlistItemID = self._getPlaylistItemID(item) |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "/lsiopy/lib/python3.12/site-packages/plexapi/playlist.py", line 134, in _getPlaylistItemID |
| raise NotFound(f'Item with title "{item.title}" not found in the playlist') |
| plexapi.exceptions.NotFound: Item with title "Snoop Dogg" not found in the playlist |
| |
| During handling of the above exception, another exception occurred: |
| |
| Traceback (most recent call last): |
| File "/lsiopy/lib/python3.12/site-packages/tenacity/__init__.py", line 478, in __call__ |
| result = fn(*args, **kwargs) |
| ^^^^^^^^^^^^^^^^^^^ |
| File "/app/kometa/modules/plex.py", line 646, in moveItem |
| raise Failed("Move Failed") |
| modules.util.Failed: Move Failed |
| |
| The above exception was the direct cause of the following exception: |
| |
| Traceback (most recent call last): |
| File "/app/kometa/kometa.py", line 1087, in run_playlists |
| builder.sort_collection() |
| File "/app/kometa/modules/builder.py", line 3502, in sort_collection |
| self.library.moveItem(self.obj, item, previous) |
| File "/lsiopy/lib/python3.12/site-packages/tenacity/__init__.py", line 336, in wrapped_f |
| return copy(f, *args, **kw) |
| ^^^^^^^^^^^^^^^^^^^^ |
| File "/lsiopy/lib/python3.12/site-packages/tenacity/__init__.py", line 475, in __call__ |
| do = self.iter(retry_state=retry_state) |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "/lsiopy/lib/python3.12/site-packages/tenacity/__init__.py", line 376, in iter |
| result = action(retry_state) |
| ^^^^^^^^^^^^^^^^^^^ |
| File "/lsiopy/lib/python3.12/site-packages/tenacity/__init__.py", line 419, in exc_check |
| raise retry_exc from fut.exception() |
| tenacity.RetryError: RetryError[<Future at 0x73fa1146a4e0 state=finished raised Failed>] |
| |
| Unknown Error: RetryError[<Future at 0x73fa1146a4e0 state=finished raised Failed>] |
| |
| |
|====================================================================================================|
| Finished sesh Playlist |
| Playlist Run Time: 0:00:51 |
|====================================================================================================|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment