Grayjay.Desktop icon indicating copy to clipboard operation
Grayjay.Desktop copied to clipboard

Unable to Watch Content on Desktop

Open 8BitMusician opened this issue 1 year ago • 16 comments

After Installing Grayjay on my PC I had done all steps to import my stuff over. Once I open a video a message immediately pops up saying "An error occurred while playing the video, do you want to reload?" and prompts me to click Yes or No. No matter which one I press the video stops playing at 59 seconds and refuses to play. This happens with every video I click on. Screenshot 2024-12-21 195120 Screenshot 2024-12-21 195218

8BitMusician avatar Dec 22 '24 01:12 8BitMusician

related to #57

Viesta2021 avatar Dec 22 '24 02:12 Viesta2021

Just wanted to add to this. Im on Ubuntu 20.04.6 and I cant play any videos. I click it, it says Video could not load

The error log that comes up doesnt let me copy text from it so here is a screenshot.

image

image

The console output shows

Received notification WindowFocused DetailsController:Loading: https://www.youtube.com/watch?v=7V4xoL96HKU DetailsController:Failed to load video Grayjay.ClientServer.Exceptions.NoPlatformClientException: No client enabled that supports this content url (https://www.youtube.com/watch?v=7V4xoL96HKU) at Grayjay.Desktop.POC.Port.States.StatePlatform.GetContentClient(String url) at Grayjay.Desktop.POC.Port.States.StatePlatform.GetContentDetails(String url) at Grayjay.ClientServer.Controllers.DetailsController.VideoLoad(String url) fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1] An unhandled exception has occurred while executing the request. Grayjay.ClientServer.Exceptions.DialogException: No client enabled that supports this content url (https://www.youtube.com/watch?v=7V4xoL96HKU) at Grayjay.ClientServer.Controllers.DetailsController.VideoLoad(String url) at lambda_method75(Closure, Object, Object[]) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task) T:Failed to connect to oJF/GciipMJv9lKocS8QMU6ysynortGYyYpBlW/YkSg=

Sure4Thing avatar Dec 22 '24 22:12 Sure4Thing

Related to https://github.com/futo-org/grayjay-android/issues/1610

Zvonimir-FUTO avatar Dec 23 '24 15:12 Zvonimir-FUTO

Same here on Windows; after downloading, I could watch YouTube videos for about an hour. After that, it can't play any YT videos. Twitch, Rumble, etc., work fine.

aronfeher avatar Dec 25 '24 09:12 aronfeher

I'm on a barebones Windows 11 install, same problem. Downloads also don't function. Only "odd" thing about my setup I can think of is I'm using a barebones OPNSense router with Unbound DNS blocklists enabled, but disabling them doesn't change anything.

ggstrader avatar Jan 13 '25 21:01 ggstrader

Hi everyone, this has been finally fixed on new android version of Grayjay!

Go update and test and tell us if you find issues except the one below.

We are aware that age restricted, controversial videos, or other videos that require login may not yet work. We will be working on this next week.

The desktop release that is required for this fix will also be released next week.

Zvonimir-FUTO avatar Jan 17 '25 21:01 Zvonimir-FUTO

Note: This is for Android. I forgot to verify if this was the right spot, will post on the android github, disregard if unuseful. I do apologize.

I didn't see an update available on F-droid, so I downloaded the apk off grayjay.app, and I'm still seeing it hold at that 59sec mark. I double checked with an incognito window to verify if it's age restricted, and I can access the video w/out needing to login, though I'll leave a link for the example I'm testing with below for verification in case I'm misunderstanding. It may be considered controversial, but it still played w/out login so idk if that's relevant.

https://www.youtube.com/watch?v=azH8DXhr9aI

PseudoMortus avatar Jan 17 '25 23:01 PseudoMortus

Note: This is for Android. I forgot to verify if this was the right spot, will post on the android github, disregard if unuseful. I do apologize.

I didn't see an update available on F-droid, so I downloaded the apk off grayjay.app, and I'm still seeing it hold at that 59sec mark. I double checked with an incognito window to verify if it's age restricted, and I can access the video w/out needing to login, though I'll leave a link for the example I'm testing with below for verification in case I'm misunderstanding. It may be considered controversial, but it still played w/out login so idk if that's relevant.

https://www.youtube.com/watch?v=azH8DXhr9aI

It's fine commenting here. Update was not released on F-Droid yet to avoid affecting F-droid users if something broke. We are investigating some issues regarding this. Best follow thread like https://github.com/futo-org/grayjay-android/issues/1807 and check solutions from there and if we fix it we will update there.

Zvonimir-FUTO avatar Jan 18 '25 07:01 Zvonimir-FUTO

I've been seeing this on my machine as well. I discovered a flimsy workaround to help get past the 59-second mark. (it doesn't always work and is fiddly)

  1. Watch the video to the 59-second mark
  2. If the popup is visible, click the restart plugin button until it is dismissed
  3. Use the right arrow key to seek forward 5 seconds
  4. Close video
  5. Open history
  6. Try opening video
  7. If the pop-up reoccurs, dismiss using the restart plugin button
  8. Close the whole app
  9. Wait a couple of seconds (the app won't start if you have just closed it, at least in my experience)
  10. Re-open the app and attempt steps 5 & 6
  11. Loop 7 - 10 until the video plays

I like this app and what it stands for, so I want to help however I can. Let me know if you need logs from me and where I should retrieve them.

Tebrithiel avatar Jan 20 '25 08:01 Tebrithiel

Recently this has been happening on my phone, and it makes it extremely difficult to use the app. Half the videos I try to watch don't load, stop at 0:59, or takes multiple tries just to watch one video. If I need to give logs to help diagnose the issue let me know.

Note the the mobile app is doing this, and desktop app nearly doesn't even function.

8BitMusician avatar Jan 20 '25 17:01 8BitMusician

Recently this has been happening on my phone, and it makes it extremely difficult to use the app. Half the videos I try to watch don't load, stop at 0:59, or takes multiple tries just to watch one video. If I need to give logs to help diagnose the issue let me know.

Note the the mobile app is doing this, and desktop app nearly doesn't even function.

No need for logs. We are tracking this through couple of tickets like #1825 so discussion for android issue should be held there.

As for desktops users, we are working hard on porting the fix to desktop so it works for all of you guys as well.

Zvonimir-FUTO avatar Jan 20 '25 19:01 Zvonimir-FUTO

Also experiencing this issue, similar to https://github.com/futo-org/grayjay-android/issues/1596

candroid-man avatar Jan 21 '25 21:01 candroid-man

The latest version of Grayjay has completely borked every instance of it I have. Both my Windows desktop and my Linux laptop don't play videos past one minute, and on my phone it doesn't get past 30 seconds. I have tried all of the tricks posted above and it still refuses to work. The only thing I haven't tried is to uninstall Grayjay entirely and to reinstall it. I honestly don't know what else to try.

8BitMusician avatar Jan 22 '25 03:01 8BitMusician

Youtube is actively working on making our life harder and of similar projects like Newpipe and yt-dlp.

Also this has been fixed and should work with the latest Grayjay and Youtube version. MacOS users still have to wait for the update unfortunately. If you still have issues then Youtube is fingerprinting you, labeling you as a bot and banning your IP. If that is the case, we suggest trying to switch IP or lay low for a while. We are looking into this as well and should be able to fix it. For those that still have the issue, please follow this thread https://github.com/futo-org/grayjay-android/issues/1807 or #316

Zvonimir-FUTO avatar Jan 22 '25 08:01 Zvonimir-FUTO

Just to update, with the latest Youtube update, some users are reporting that enabling "Allow login for video details" fixes the issue for them. Naturally, you would have to be logged in for it to work.

If that also doesn't fix your problem, we didn't give up on solving it so don't worry.

Zvonimir-FUTO avatar Jan 22 '25 08:01 Zvonimir-FUTO

Many thanks. Grayjay update fixed the problem for me (desktop app.)

eddie-who avatar Jan 22 '25 21:01 eddie-who