Add locations for plexapi.photo.Photo and plexapi.video.Clip

This commit is contained in:
JonnyWong16 2020-10-16 12:31:18 -07:00
parent 8a953e789c
commit a649d2ec12
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 17 additions and 3 deletions

View file

@ -383,7 +383,7 @@ class Track(Audio, Playable):
@property
def locations(self):
""" This does not exist in plex xml response but is added to have a common
interface to get the location of the Artist
interface to get the location of the Track
"""
return [part.file for part in self.iterParts() if part]