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

Playlist move item doesn't seem to work #2265

Open
ronniehicks opened this issue Oct 10, 2024 · 4 comments
Open

Playlist move item doesn't seem to work #2265

ronniehicks opened this issue Oct 10, 2024 · 4 comments
Assignees
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet

Comments

@ronniehicks
Copy link

ronniehicks commented Oct 10, 2024

Version Number

2.0.2 (Docker: master)

What branch are you on?

master

Describe the Bug

After the first creation of the playlist, any attempt to reprocess and move items into the correct placement results in the following error, regardless of playlist:

[2024-10-10 15:07:13,844] [plex.py:645]               [ERROR]    | (404) not_found; (redacted)/playlists/23193/items/None/move <html><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html> |
[2024-10-10 15:07:13,844] [builder.py:3505]           [ERROR]    | Failed to Move Constantine S01E01: Season 1: Episode 1                                             |

Relevant Collection/Overlay/Playlist Definition

playlist_files:
- file: config/playlists.yml
- default: playlist
  template_variables:
    libraries: Movies, TV Shows
    radarr_add_missing: true
    sonarr_add_missing: true
playlists: 
  One Chicago (Timeline Order):
    sync_mode: sync
    libraries: TV Shows
    trakt_list: https://trakt.tv/lists/5415197
    summary: One Chicago
    radarr_add_missing: true
    sonarr_add_missing: true
  The Walking Dead (Timeline Order):
    sync_mode: sync
    libraries: TV Shows
    trakt_list: https://trakt.tv/lists/25146121
    summary: The Walking Dead
    radarr_add_missing: true
    sonarr_add_missing: true


### Logs

_No response_
@ronniehicks ronniehicks added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Oct 10, 2024
@chazlarson
Copy link
Contributor

I can't reproduce an issue here with Kometa 2.0.2.

I added each of the five shows in the Chicago playlist one at a time to a test library, running this playlist after each, so every run would be adding new episodes and inserting them into the playlist.

Each run went fine with no errors; the playlist was updated as expected each run.

I then ran twice after everything was in the library and playlist with no errors.

@chazlarson
Copy link
Contributor

Just repeated the experiment with Kometa 2.1.0 with the same result; no issues seen.

@chazlarson
Copy link
Contributor

chazlarson commented Oct 11, 2024

What's causing the issue here is that None should be an internal Plex ID:

(redacted)/playlists/23193/items/None/move

This is telling Plex to move an item with the ID of None within the playlist with ID 23193, which of course is going to fail and lead to: 404 Not Found since nothing will have that ID.

For some reason, Plex is having trouble getting its own ID for that item.

@ronniehicks
Copy link
Author

Any idea what to look for and where to see if something is happening on the plex side?

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

3 participants