this post was submitted on 14 Nov 2024
9 points (90.9% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1097 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 2 years ago
MODERATORS
 

Title. Non-live streams play as intended however. wat do? Thanks in advance.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 months ago (1 children)

Steams have no defined length and aren't finished files.

[–] GustavoM 1 points 2 months ago

Forgot to mention that live streams play just fine as well, but only if played directly on youtube.

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago) (1 children)

I'm not sure the invidious: protocol supports live streams, it seems like it's only fetching a single fragment from the HLS stream. What you're trying works for me using a direct invidious instance URL, e.g. https://inv.nadeko.net/watch?v=cmkAbDUEoyA.

[–] GustavoM 1 points 2 months ago* (last edited 2 months ago)

You are absolutely right.

Anyways, the idea is to mimic the ytsearch1: feature but for invidious -- search for a video id based on its title, drop id on an invidious stance, and play it. I've got half of it.