We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e404cb commit a322574Copy full SHA for a322574
plexapi/video.py
@@ -30,7 +30,7 @@ def _loadData(self, data):
30
self._data = data
31
self.listType = 'video'
32
self.addedAt = utils.toDatetime(data.attrib.get('addedAt'))
33
- self.key = data.attrib.get('key')
+ self.key = data.attrib.get('key', '')
34
self.lastViewedAt = utils.toDatetime(data.attrib.get('lastViewedAt'))
35
self.librarySectionID = data.attrib.get('librarySectionID')
36
self.ratingKey = utils.cast(int, data.attrib.get('ratingKey'))
0 commit comments