Add "live_since" timestamp json key for live streams #19184

Open
opened 2026-02-21 10:28:26 -05:00 by deekerman · 0 comments
Owner

Originally created by @nurupo on GitHub (Jan 22, 2020).

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2020.01.15
  • I've searched the bugtracker for similar feature requests including closed ones

Description

YouTube and Twitch live streams provide timestamps of when the ongoing live stream has started. It would be useful to have youtube-dl print those in its json output, e.g. so that you could see in mpv (which uses youtube-dl) how long a stream has been live for. So far youtube-dl provides only year, month and day date, but no exact time.

Originally created by @nurupo on GitHub (Jan 22, 2020). <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.01.15. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Search the bugtracker for similar feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a feature request - [x] I've verified that I'm running youtube-dl version **2020.01.15** - [x] I've searched the bugtracker for similar feature requests including closed ones ## Description <!-- Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible. --> YouTube and Twitch live streams provide timestamps of when the ongoing live stream has started. It would be useful to have youtube-dl print those in its json output, e.g. so that you could see in mpv (which uses youtube-dl) how long a stream has been live for. So far youtube-dl provides only year, month and day date, but no exact time.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#19184
No description provided.