Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 81ff7c3

Browse files
committed
temporary change to yt-dlp
#296 and #297
1 parent 100a5d6 commit 81ff7c3

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env bash
22
command=( "${@}" )
33

4+
if [ "$1" == "bash" ] || [ "$1" == "sh" ]; then
5+
exec "${@}"
6+
fi
7+
48
if [ -n "$BAM_DB" ]; then
59
command+=( "--db" "$BAM_DB" )
610
fi

media/url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import hashlib
55
import traceback
66
from PIL import Image
7-
import youtube_dl
7+
import yt_dlp as youtube_dl
88
import glob
99
from io import BytesIO
1010
import base64

media/url_from_playlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import logging
2-
import youtube_dl
2+
import yt_dlp as youtube_dl
33
from constants import tr_cli as tr
44
import variables as var
55
from media.item import item_builders, item_loaders, item_id_generators

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
flask
2-
youtube-dl
2+
yt-dlp
33
python-magic
44
Pillow
55
mutagen

util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import re
1313
import subprocess as sp
1414
import logging
15-
import youtube_dl
15+
import yt_dlp as youtube_dl
1616
from importlib import reload
1717
from sys import platform
1818
import traceback

0 commit comments

Comments
 (0)