From da924198dbea595fc71a3d8d362a89c3c12c2a33 Mon Sep 17 00:00:00 2001 From: MoojMidge <56883549+MoojMidge@users.noreply.github.com> Date: Thu, 28 Mar 2024 22:02:31 +1100 Subject: [PATCH] Misc tidy up --- resources/lib/youtube_plugin/youtube/client/youtube.py | 1 + .../lib/youtube_plugin/youtube/helper/ratebypass/ratebypass.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/youtube_plugin/youtube/client/youtube.py b/resources/lib/youtube_plugin/youtube/client/youtube.py index 3ebb2f263..cda9c8f4a 100644 --- a/resources/lib/youtube_plugin/youtube/client/youtube.py +++ b/resources/lib/youtube_plugin/youtube/client/youtube.py @@ -1052,6 +1052,7 @@ def get_live_events(self, :param order: one of: 'date', 'rating', 'relevance', 'title', 'videoCount', 'viewCount' :param page_token: :param location: bool, use geolocation + :param after: str, RFC 3339 formatted date-time value (1970-01-01T00:00:00Z) :return: """ # prepare page token diff --git a/resources/lib/youtube_plugin/youtube/helper/ratebypass/ratebypass.py b/resources/lib/youtube_plugin/youtube/helper/ratebypass/ratebypass.py index bd924f1a9..d5c4e7473 100644 --- a/resources/lib/youtube_plugin/youtube/helper/ratebypass/ratebypass.py +++ b/resources/lib/youtube_plugin/youtube/helper/ratebypass/ratebypass.py @@ -183,7 +183,7 @@ def js_splice(arr, start, delete_count=None, *items): Index at which to start changing the array :param int delete_count: Number of elements to delete from the array - :param *items: + :param items: Items to add to the array Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice # noqa:E501 """