Add comments

This commit is contained in:
Michael Shepanski 2016-04-05 22:30:18 -04:00
parent 50ac2f55e5
commit a30f9a73a5

View file

@ -3,7 +3,6 @@
PlexAPI Utils
"""
import re
from requests import put
from datetime import datetime
from plexapi.compat import quote, urlencode
from plexapi.exceptions import NotFound, UnknownType, Unsupported
@ -21,6 +20,7 @@ def register_libtype(cls):
LIBRARY_TYPES[cls.TYPE] = cls
return cls
# This used to be a simple variable equal to '__NA__'. However, there has been need to
# compare NA against None in some use cases. This object allows the internals of PlexAPI
# to distinguish between unfetched values and fetched, but non-existent values.
@ -78,6 +78,9 @@ class PlexPartialObject(object):
self._loadData(data[0])
# This is a general place to store functions specific to media that is Playable. Things
# were getting mixed up a bit when dealing with Shows, Season, Artists, Albums which
# are all not playable.
class Playable(object):
def getStreamURL(self, **params):