From f41501e77c2a7db8b3f53551c13ec5ea39ae268b Mon Sep 17 00:00:00 2001 From: Blacktwin Date: Tue, 16 Oct 2018 09:38:15 -0400 Subject: [PATCH] pull show title from Playlists --- utility/off_deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/off_deck.py b/utility/off_deck.py index 0717d8b..776cf7b 100644 --- a/utility/off_deck.py +++ b/utility/off_deck.py @@ -108,7 +108,7 @@ if __name__ == '__main__': if opts.shows and not opts.playlist: to_remove = opts.shows elif not opts.shows and opts.playlist: - to_remove = [x.title for x in plex_server.playlist(opts.playlist).items()] + to_remove = [x.grandparentTitle for x in plex_server.playlist(opts.playlist).items()] if not to_remove: print('Nothing to remove...')