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

[video] Fix no video information available when playing strm files, … #24333

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Dec 27, 2023

…although they where added to the video library.

Fixes fallout from video versions feature playback adaptions.

Reported here: #24318 (comment) (no GH issue for this as of now)

First, Application::PlayMedia needs to load video info tag from database unconditional as it was done in Nexus, because for example there the video info for strm files is loaded if they where added to the video library.

Second, CGUIWindowVideoBase must not call LoadPlayList for stream files, as "the old way" (see existing code comment) simply does not work for strm files. This code path was not reached in Nexus, but in Omega, due to other changes that were done to make video versions selections and playback work.

Runtime-tested on macOS, latest Kodi master.

@enen92 whenever you find some time for a review.

@ksooo ksooo added this to the Omega 21.0 Beta 3 milestone Dec 27, 2023
@ksooo ksooo requested a review from enen92 December 27, 2023 10:47
Copy link
Member

@enen92 enen92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay, I doubt much can be done right now regarding refactoring.

…lthough they were added to the video library.
@ksooo
Copy link
Member Author

ksooo commented Dec 27, 2023

Jenkins build this please

@ksooo ksooo merged commit fa125a3 into xbmc:master Dec 27, 2023
2 checks passed
@ksooo ksooo deleted the video-fix-strm-video-info branch December 27, 2023 19:35
@Acidzero2020
Copy link
Contributor

Unfortunately, I only saw the message today that I should open an issue. But you have already fixed the error 🥇
Thank you for the very quick fix.
It works normally again.

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

Successfully merging this pull request may close these issues.

None yet

3 participants