Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(google_photo): add support for streaming video, range requests #5905

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

Xiefengshang
Copy link
Contributor

=dv的参数获取的视频不支持流式传输,但=m37这种指定转码分辨率参数获取的视频是支持的。
添加了通过mediaMetadata中的长宽来判断分辨率。
1080p添加=m37;
720p添加=m22;
360p添加=m18;
非上述三种分辨率的标准长宽情况则默认为=dv.

关联issue:

Return mediaMetadata
Using width and height
Copy link

welcome bot commented Jan 18, 2024

Thanks for opening this pull request! Please check out our contributing guidelines.

@xhofe xhofe merged commit 8bccb69 into alist-org:main Jan 19, 2024
Copy link

welcome bot commented Jan 19, 2024

Congrats on merging your first pull request! We here at behavior bot are proud of you!

EtherealAO pushed a commit to EtherealAO/alist that referenced this pull request Apr 12, 2024
…list-org#5905)

* Update util.go

Return mediaMetadata

* Update driver.go

Using width and height
EtherealAO pushed a commit to EtherealAO/alist that referenced this pull request Apr 12, 2024
…list-org#5905)

* Update util.go

Return mediaMetadata

* Update driver.go

Using width and height
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants