Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube: `--playlist-random` randomizes `%(playlist_index)s` values #25811

Open
hofmand opened this issue Jun 28, 2020 · 0 comments
Open

YouTube: `--playlist-random` randomizes `%(playlist_index)s` values #25811

hofmand opened this issue Jun 28, 2020 · 0 comments

Comments

@hofmand
Copy link

@hofmand hofmand commented Jun 28, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

C:\>youtube-dl -v --get-filename --playlist-random -o "%(playlist_index)s - %(title).80s.%(ext)s" https://www.youtube.com/playlist?list=PLJ8RjvesnvDN7dh5oiZzTrzLkECJHWNKn
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--get-filename', '--playlist-random', '-o', '%(playlist_index)s - %(title).80s.%(ext)s', 'https://www.youtube.com/playlist?list=PLJ8RjvesnvDN7dh5oiZzTrzLkECJHWNKn']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg N-92681-g0e833f615b, ffprobe N-92681-g0e833f615b
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
01 - Another Word from Our Sponsor.mp4
[debug] Default format spec: bestvideo+bestaudio/best
02 - Anthony Quinn Wins Supporting Actor - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
03 - George Stevens Wins Best Directing - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
04 - Writing Winners - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
05 - Yul Brynner Wins Best Actor - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
06 - A Word from Oldsmobile.mp4
[debug] Default format spec: bestvideo+bestaudio/best
07 - Around the World in Eighty Days and The King and I Win Music Awards - 1957 Oscar.mp4
[debug] Default format spec: bestvideo+bestaudio/best
08 - Oldsmobile Goes Airborne - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
09 - 'Que Sera, Sera (Whatever Will Be, Will Be)' Wins Original Song - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
10 - Mister Magoo's Puddle Jumper Wins Short Subject Cartoon - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
11 - The Ten Commandments Wins Special Effects - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
12 - Around the World in 80 Days Wins Best Picture - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
13 - Somebody Up There Likes Me and Around the World in Eighty Days Win Cinematograph.mp4
[debug] Default format spec: bestvideo+bestaudio/best
14 - Art Direction Winners - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
15 - Live Action Short Subject Winners - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
16 - Special Awards - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
17 - Dorothy Malone Wins Supporting Actress - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
18 - The King and I Wins Sound Recording - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
19 - Around the World in 80 Days Wins Film Editing - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
20 - 'La Strada' Wins Foreign Language Film - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
21 - The Solid Gold Cadillac and The King and I Win Costume Design - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
22 - Jerry Lewis's Opening Monologue - 1957 Oscars.mp4
[debug] Default format spec: bestvideo+bestaudio/best
23 - Ingrid Bergman Wins Best Actress - 1957 Oscars.mp4

Description

If you bring up the playlist in a web browser, "Jerry Lewis's Opening Monologue" is playlist item 01, but in the log above it's 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.