From dda9d76843f003b7e0af882c7c68ce4eed5c2d41 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Mon, 22 Feb 2021 17:06:14 -0800 Subject: [PATCH] String synced playlist rating key --- plexpy/plextv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/plextv.py b/plexpy/plextv.py index f7700ab0..0e5cf9aa 100644 --- a/plexpy/plextv.py +++ b/plexpy/plextv.py @@ -577,7 +577,7 @@ class PlexTV(object): plex = Plex(token=tokens['server_token']) for playlist in plex.plex.playlists(): if location_uri.endswith(playlist.guid): - rating_key = playlist.ratingKey + rating_key = str(playlist.ratingKey) # String for backwards consistency # Filter by rating_key if rating_key_filter and rating_key not in rating_key_filter: