bump yt-dlp, #build

Changed:
- bumped yt-dlp version
- fix cast button loading
- fix player progress restore
This commit is contained in:
Simon 2026-06-19 17:55:22 +07:00
commit 5477ca97f1
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
5 changed files with 409 additions and 404 deletions

View File

@ -1,16 +1,16 @@
apprise==1.9.9 apprise==1.11.0
bgutil-ytdlp-pot-provider @ git+https://github.com/bbilly1/bgutil-ytdlp-pot-provider@68578674650bade31cd77fb80ce84f7045191ba7#subdirectory=plugin bgutil-ytdlp-pot-provider @ git+https://github.com/bbilly1/bgutil-ytdlp-pot-provider@68578674650bade31cd77fb80ce84f7045191ba7#subdirectory=plugin
celery==5.6.3 celery==5.6.3
deepdiff==9.0.0 deepdiff==9.1.0
django-auth-ldap==5.3.0 django-auth-ldap==5.3.0
django-celery-beat==2.9.0 django-celery-beat==2.9.0
django-cors-headers==4.9.0 django-cors-headers==4.9.0
Django==6.0.4 Django==6.0.6
djangorestframework==3.17.1 djangorestframework==3.17.1
drf-spectacular==0.28.0 # rc:ignore drf-spectacular==0.28.0 # rc:ignore
Pillow==12.2.0 Pillow==12.2.0
redis==7.4.0 redis==7.4.0
requests==2.33.1 requests==2.34.2
ryd-client==0.0.6 ryd-client==0.0.6
uvicorn==0.44.0 uvicorn==0.49.0
yt-dlp[default]==2026.3.17 yt-dlp[default]==2026.6.9

File diff suppressed because it is too large Load Diff

View File

@ -126,6 +126,7 @@ const EmbeddableVideoPlayer = ({ videoId }: EmbeddableVideoPlayerProps) => {
newParams.delete('videoId'); newParams.delete('videoId');
return newParams; return newParams;
}); });
setRefresh(true);
}} }}
/> />

View File

@ -138,6 +138,13 @@ const GoogleCast = ({ video, setRefresh, onWatchStateChanged }: GoogleCastProps)
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, [setRefresh, video]); }, [setRefresh, video]);
// @ts-expect-error __onGCastApiAvailable is the google cast window hook ( source: https://developers.google.com/cast/docs/web_sender/integrate )
window['__onGCastApiAvailable'] ??= function (isAvailable: boolean) {
if (isAvailable) {
setup();
}
};
const startPlayback = useCallback(() => { const startPlayback = useCallback(() => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any
const chrome = (globalThis as any).chrome; const chrome = (globalThis as any).chrome;
@ -195,15 +202,6 @@ const GoogleCast = ({ video, setRefresh, onWatchStateChanged }: GoogleCastProps)
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, [video?.media_url, video?.subtitles, video?.title, video?.vid_thumb_url]); }, [video?.media_url, video?.subtitles, video?.title, video?.vid_thumb_url]);
useEffect(() => {
// @ts-expect-error __onGCastApiAvailable is the google cast window hook ( source: https://developers.google.com/cast/docs/web_sender/integrate )
window['__onGCastApiAvailable'] = function (isAvailable: boolean) {
if (isAvailable) {
setup();
}
};
}, [setup]);
useEffect(() => { useEffect(() => {
console.log('isConnected', isConnected); console.log('isConnected', isConnected);
if (isConnected) { if (isConnected) {

View File

@ -1,10 +1,10 @@
-r backend/requirements.txt -r backend/requirements.txt
ipython==9.12.0 ipython==9.14.1
pre-commit==4.5.1 pre-commit==4.6.0
pylint-django==2.7.0 pylint-django==2.7.0
pylint==4.0.5 pylint==4.0.6
pytest-django==4.12.0 pytest-django==4.12.0
pytest==9.0.3 pytest==9.1.0
python-dotenv==1.2.2 python-dotenv==1.2.2
requirementscheck==0.1.0 requirementscheck==0.1.0
types-requests==2.33.0.20260408 types-requests==2.33.0.20260518