We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4780026 commit e35c6bcCopy full SHA for e35c6bc
plexapi/media.py
@@ -158,11 +158,8 @@ def _loadData(self, data):
158
self.videoProfile = data.attrib.get('videoProfile')
159
160
def _buildStreams(self, data):
161
- streams = []
162
- for cls in (VideoStream, AudioStream, SubtitleStream, LyricStream):
163
- items = self.findItems(data, cls, streamType=cls.STREAMTYPE)
164
- streams.extend(items)
165
- return streams
+ """ Returns a list of :class:`~plexapi.media.MediaPartStream` objects in this MediaPart. """
+ return self.findItems(data)
166
167
@property
168
def hasPreviewThumbnails(self):
0 commit comments