invidtui icon indicating copy to clipboard operation
invidtui copied to clipboard

Stuck on Loading

Open r3k2 opened this issue 9 months ago • 4 comments

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..

r3k2 avatar May 14 '24 15:05 r3k2

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

darkhz avatar May 14 '24 15:05 darkhz

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 avatar May 14 '24 19:05 r3k2

@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

r3k2 avatar May 14 '24 21:05 r3k2

Try loading the stream manually:

  • Press ';' on a video item to open the link popup, copy the invidious link.
  • In another terminal, type mpv <your invidious link> and see if mpv actually plays it.

darkhz avatar May 15 '24 01:05 darkhz

@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)

r3k2 avatar May 15 '24 13:05 r3k2

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

darkhz avatar May 15 '24 13:05 darkhz

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.

Leblake avatar May 18 '24 04:05 Leblake

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

darkhz avatar May 18 '24 04:05 darkhz

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

image

Leblake avatar May 18 '24 05:05 Leblake

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

darkhz avatar May 18 '24 05:05 darkhz

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

Leblake avatar May 18 '24 06:05 Leblake

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.

darkhz avatar May 18 '24 12:05 darkhz