get newest additions to a youtube playlist using youtube-dl

Arno van der Weijden

I've got a collaborative youtube playlist with some friends that we use when we get together to play games. The problem is that the internet connection where we get together is quite bad. So I made a little script where people can send songs using bluetooth or by sending a youtube link (youtube-dl downloads the mp3 file of that video using a script that uses the currently selected (youtube) link). I wanted an easier method of adding videos to the offline playlist.

I want to use the collaborative playlist to determine which songs are to be downloaded but I only want the newest additions to the playlist (since the last check/download) is it possible to retrieve the latest youtube playlist items in linux bash?

anon

Have a look at the video selection options. In particular, --download-archive can be used for this purpose.

Simply run youtube-dl --download-archive /path/to/the/archive/file playlist_url. This will download all new songs in the playlist. If your playlist is large, you can also use --playlist-end 42 to only consider the first 42 songs.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Youtube - downloading a playlist - youtube-dl

From Dev

Synchronise items in current folder with playlist using youtube-dl

From Dev

Get reference to youtube playlist

From Dev

Get Youtube playlist by Title

From Dev

youtube-dl delete files that are no longer in a playlist

From Dev

youtube-dl | Download playlist in respective directory

From Dev

Youtube-dl viewster playlist language selection

From Dev

youtube-dl not downloading the whole playlist

From Dev

youtube-dl delete files that are no longer in a playlist

From Dev

How to download a youtube playlist with numbered prefix via youtube-dl?

From Dev

How to download a youtube playlist with numbered prefix via youtube-dl?

From Dev

Downloading youtube playlist with youtube-dl, skipping existing files

From Dev

Play youtube playlist with youtube-dl with shuffling or repeat

From Dev

Download youtube playlist from youtube-dl. but no sounds

From Dev

Get YouTube playlist videos anonymously

From Dev

Regex > get YouTube Playlist ID?

From Dev

Get all YouTube Videos in a Playlist using Angular JS

From Dev

Get the youtube playlist detail using the v3 API

From Dev

How can I download a youtube playlist with youtube-dl and make it a mp3-playlist?

From Dev

youtube-dl; How download ONLY the playlist, NOT the files therein

From Dev

How can I make youtube-dl return the creator of a playlist?

From Dev

youtube-dl: Use different output format if downloading a playlist

From Dev

youtube-dl all the vides under a specified playlist

From Dev

How to get best quality audio using youtube-dl?

From Dev

Get all videos of a YouTube Playlist in Java

From Dev

Get Youtube publish channel playlist videos in android

From Dev

Always get latest video in YouTube playlist

From Dev

Always get latest video in YouTube playlist

From Dev

Youtube Playlist using Intent without showing dialog

Related Related

  1. 1

    Youtube - downloading a playlist - youtube-dl

  2. 2

    Synchronise items in current folder with playlist using youtube-dl

  3. 3

    Get reference to youtube playlist

  4. 4

    Get Youtube playlist by Title

  5. 5

    youtube-dl delete files that are no longer in a playlist

  6. 6

    youtube-dl | Download playlist in respective directory

  7. 7

    Youtube-dl viewster playlist language selection

  8. 8

    youtube-dl not downloading the whole playlist

  9. 9

    youtube-dl delete files that are no longer in a playlist

  10. 10

    How to download a youtube playlist with numbered prefix via youtube-dl?

  11. 11

    How to download a youtube playlist with numbered prefix via youtube-dl?

  12. 12

    Downloading youtube playlist with youtube-dl, skipping existing files

  13. 13

    Play youtube playlist with youtube-dl with shuffling or repeat

  14. 14

    Download youtube playlist from youtube-dl. but no sounds

  15. 15

    Get YouTube playlist videos anonymously

  16. 16

    Regex > get YouTube Playlist ID?

  17. 17

    Get all YouTube Videos in a Playlist using Angular JS

  18. 18

    Get the youtube playlist detail using the v3 API

  19. 19

    How can I download a youtube playlist with youtube-dl and make it a mp3-playlist?

  20. 20

    youtube-dl; How download ONLY the playlist, NOT the files therein

  21. 21

    How can I make youtube-dl return the creator of a playlist?

  22. 22

    youtube-dl: Use different output format if downloading a playlist

  23. 23

    youtube-dl all the vides under a specified playlist

  24. 24

    How to get best quality audio using youtube-dl?

  25. 25

    Get all videos of a YouTube Playlist in Java

  26. 26

    Get Youtube publish channel playlist videos in android

  27. 27

    Always get latest video in YouTube playlist

  28. 28

    Always get latest video in YouTube playlist

  29. 29

    Youtube Playlist using Intent without showing dialog

HotTag

Archive