json sort_keys

This commit is contained in:
jbannon 2022-05-30 07:21:05 +00:00
parent 517709b8a4
commit 883b696d08
4 changed files with 6 additions and 5 deletions

View file

@ -278,6 +278,7 @@ class DownloadMappings:
) )
}, },
indent=2, indent=2,
sort_keys=True,
) )
with open(output_json_file, "w", encoding="utf8") as file: with open(output_json_file, "w", encoding="utf8") as file:

View file

@ -59,7 +59,7 @@ def expected_discography_download():
return ExpectedDownload( return ExpectedDownload(
expected_md5_file_hashes={ expected_md5_file_hashes={
# Download mapping # Download mapping
Path("j_b/.ytdl-sub-jb-download-archive.json"): "7d7615294db4be55a75f644d30ff2de1", Path("j_b/.ytdl-sub-jb-download-archive.json"): "ae55de93b71267b5712c9a3d06c07c26",
# Entry files (singles) # Entry files (singles)
Path("j_b/[2021] Baby Santana's Dorian Groove/01 - Baby Santana's Dorian Groove.mp3"): "bffbd558e12c6a9e029dc136a88342c4", Path("j_b/[2021] Baby Santana's Dorian Groove/01 - Baby Santana's Dorian Groove.mp3"): "bffbd558e12c6a9e029dc136a88342c4",

View file

@ -65,7 +65,7 @@ def expected_full_channel_download():
return ExpectedDownload( return ExpectedDownload(
expected_md5_file_hashes={ expected_md5_file_hashes={
# Download mapping # Download mapping
Path("pz/.ytdl-sub-pz-download-archive.json"): "add71021318bf87a3facb965fd38bd7f", Path("pz/.ytdl-sub-pz-download-archive.json"): "b7e7c19d2cf0277e4e42453a64fbaa90",
# Output directory files # Output directory files
Path("pz/fanart.jpg"): "e6e323373c8902568e96e374817179cf", Path("pz/fanart.jpg"): "e6e323373c8902568e96e374817179cf",
@ -159,7 +159,7 @@ def expected_recent_channel_download():
return ExpectedDownload( return ExpectedDownload(
expected_md5_file_hashes={ expected_md5_file_hashes={
# Download mapping # Download mapping
Path("pz/.ytdl-sub-pz-download-archive.json"): "a133d9ea8a63e239cd41b799b9031fd5", Path("pz/.ytdl-sub-pz-download-archive.json"): "b1675ca4d9f0d4b9c2102b6749e4cdfd",
# Output directory files # Output directory files
Path("pz/fanart.jpg"): "e6e323373c8902568e96e374817179cf", Path("pz/fanart.jpg"): "e6e323373c8902568e96e374817179cf",
@ -215,7 +215,7 @@ def expected_rolling_recent_channel_download():
return ExpectedDownload( return ExpectedDownload(
expected_md5_file_hashes={ expected_md5_file_hashes={
# Download mapping # Download mapping
Path("pz/.ytdl-sub-pz-download-archive.json"): "8013b4d2ba6921c9347c014ac915e3f6", Path("pz/.ytdl-sub-pz-download-archive.json"): "9ae3463bd2dc39830003aba68a276df4",
# Output directory files # Output directory files
Path("pz/fanart.jpg"): "e6e323373c8902568e96e374817179cf", Path("pz/fanart.jpg"): "e6e323373c8902568e96e374817179cf",

View file

@ -64,7 +64,7 @@ def expected_playlist_download():
return ExpectedDownload( return ExpectedDownload(
expected_md5_file_hashes={ expected_md5_file_hashes={
# Download mapping # Download mapping
Path(".ytdl-sub-jmc-download-archive.json"): "4c368c5a12dc3ddb4c9d68fd9a782f24", Path(".ytdl-sub-jmc-download-archive.json"): "7541aa75606b86bff5ff276895520cf0",
# Entry files # Entry files
Path("JMC - Jesse's Minecraft Server [Trailer - Feb.1].jpg"): "048a19cf0f674437351872c3f312ebf1", Path("JMC - Jesse's Minecraft Server [Trailer - Feb.1].jpg"): "048a19cf0f674437351872c3f312ebf1",