Fix Plex handling of clips (#46667)

This commit is contained in:
jjlawren 2021-02-23 15:38:24 -06:00 committed by GitHub
parent eb8d723689
commit 272e975a52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ class PlexSession:
self.media_library_title = "Live TV" self.media_library_title = "Live TV"
else: else:
self.media_library_title = ( self.media_library_title = (
media.section().title if media.section() is not None else "" media.section().title if media.librarySectionID is not None else ""
) )
if media.type == "episode": if media.type == "episode":