Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

rename duration to align with ytdl-coreΒ #155

@TimeForANinja

Description

@TimeForANinja

for ytdl it's named lengthSeconds
https://github.com/fent/node-ytdl-core/blob/master/typings/index.d.ts#L126
for ytsr it's named duration https://github.com/TimeForANinja/node-ytsr/blob/master/typings/index.d.ts#L94
so it would make sense to rename it to length and also add a lengthSeconds

if doing this don't forget
GridMovie#duration => https://github.com/TimeForANinja/node-ytsr/blob/master/typings/index.d.ts#L142
Movie#duration => https://github.com/TimeForANinja/node-ytsr/blob/master/typings/index.d.ts#L163

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions