demux_playlist: add support for 'strm' playlist files#17793
Merged
Conversation
Member
|
I don't know what is this format, but if it works, why not. Please squash commits into single change. |
The .strm format consists of a URI or local path as the sole contents of a text file, this is parsed by software like Emby or Jellyfin to treat remote streams or paths as if they are in the local filesystem. This commit adds .strm to mpv's internal list of playlist file formats, and points it to the handler for .m3u files as they should be compatible. .strm doesn't need all the features of .m3u/.m3u8, but the features do not cause issues with the relatively barebones playlist format of .strm.
Contributor
Author
|
Apologies for the mess, commit should be good to go |
sfan5
added a commit
to mpv-android/mpv-android
that referenced
this pull request
Apr 24, 2026
see <mpv-player/mpv#17793> closes #721
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spec: https://emby.media/support/articles/Strm-Files.html
The .strm format consists of a URI or local path as the sole contents of a text file, this is parsed by software like Emby or Jellyfin to treat remote streams or paths as if they are in the local filesystem. This PR adds .strm to mpv's internal list of playlist file formats, and points it to the handler for
.txt.m3u files as they should be compatible.I have not tested the code in this PR yet as I wasn't able to compile mpv locally, but will test using the artifact produced for this PR by CI.The initial state of this PR didn't work, but I confirmed that .m3u is the only supported playlist type that is compatible with .strm, and the latest commit switches the handler from txt to m3u. .strm doesn't need all the features of m3u/m3u8, but they do not cause issues with the relatively barebones playlist format of strm.