Tag: 1.25

Intermediate commits (oldest → newest):
- New command added that sets logging level dymnamically
- of course fix needed
- Fix
- refactor: comment out unused AutoIndex import and related code
- Add auth to ytdlp
- Modified spotipy for auth
- Fixes after reinstall
- fixx
- Add musician fixes
- Fix in default config
- How to setup radio
This commit is contained in:
2025-10-30 16:59:20 +01:00
parent f73fd703b7
commit 6c292a5678
17 changed files with 238 additions and 55 deletions
+5 -1
View File
@@ -16,6 +16,7 @@ from constants import (
MUSIC_FOLDER,
SEND_MP3,
SPOTIFY_CTRL,
YOUTUBE_AUTH,
)
from spotify_dl import spotify
from spotify_dl import youtube as youtube_download
@@ -161,6 +162,7 @@ async def get_file(ctx, source, link):
file_name_f=file_name_f,
multi_core=0,
proxy="",
YT_AUTH = YOUTUBE_AUTH
)
_ = await coro
logger.info("YT-DL done")
@@ -203,6 +205,8 @@ async def get_file(ctx, source, link):
else:
dir_path = "/home/pi/RetroPie/mp3/Youtube"
ydl_opts = {
"username": YOUTUBE_AUTH[0],
"password": YOUTUBE_AUTH[1],
"proxy": "",
"default_search": "ytsearch",
"format": "bestaudio/best",
@@ -258,7 +262,7 @@ async def get_file(ctx, source, link):
]
# TODO: Make sponsorblock work
sponsorblock_postprocessor = []
dir_path = "/home/pi/RetroPie/movies/porn"
dir_path = "/home/pi/MediaShare/movies/porn"
ydl_opts = {
"postprocessors": sponsorblock_postprocessor,
"paths": {"home": dir_path},