trizen / youtube-viewer

Lightweight YouTube client for Linux
https://trizenx.blogspot.com/2012/03/gtk-youtube-viewer.html
Artistic License 2.0
1.2k stars 87 forks source link

What is the local playlistID format? #405

Closed ZaxonXP closed 2 years ago

ZaxonXP commented 2 years ago

I tried to use the --save-playlist=1 and --save-playlist=name but none of the format works.

When I try following example I always get an error:

youtube-viewer --no-use-colors --no-interactive --custom-layout='  *TIME* | *ID* | *PUBLISHED* | *TITLE*' -uv=UC_aEa8K-EOJ3D6gOs7HcyNg --save-playlist=name

[!] Invalid playlistID: <name>

What is the valid playlistID then?

Kind regards, ZaxonXP

trizen commented 2 years ago

The playlistID is an YouTube playlist ID or a playlist URL.

Example:

youtube-viewer --save-playlist=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK

or

youtube-viewer --save-playlist 'https://www.youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK'