Skip to content

Subtitles do not load with some file formats #2476

@mobd

Description

@mobd

Steps to reproduce

  1. Save the following text in an .srt file
1
0:00:00.00 --> 0:00:20.00
test
  1. Play some media in cloudstream
  2. Click on Source, choose "Load from file" under subtitles and select the newly created .srt file. Click on Source again to make sure the file is actually selected.

Expected behavior

Subtitles should be shown.

Actual behavior

No subtitles are shown.

Cloudstream version and commit hash

4.6.0 2bfee2e

Android version

Android 15

Logcat

Other details

This format is the one used by JWplayer, maybe others? It doesn't work when selecting subtitles from an online source either. The only difference between this and a normal .srt file is the formatting of timestamps:
0:00:00.00 instead of 00:00:00,000
Normal video players like VLC work with either format.

Acknowledgements

  • I am sure my issue is related to the app and NOT some extension.
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have updated the app to pre-release version Latest.
  • I will fill out all of the requested information in this form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions