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
[subtitle] load .sup file like other external subtitles. #20471
Conversation
02c887b
to
0199556
Compare
@enen92 reworked. please review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you have to add the subtitle extension also in to these files (look the lists):
xbmc/network/upnp/UPnPInternal.cpp
xbmc/platform/darwin/ios/Info.plist.in
@CastagnaIT updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, only suggestion is to make -1 some error constexpr so it conveys something meaningful but it's fine either way.
Description
Scan .sup file use
ScanForExternalSubtitles
and support to load .sup file inGUIDialogSubtitleSettings
Motivation and context
https://forum.kodi.tv/showthread.php?tid=356403
How has this been tested?
What is the effect on users?
Screenshots (if appropriate):
Types of change
Checklist: