Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube feed include-shorts option also means no live videos appear on feed. #214

Open
0x00cl opened this issue Sep 11, 2024 · 1 comment
Milestone

Comments

@0x00cl
Copy link

0x00cl commented Sep 11, 2024

I'm using glance 0.6.1 on linux.

This commit 09eedc0 adds the include-shorts option but I noticed that videos that are released in the Live tab don't appear when this option is enabled.

Lets take for example the Smosh channel. (ID: UCY30JRSgfhYXA6i6xX1erWg)

If the include-shorts option is false (default) then it will request this url https://www.youtube.com/feeds/videos.xml?playlist_id=UULFY30JRSgfhYXA6i6xX1erWg if its true then it requests https://www.youtube.com/feeds/videos.xml?channel_id=UCY30JRSgfhYXA6i6xX1erWg

With include-shorts false, the video that appears in the Live tab on youtube, like "Bit City LIVE Q+A!" doesn't appear in the list, while with the other option it does.

I feel this option should either be renamed or add a note so that it says that it will include live videos being filtered. I tried to look for ways to filter only shorts but the only thing I noticed is that shorts don't have a description, the XML is just a </media:description> but not sure if the XML is the same for "normal" videos with no description.

@svilenmarkov
Copy link
Member

Thanks for reporting this.

After doing some digging I found out that you can replace the UULF with UULV like this and that will return a playlist with all videos from the Live tab. When #212 gets merged you should be able to just include that playlist ID and have live videos showing up again.

@svilenmarkov svilenmarkov added this to the v0.7.0 milestone Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants