darkhz / invidtui

A TUI based Invidious client
MIT License
191 stars 6 forks source link

Stuck on Loading #44

Closed r3k2 closed 3 months ago

r3k2 commented 4 months ago

Hello, when I try to watch a video from my feed, it just get stuck on "Loading" swappy-20240514-170021 I have deleted the config, relog into my instance with token and still problem persists..

darkhz commented 4 months ago

Did you try changing instances as well? Change an instance, open the queue and press enter on a queue item to reload it.

r3k2 commented 4 months ago

i will try but if i change instance there i cant see my subs, i am using invitui to follow my channels rarely i need to search for other stuff. will try when i get home and let you know see if we can get to the button of this. thanks [edit[ oh wait i need it to let it sync lol ok so get the video in the Q then change instance and try to play it. got it

r3k2 commented 4 months ago

@darkhz ok I did that same result when I press enter I get mpv: unable to load video or similar is super fast so cant read the whole thing. swappy-20240514-234916

darkhz commented 4 months ago

Try loading the stream manually:

r3k2 commented 4 months ago

@darkhz ok I did this, same result :( swappy-20240515-153356 [edit] after a while waiting I got this error:

 mpv https://vid.puffyan.us/watch?v=BgzTAG_Vhn4
[ytdl_hook] ERROR: [youtube] BgzTAG_Vhn4: Video unavailable. This video is not available
[ytdl_hook] youtube-dl failed: unexpected error occurred
Failed to recognize file format.
Exiting... (Errors when loading file)
darkhz commented 4 months ago

Ah, then this has something to do with the stream, youtube-dl or mpv.

Leblake commented 3 months ago

I've been having the same problem since around a month ago, and in my case, MPV is able to load videos correctly. However, and sadly, invidtui has stopped working for me. Every video/audio that I try to play fails with the message "MPV: unable to load [video name]". I just tried manually copying the Invidious link and opening it with MPV and it works.

darkhz commented 3 months ago

@Leblake can you provide the link of the invidious item which you are trying to play, so that I can test it as well?

Leblake commented 3 months ago

Here's the link: https://iv.ggtyler.dev/watch?v=-_70t906txA. Happens with all links, can't use invidtui anymore. :(

image

darkhz commented 3 months ago

The issue was found, apparently invidtui is using invalid parameters while sending files to MPV. A fix will be issued soon.

Leblake commented 3 months ago

Wow, that was lightning fast. Awesome work. :love_you_gesture:

darkhz commented 3 months ago

A quickfix has been released for now. This issue will be closed, and maybe later a status screen may be implemented, so that the user can monitor the stream that is currently being loaded, for potential errors, if any.