This commit is contained in:
Jesse Bannon 2024-04-01 02:56:56 -07:00
parent 6fbf4fec85
commit d8667a9fb6
3 changed files with 24 additions and 0 deletions

View file

@ -647,3 +647,15 @@ ytdl_sub_input_url
:type: ``String`` :type: ``String``
:description: :description:
The input URL used in ytdl-sub to create this entry. The input URL used in ytdl-sub to create this entry.
ytdl_sub_input_url_count
~~~~~~~~~~~~~~~~~~~~~~~~
:type: ``Integer``
:description:
The total number of input URLs as defined in the subscription.
ytdl_sub_input_url_index
~~~~~~~~~~~~~~~~~~~~~~~~
:type: ``Integer``
:description:
The index of the input URL as defined in the subscription, top-most being the 0th index.

View file

@ -655,6 +655,13 @@ upper
Ytdl-Sub Functions Ytdl-Sub Functions
------------------ ------------------
is_bilateral_playlist_url
~~~~~~~~~~~~~~~~~~~~~~~~~
:spec: ``is_bilateral_playlist_url(url: String) -> Boolean``
Heuristic that returns True if the URL is known to be bilateral, meaning that entries can
be added to the beginning or end.
legacy_bracket_safety legacy_bracket_safety
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
:spec: ``legacy_bracket_safety(value: ReturnableArgument) -> ReturnableArgument`` :spec: ``legacy_bracket_safety(value: ReturnableArgument) -> ReturnableArgument``

View file

@ -5,6 +5,11 @@ Static Variables
Subscription Variables Subscription Variables
---------------------- ----------------------
subscription_has_download_archive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Returns True if the subscription has any entries recorded in a download archive. False
otherwise.
subscription_indent_i subscription_indent_i
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
For subscriptions in the form of For subscriptions in the form of