mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-25 05:00:22 +00:00
correct new podcasts method
This commit is contained in:
parent
6469e68070
commit
25431b0e9a
1 changed files with 4 additions and 2 deletions
|
@ -640,10 +640,12 @@ class MyPlexAccount(PlexObject):
|
|||
elem = ElementTree.fromstring(req.text)
|
||||
return self.findItems(elem)
|
||||
|
||||
def podcasts(self, maxresults=50):
|
||||
def podcasts(self):
|
||||
""" Returns a list of Podcasts Hub items :class:`~plexapi.library.Hub`
|
||||
"""
|
||||
return self.batchingItems(self.PODCASTS, maxresults)
|
||||
req = requests.get(self.PODCASTS, headers={'X-Plex-Token':self._token})
|
||||
elem = ElementTree.fromstring(req.text)
|
||||
return self.findItems(elem)
|
||||
|
||||
def tidal(self, maxresults=50):
|
||||
""" Returns a list of tidal Hub items :class:`~plexapi.library.Hub`
|
||||
|
|
Loading…
Reference in a new issue