stremio-web icon indicating copy to clipboard operation
stremio-web copied to clipboard

Play in External Player Option Bugged on PC specifically

Open ChaoDrake opened this issue 2 years ago • 18 comments

With the new update, for some reason the play in external player option on my PC is no longer working. I have tried multiple different browsers (Brave, Chrome, Firefox, Edge) and none of them seem to work. I have also tried clearing cookies and still nothing. What I did try was opening Stremio Web on my mobile browser and it seems to work perfectly fine there. What could be causing this issue?

See images below for clarification. Image 1 is before recent update and Image 2 is with current update.

Screenshot 2023-12-20 203846 Screenshot 2023-12-20 203947

ChaoDrake avatar Dec 22 '23 16:12 ChaoDrake

Can you please share the steps and what is expected? Some external players are not supported.

Iheuzio avatar Dec 27 '23 18:12 Iheuzio

The steps are opening Stremio Web on web.stremio.com and navigating to settings, and then to the play in external player option and there, it used to have VLC player as an option, but it is currently bugged and only says disabled. Seems to work on mobile browser but not browser on PC.

As you see in the above attached pictures, I was using VLC and it recognized just fine before the recent update.

ChaoDrake avatar Dec 27 '23 18:12 ChaoDrake

Also, someone has reported this on reddit and the person who seems to be related with stremio development or support has confirmed this bug and reported it to the devs.

https://www.reddit.com/r/Stremio/comments/18oov8r/play_in_external_player_setting_is_broken_in_the/

ChaoDrake avatar Dec 27 '23 18:12 ChaoDrake

Also, someone has reported this on reddit and the person who seems to be related with stremio development or support has confirmed this bug and reported it to the devs.

https://www.reddit.com/r/Stremio/comments/18oov8r/play_in_external_player_setting_is_broken_in_the/

There were some changes made in the recent update of stremio-web specifically related to the external player feature. You can look them up here --> https://github.com/Stremio/stremio-web/commit/f5a0bc86e5bcd06e5e96f64582a0baf860edb656#diff-8fd62db88a301de4883a1f515697a13b95b50e6a9f368349b3b6f76e004e7fe3R43 There are now new players added, and you can check yourself which players are supported on different operating systems.

kKaskak avatar Dec 30 '23 11:12 kKaskak

Thank you, if I'm reading the code correctly, it seems that the platform "windows" only shows up for label "EXTERNAL_PLAYER_DISABLED", value: null. Under the label/value for VLC it only has the platforms "ios" and "android"

Is there a reason why "windows" is no longer a platform under any other external players? For sure at least VLC should be supported as it was supported before this recent change.

ChaoDrake avatar Dec 30 '23 17:12 ChaoDrake

Thank you, if I'm reading the code correctly, it seems that the platform "windows" only shows up for label "EXTERNAL_PLAYER_DISABLED", value: null. Under the label/value for VLC it only has the platforms "ios" and "android"

Is there a reason why "windows" is no longer a platform under any other external players? For sure at least VLC should be supported as it was supported before this recent change.

I will look into this and give you an answer tomorrow.

kKaskak avatar Dec 30 '23 18:12 kKaskak

Thank you, if I'm reading the code correctly, it seems that the platform "windows" only shows up for label "EXTERNAL_PLAYER_DISABLED", value: null. Under the label/value for VLC it only has the platforms "ios" and "android"

Is there a reason why "windows" is no longer a platform under any other external players? For sure at least VLC should be supported as it was supported before this recent change.

Hi. We discussed this with the team. This option still works. When the stream fails to play, you have the possibility to download the playlist and play in a player of your choice.

kKaskak avatar Jan 02 '24 08:01 kKaskak

I'm sorry, I'm not sure I understand. Previously there was an option to automatically choose VLC as your external player and when you played a stream it automatically opens in VLC. Currently, there is no option for automatically opening in VLC and only says "Disabled". I'm not quite understanding how this is a feature not a bug, if anything it's the removal of a previous feature. The provided solution you gave seems more of a workaround if anything.

Also I'm not understanding why the option to play in external player works on a mobile browser but not on a browser on Windows, and to reiterate, this worked before the recent update. See above images.

ChaoDrake avatar Jan 02 '24 15:01 ChaoDrake

Thank you, if I'm reading the code correctly, it seems that the platform "windows" only shows up for label "EXTERNAL_PLAYER_DISABLED", value: null. Under the label/value for VLC it only has the platforms "ios" and "android" Is there a reason why "windows" is no longer a platform under any other external players? For sure at least VLC should be supported as it was supported before this recent change.

Hi. We discussed this with the team. This option still works. When the stream fails to play, you have the possibility to download the playlist and play in a player of your choice. Will close this soon if it works for you. Basically, this is a feature not a bug.

Sorry but I don't think this is a feature lol. More like a regression. I too will report the issue with beta 4 Basically (not tested other browsers) in edge clear application cache, and reload web.stremio.com and go to settings You will find that there are no external players you can choose, the external players box only has the default value of "Disabled" in the input box, like so

image

and in settings you can see playerType is null

image

If you manually change the profile json in local storage to "playerType": "vlc", vlc will be shown as selected in the external player box, and vlc will work - but the moment you open the dropdown box again it will be lost.

prom3theu5 avatar Jan 02 '24 20:01 prom3theu5

Thank you, if I'm reading the code correctly, it seems that the platform "windows" only shows up for label "EXTERNAL_PLAYER_DISABLED", value: null. Under the label/value for VLC it only has the platforms "ios" and "android" Is there a reason why "windows" is no longer a platform under any other external players? For sure at least VLC should be supported as it was supported before this recent change.

Hi. We discussed this with the team. This option still works. When the stream fails to play, you have the possibility to download the playlist and play in a player of your choice. Will close this soon if it works for you. Basically, this is a feature not a bug.

Sorry but I don't think this is a feature lol. More like a regression. I too will report the issue with beta 4 Basically (not tested other browsers) in edge clear application cache, and reload web.stremio.com and go to settings You will find that there are no external players you can choose, the external players box only has the default value of "Disabled" in the input box, like so

image

and in settings you can see playerType is null

image

If you manually change the profile json in local storage to "playerType": "vlc", vlc will be shown as selected in the external player box, and vlc will work - but the moment you open the dropdown box again it will be lost.

Yes, I'm aware of the fact that it works. Will discus this with the team again.

kKaskak avatar Jan 02 '24 21:01 kKaskak

Thank you for your help @kKaskak , much appreciated!

ChaoDrake avatar Jan 08 '24 17:01 ChaoDrake

It is February 28th. It does not appear as fixed yet. Just wanted to check on an ETA for the fix.

cransono avatar Feb 28 '24 20:02 cransono

Hello, There was a PR to fix this issue, it's is not a regression as e.g. VLC was not actually supported by stremio-core for Linux/Windows, only Android and iOS, even though the settings allowed you to set VLC as external player.

Please use this reference to the PR that made the change and the discussion between @tymmesyde and me:

https://github.com/Stremio/stremio-web/pull/542/files#r1432439664

Edit: Another note, there are 2 different places that list "External player"

  1. Is the Settings - External player to always play a stream in external player
  2. In the web Player itself you have settings ... (3 dots) and there you have the option to open the given stream in an External Player, VLC should be showing there.

elpiel avatar Mar 01 '24 14:03 elpiel

So you're saying that it's not a regression as it was never supported by stremio-core, but as shown by the images in the first post, it did before the most recent update. And I am referencing the one that's in Settings - External player to always play a stream in external player.

While it is still true that in the web player itself, you can still select the setting to open VLC, it is an extra step whereas before where it would open automatically.

Currently, I use a workaround and run the stremio-web page as a mobile device so I can choose VLC as an external player and then set the .m3u files to always open with VLC and it kinda works that way. It's a little clunky but it does what I want where I just wanna press play and it opens VLC.

ChaoDrake avatar Mar 01 '24 19:03 ChaoDrake

As far as I understood my colleague @tymmesyde , VLC does not support a URI Scheme on desktop, only Android and iOS.

References:

  • Script for redirecting vlc:// URI to vlc - https://www.autohotkey.com/boards/viewtopic.php?f=6&t=62537
  • VLC for Android vlc:// URI scheme issue- https://code.videolan.org/videolan/vlc-android/-/issues/527
  • And last but not least, I found this forum comment talking about vlc-x-callback but again for iOS - https://forum.videolan.org/viewtopic.php?t=120695#p418032

elpiel avatar Mar 03 '24 15:03 elpiel

So I guess my question is, why did it work before? Did an update with VLC break this feature? Or were you using a different way to open VLC by default?

ChaoDrake avatar Mar 04 '24 14:03 ChaoDrake

Any update on this one ? March 2024 still having the issue.

Tranquilito avatar Mar 13 '24 15:03 Tranquilito

@elpiel It's not so much that vlc isn't supported. It's that the external players box doesn't expand so you can't select Allow Choosing like you can in the other platforms which simply outputs an m3u file that will open in any external app you have This, along with the fact that synopsis is broken, is the reason I just host my own instance based on beta.0 which is miles better than beta 1 2 3 or 4 It's been regression after regression ever since for anyone using non mobile devices from the web.

iPromKnight avatar Mar 13 '24 15:03 iPromKnight

https://github.com/Stremio/stremio-web/pull/599

kKaskak avatar Mar 28 '24 18:03 kKaskak

Is there any support for choosing any installed external player from Stremio to play?

MMALI3287 avatar Sep 19 '24 17:09 MMALI3287