Merge pull request #352 from arabcoders/dev
Some checks failed
Build WebView wrappers / build (amd64, ubuntu-latest) (push) Has been cancelled
Build WebView wrappers / build (amd64, windows-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, macos-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, ubuntu-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, windows-latest) (push) Has been cancelled

Fix playlist_autonumber. Closes #351
This commit is contained in:
Abdulmohsen 2025-07-24 23:50:17 +03:00 committed by GitHub
commit b4e5990b83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -329,8 +329,8 @@ class DownloadQueue(metaclass=Singleton):
"playlist_channel": entry.get("channel"),
"playlist_channel_id": entry.get("channel_id"),
"playlist_webpage_url": entry.get("webpage_url"),
"playlist_index": f"{{0:0{len(str(playlistCount))}d}}".format(i),
"playlist_autonumber": i + 1,
"playlist_index": i,
"playlist_autonumber": i,
}
for property in ("id", "title", "uploader", "uploader_id"):