diff --git a/dev/creating-a-service/index.html b/dev/creating-a-service/index.html index d7aa1692..ca3e351e 100644 --- a/dev/creating-a-service/index.html +++ b/dev/creating-a-service/index.html @@ -2496,7 +2496,7 @@ Click cli entry point plus three abstract methods.

NO_SUBTITLES bool -Set True on a service with no subtitle tracks to skip subtitle handling entirely. +Set True on a service with no subtitle tracks to skip subtitle handling entirely. Default False. ANIME @@ -2510,13 +2510,6 @@ Click cli entry point plus three abstract methods.

-
-

NO_SUBTITLES is a convention, not a base-class attribute

-

dl.py uses hasattr to find NO_SUBTITLES, and the Service base class -deliberately does not declare it, so it only exists if your service -defines it. Setting NO_SUBTITLES = True is what makes the pipeline skip -subtitle work for services that never carry subtitles. Leave it off otherwise.

-

GEOFENCE drives an automatic proxy: on startup, if you did not pass an explicit --proxy, the base class does a live IP check and, if your region is blocked, fetches a proxy to GEOFENCE[0] from your configured proxy providers.

diff --git a/objects.inv b/objects.inv index 3402f130..38860b37 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/reference/api/drm/index.html b/reference/api/drm/index.html index 2422ada3..ee91426a 100644 --- a/reference/api/drm/index.html +++ b/reference/api/drm/index.html @@ -2376,10 +2376,10 @@
  • - + -  to_dict +  from_pssh_box @@ -2461,61 +2461,6 @@ -
  • - -
  • - - - -  decrypt - - - - -
  • - -
  • - - - -  own_kids - - - - -
  • - -
  • - - - -  mp4decrypt_key_args - - - - -
  • - -
  • - - - -  decrypt_with_mp4decrypt - - - - -
  • - -
  • - - - -  decrypt_with_shaka_packager - - - -
  • @@ -2544,17 +2489,6 @@ - - -
  • - - - -  kid - - - -
  • @@ -2641,32 +2575,10 @@
  • - + -  from_track - - - - -
  • - -
  • - - - -  from_init_data - - - - -
  • - -
  • - - - -  to_dict +  from_pssh_box @@ -2682,61 +2594,6 @@ -
  • - -
  • - - - -  decrypt - - - - -
  • - -
  • - - - -  own_kids - - - - -
  • - -
  • - - - -  mp4decrypt_key_args - - - - -
  • - -
  • - - - -  decrypt_with_mp4decrypt - - - - -
  • - -
  • - - - -  decrypt_with_shaka_packager - - - -
  • @@ -3286,10 +3143,10 @@
  • - + -  to_dict +  from_pssh_box @@ -3371,61 +3228,6 @@ -
  • - -
  • - - - -  decrypt - - - - -
  • - -
  • - - - -  own_kids - - - - -
  • - -
  • - - - -  mp4decrypt_key_args - - - - -
  • - -
  • - - - -  decrypt_with_mp4decrypt - - - - -
  • - -
  • - - - -  decrypt_with_shaka_packager - - - -
  • @@ -3454,17 +3256,6 @@ - - -
  • - - - -  kid - - - -
  • @@ -3551,32 +3342,10 @@
  • - + -  from_track - - - - -
  • - -
  • - - - -  from_init_data - - - - -
  • - -
  • - - - -  to_dict +  from_pssh_box @@ -3592,61 +3361,6 @@ -
  • - -
  • - - - -  decrypt - - - - -
  • - -
  • - - - -  own_kids - - - - -
  • - -
  • - - - -  mp4decrypt_key_args - - - - -
  • - -
  • - - - -  decrypt_with_mp4decrypt - - - - -
  • - -
  • - - - -  decrypt_with_shaka_packager - - - -
  • @@ -5218,6 +4932,8 @@ H5DCID-V3-P1-YYYYMMDD-HHMMSS-MEDIAID-TIMESTAMP-SUFFIX

    +

    + Bases: CencDrm

    @@ -5293,17 +5009,21 @@ the REST API can parse it again.

    -

    - to_dict +

    + from_pssh_box -

    -
    to_dict()
    +  
    +      classmethod
    +  
    +
    +
    +
    from_pssh_box(box, kid)
     
    -

    This DRM in the export form; see wire.drm_to_dict.

    +

    Make the DRM from a parsed PlayReady pssh box and the track's own KID.

    @@ -5550,108 +5270,6 @@ or from an exception message that carries it, so this method covers any service.
    -
    - - -

    - decrypt - - -

    -
    decrypt(path)
    -
    - -
    - -

    Decrypt the file at path in place with this track's PlayReady content keys.

    - - -
    - -
    - -
    - - -

    - own_kids - - -

    -
    own_kids()
    -
    - -
    - -

    Return the KIDs that identify this track's own content key.

    -

    The KID given to the constructor (from the manifest or the init segment) names the -track exactly. A PSSH can name the KIDs of other renditions too.

    - - -
    - -
    - -
    - - -

    - mp4decrypt_key_args - - -

    -
    mp4decrypt_key_args(track_kids=None)
    -
    - -
    - -

    Build the mp4decrypt --key arguments for every content key, the zero-KID and the track ID fallbacks.

    - - -
    - -
    - -
    - - -

    - decrypt_with_mp4decrypt - - -

    -
    decrypt_with_mp4decrypt(path)
    -
    - -
    - -

    Decrypt with mp4decrypt.

    - - -
    - -
    - -
    - - -

    - decrypt_with_shaka_packager - - -

    -
    decrypt_with_shaka_packager(path)
    -
    - -
    - -

    Decrypt with shaka-packager.

    - - -
    - -
    -
    @@ -5673,6 +5291,8 @@ track exactly. A PSSH can name the KIDs of other renditions too.

    +

    + Bases: CencDrm

    @@ -5724,30 +5344,6 @@ track exactly. A PSSH can name the KIDs of other renditions too.

    -

    - kid - - - - property - - -

    -
    kid
    -
    - -
    - -

    Get first Key ID, if any.

    - -
    - -
    - -
    - - -

    kids @@ -6035,140 +5631,21 @@ track exactly. A PSSH can name the KIDs of other renditions too.

    -

    - from_track +

    + from_pssh_box classmethod -

    -
    from_track(track, session=None)
    +

    +
    from_pssh_box(box, kid)
     
    -

    Get PSSH and KID from within the Initiation Segment of the Track Data. -It also tries to get PSSH and KID from other track data like M3U8 data -as well as through FFprobe.

    -

    Make a Widevine DRM System object from a track's information. -Use this method only when a PSSH cannot be given directly. -It is rare to need to use this.

    -

    You can give your own requests.Session to use custom headers -and more.

    - - -

    Raises:

    - - - - - - - - - - - - - - - - - -
    TypeDescription
    - PSSHNotFound - -
    -

    If the PSSH was not found within the data.

    -
    -
    - KIDNotFound - -
    -

    If the KID was not found within the data or PSSH.

    -
    -
    - - -
    - -
    - -
    - - -

    - from_init_data - - - - classmethod - - -

    -
    from_init_data(init_data)
    -
    - -
    - -

    Get PSSH and KID from within Initialization Segment Data.

    -

    Use this method only when a PSSH cannot be given directly. -It is rare to need to use this.

    - - -

    Raises:

    - - - - - - - - - - - - - - - - - -
    TypeDescription
    - PSSHNotFound - -
    -

    If the PSSH was not found within the data.

    -
    -
    - KIDNotFound - -
    -

    If the KID was not found within the data or PSSH.

    -
    -
    - - -
    - -
    - -
    - - -

    - to_dict - - -

    -
    to_dict()
    -
    - -
    - -

    This DRM in the export form; see wire.drm_to_dict.

    +

    Make the DRM from a parsed Widevine pssh box and the track's own KID.

    @@ -6197,108 +5674,6 @@ the challenge and the session ID.

    -
    - - -

    - decrypt - - -

    -
    decrypt(path)
    -
    - -
    - -

    Decrypt the file at path in place with this track's Widevine content keys.

    - - -
    - -
    - -
    - - -

    - own_kids - - -

    -
    own_kids()
    -
    - -
    - -

    Return the KIDs that identify this track's own content key.

    -

    The KID given to the constructor (from the manifest or the init segment) names the -track exactly. A PSSH can name the KIDs of other renditions too.

    - - -
    - -
    - -
    - - -

    - mp4decrypt_key_args - - -

    -
    mp4decrypt_key_args(track_kids=None)
    -
    - -
    - -

    Build the mp4decrypt --key arguments for every content key, the zero-KID and the track ID fallbacks.

    - - -
    - -
    - -
    - - -

    - decrypt_with_mp4decrypt - - -

    -
    decrypt_with_mp4decrypt(path)
    -
    - -
    - -

    Decrypt with mp4decrypt.

    - - -
    - -
    - -
    - - -

    - decrypt_with_shaka_packager - - -

    -
    decrypt_with_shaka_packager(path)
    -
    - -
    - -

    Decrypt with shaka-packager.

    - - -
    - -
    - diff --git a/reference/api/service/index.html b/reference/api/service/index.html index 749430ad..57a3b946 100644 --- a/reference/api/service/index.html +++ b/reference/api/service/index.html @@ -1866,6 +1866,39 @@