Piped icon indicating copy to clipboard operation
Piped copied to clipboard

Updating feed for closed off instances (including livestreams and shorts)

Open hugoghx opened this issue 5 months ago • 6 comments

Describe the feature

The idea would basically be the same as https://github.com/TeamPiped/Piped-Backend/commit/6d0ad0698947ad3b4da72ec89d277c2f9a8ec187 introduced by @t6fb3m59 but also (optionally, potentially controlled by a config flag) for livestreams and shorts, as the current setup only refreshes channel videos.

Why would this be useful to add?

The current implementation only updates channel videos, not livestreams or shorts, so if a user wants to see that extra content, they would never see it unless they go to the channel page and check the livestreams/shorts tabs.

Concept(s)

N/A

Additional context

I attempted this by extending the existing implementation to also retrieve tab data for livestreams and shorts, but I wasn't successful. I'm unfamiliar with the codebase and YT concepts in general, so I wasn't able to figure out why my changes did not work.

Acknowledgements

  • [x] I have searched the existing issues and this is NOT a duplicate or related to another open issue.
  • [x] I have written a short but informative title.
  • [x] I filled out all of the requested information in this form.

hugoghx avatar Jun 25 '26 01:06 hugoghx

https://github.com/TeamPiped/Piped-Backend/pull/889

That's one of the first things I brough upstream. Everything apart from SABR is currently here. SABR is taking a bit more time.

EDIT: Misread the issue. Will take another look at the PR.

t6fb3m59 avatar Jun 25 '26 03:06 t6fb3m59

https://github.com/TeamPiped/Piped-Backend/pull/891

t6fb3m59 avatar Jun 25 '26 08:06 t6fb3m59

Wow this is awesome! Happy to learn you're also looking at SABR. That's been a can of worms and a half :)

Bit off-topic but WRT SABR, not sure if you've seen Priveetee's outstanding work at https://github.com/InfinityLoop1308/PipePipeExtractor/pull/69. Might be a help with your research/impl!

hugoghx avatar Jun 25 '26 18:06 hugoghx

I don't remember if I did. I did my best to check the other implementations. Freetube and LuanRT have been the best examples. I already have a sabr implementation and right now I am trying to smooth it out so stay tuned for PRs. The last one will be in the frontend.

t6fb3m59 avatar Jun 25 '26 19:06 t6fb3m59

Hello @hugoghx and @t6fb3m59 I just read ur message and thx a lot @hugoghx for ur kind word regarding my work.

Anyway if u need any help I have written some documentation here.

f the Piped team needs help integrating this and If I can help, just ping me np at all.

Next, I’m going to integrate SABR into TypeType.

I already started working on it, and I really hope this work can also help Piped and other projects move forward!

Priveetee avatar Jun 26 '26 19:06 Priveetee

Hello @Priveetee. That would be great. There is already a functional implementation in my public forks. I have been struggling to find time to clean them up. On my todos I still had to improve stream recovery (after putting the client to sleep, closing the server, etc.). If you have spare time feel free to take a look at the upstreamed code (once it we get there) and my forks.

t6fb3m59 avatar Jun 29 '26 12:06 t6fb3m59