Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
fix: remove unused youtube params (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Nov 29, 2023
1 parent 4172903 commit 673fe04
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 38 deletions.
2 changes: 0 additions & 2 deletions Contents/Code/default_prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
int_plexapi_plexapi_timeout='180',
int_plexapi_upload_retries_max='3',
int_plexapi_upload_threads='3',
str_youtube_user='',
str_youtube_passwd='',
str_youtube_cookies='',
enum_webapp_locale='en',
str_webapp_http_host='0.0.0.0',
Expand Down
3 changes: 0 additions & 3 deletions Contents/Code/youtube_dl_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ def process_youtube(url):
youtube_dl_params = dict(
cookiefile=cookie_jar_file.name,
logger=plugin_logger,
outtmpl=u'%(id)s.%(ext)s',
password=Prefs['str_youtube_passwd'] if Prefs['str_youtube_passwd'] else None,
socket_timeout=10,
username=Prefs['str_youtube_user'] if Prefs['str_youtube_user'] else None,
youtube_include_dash_manifest=False,
)

Expand Down
15 changes: 0 additions & 15 deletions Contents/DefaultPrefs.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,6 @@
"default": "3",
"secure": "false"
},
{
"id": "str_youtube_user",
"type": "text",
"label": "YouTube Username",
"default": "",
"secure": "true"
},
{
"id": "str_youtube_passwd",
"type": "text",
"label": "YouTube Password",
"default": "",
"option": "hidden",
"secure": "true"
},
{
"id": "str_youtube_cookies",
"type": "text",
Expand Down
18 changes: 0 additions & 18 deletions docs/source/about/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,24 +224,6 @@ Default
Minimum
``1``

YouTube Username
^^^^^^^^^^^^^^^^

Description
The YouTube Username to use. Supplying YouTube credentials will allow access to age restricted content.

Default
None

YouTube Password
^^^^^^^^^^^^^^^^

Description
The YouTube Password to use. Supplying YouTube credentials will allow access to age restricted content.

Default
None

YouTube Cookies
^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 673fe04

Please sign in to comment.