jellyfin-android icon indicating copy to clipboard operation
jellyfin-android copied to clipboard

All http links are treated as HSL for ExoPlayer

Open DaRealHansForSure opened this issue 1 year ago • 6 comments

Describe the bug

  1. Make a .strm File which includes a http:// Video Link
  2. Play that file over Jellyfin Android and ExoPlayer
  3. Source error

The logic code of the Apps seems wrong for me? Not everything that is http, is automatically hsl? Especally when it works in every other Client (Also under Android TV with ExoPlayer) image

Logs

No response

Application version

2.6.2

Where did you install the app from?

Google Play

Device information

Nothing Phone 2a

Android version

Android 14

Jellyfin server version

10.9.7

Which video player implementations does this bug apply to?

  • [ ] Web player (default)
  • [X] Integrated player (ExoPlayer)
  • [ ] External player (VLC, mpv, MX Player)

DaRealHansForSure avatar Jul 13 '24 07:07 DaRealHansForSure

We do not support strm files in the Android clients. If they work that's great, if they don't we can't do so much about it.

nielsvanvelzen avatar Jul 13 '24 08:07 nielsvanvelzen

But why do you assume, when its http, its always HLS?

I mean, everything works great in Android TV App, also with ExoPlayer?

DaRealHansForSure avatar Jul 13 '24 08:07 DaRealHansForSure

When i set to the ProgressiveMediaSource Class inside "Http Protocol", it works as expected.

So my thoughts are, thinking everything what is "http" is "hls" is wrong.

DaRealHansForSure avatar Jul 13 '24 08:07 DaRealHansForSure

Is there a reason, why you don't use "MediaSource.Factory"?

It also works fine with http links as i tried, will do more Tests for you, for HLS etc., but would be awesome, that having a working exoplayer :)

DaRealHansForSure avatar Jul 14 '24 15:07 DaRealHansForSure

But why do you assume, when its http, its always HLS?

Probably decided due to a lack of documentation back then. MediaSource.Factory might be worth a try, but I haven't looked into it and am unaware of the implications.

Maxr1998 avatar Jul 14 '24 16:07 Maxr1998

The MediaSource.Factory got defined like that: image

and the DefaultMediaSourceFactory has the feature like that: image

I will try to do some tests, but i think it would be great and supports directly lot more stuff for the http protocol

DaRealHansForSure avatar Jul 14 '24 17:07 DaRealHansForSure

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

jellyfin-bot avatar Nov 12 '24 03:11 jellyfin-bot

Any feedback x planned for this. I want to be able to play strm files in integrated player.

Sanket9225 avatar Aug 25 '25 19:08 Sanket9225

I don't think so...

I have still my "workaround" running and crafting the URLs especally for Android App user for tricking the App

DaRealHansForSure avatar Oct 08 '25 17:10 DaRealHansForSure