Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

[feature request] display video length value on each tile (/youtube page) #131

Open
vladimiry opened this issue Oct 31, 2020 · 2 comments
Open
Labels
enhancement New feature or request youtube Youtube-related issue

Comments

@vladimiry
Copy link

I see that the video tile displays the views count value and how may days ago the respective video was published but the video length value is missing.

@pluja
Copy link
Member

pluja commented Oct 31, 2020

This is a known issue which, at the moment, has no solution. Youtube RSS feed does not provide such info and is what we are using to get the user feeds.

Maybe if we implement #126 we will solve it.

@pluja pluja added enhancement New feature or request youtube Youtube-related issue labels Oct 31, 2020
@FireMasterK
Copy link
Member

I don't think pubsub can solve this, the payload doesn't seem to contain this either, the most efficient solution I can think of for solving this would be to load them without RSS whenever the webhook is called and maintain a database of recently uploaded videos (just like invidious).

<feed xmlns:yt="http://www.youtube.com/xml/schemas/2015"
         xmlns="http://www.w3.org/2005/Atom">
  <link rel="hub" href="https://pubsubhubbub.appspot.com"/>
  <link rel="self" href="https://www.youtube.com/xml/feeds/videos.xml?channel_id=CHANNEL_ID"/>
  <title>YouTube video feed</title>
  <updated>2015-04-01T19:05:24.552394234+00:00</updated>
  <entry>
    <id>yt:video:VIDEO_ID</id>
    <yt:videoId>VIDEO_ID</yt:videoId>
    <yt:channelId>CHANNEL_ID</yt:channelId>
    <title>Video title</title>
    <link rel="alternate" href="http://www.youtube.com/watch?v=VIDEO_ID"/>
    <author>
     <name>Channel title</name>
     <uri>http://www.youtube.com/channel/CHANNEL_ID</uri>
    </author>
    <published>2015-03-06T21:40:57+00:00</published>
    <updated>2015-03-09T19:05:24.552394234+00:00</updated>
  </entry>
</feed>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request youtube Youtube-related issue
Projects
None yet
Development

No branches or pull requests

3 participants