diff --git a/spellcheck_wordlist.txt b/spellcheck_wordlist.txt index 4499fed..a9bbd31 100644 --- a/spellcheck_wordlist.txt +++ b/spellcheck_wordlist.txt @@ -19,6 +19,7 @@ html dev # Programming Keywords +str env untrusted usr @@ -66,9 +67,13 @@ github dlp geeksforgeeks www +metalink # Video Streaming yc yt dl youtube + +# Other +f'Attachment diff --git a/src/youcube/youcube.py b/src/youcube/youcube.py index 60198d3..3668b5b 100644 --- a/src/youcube/youcube.py +++ b/src/youcube/youcube.py @@ -90,9 +90,11 @@ """Related CC-Tweaked issues Streaming HTTP response https://github.com/cc-tweaked/CC-Tweaked/issues/1181 Speaker Networks https://github.com/cc-tweaked/CC-Tweaked/issues/1488 -Pocket computers do not have many usecases without network access https://github.com/cc-tweaked/CC-Tweaked/issues/1406 +Pocket computers do not have many usecases without network access +https://github.com/cc-tweaked/CC-Tweaked/issues/1406 Speaker limit to 8 https://github.com/cc-tweaked/CC-Tweaked/issues/1313 -Some way to notify player through pocket computer with modem https://github.com/cc-tweaked/CC-Tweaked/issues/1148 +Some way to notify player through pocket computer with modem +https://github.com/cc-tweaked/CC-Tweaked/issues/1148 Memory limits for computers https://github.com/cc-tweaked/CC-Tweaked/issues/1580 """ @@ -377,18 +379,20 @@ async def main_start(app: Sanic): logger.info("Spotipy Disabled") -@app.route("/dfpwm//") -async def stream_dfpwm(request: Request, id: str, chunkindex: int): - return raw(await getchunk(join(DATA_FOLDER, get_audio_name(id)), chunkindex)) +@app.route("/dfpwm//") +async def stream_dfpwm(_request: Request, media_id: str, chunkindex: int): + """WIP HTTP mode""" + return raw(await getchunk(join(DATA_FOLDER, get_audio_name(media_id)), chunkindex)) -@app.route("/32vid////") # , stream=True +@app.route("/32vid////") # , stream=True async def stream_32vid( - request: Request, id: str, width: int, height: int, tracker: int + _request: Request, media_id: str, width: int, height: int, tracker: int ): + """WIP HTTP mode""" return raw( "\n".join( - await get_vid(join(DATA_FOLDER, get_video_name(id, width, height)), tracker) + await get_vid(join(DATA_FOLDER, get_video_name(media_id, width, height)), tracker) ) )