mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +00:00
Add comments
This commit is contained in:
parent
50ac2f55e5
commit
a30f9a73a5
1 changed files with 4 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue