@tyleretters/discography 1.1.5 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@tyleretters/discography",
3
3
  "type": "module",
4
- "version": "1.1.5",
4
+ "version": "2.0.1",
5
5
  "description": "A canonical discography of the music of Tyler Etters.",
6
6
  "main": "dist/index.es.js",
7
- "types": "dist/index.d.ts",
8
7
  "scripts": {
9
8
  "convert": "./src/convert.py",
10
9
  "build": "npm run convert && tsc && vite build && cp ./src/discography.yml ./dist/discography.yml"
package/src/convert.py CHANGED
@@ -13,7 +13,7 @@ import re
13
13
  import hashlib
14
14
  from datetime import datetime
15
15
 
16
- s3_bucket = "https://intertext.s3.us-west-1.amazonaws.com/"
16
+ cdn_base_url = "https://d107e1o0dn11sc.cloudfront.net/"
17
17
  dir_path = os.path.dirname(os.path.realpath(__file__))
18
18
  yml_path = dir_path + "/" + "discography.yml"
19
19
  ts_path = dir_path + "/" + "discography.ts"
@@ -71,10 +71,10 @@ for release in data:
71
71
  release["release_slug"] = make_slug(release["title"])
72
72
 
73
73
  # generate a cover
74
- release["cover_url"] = s3_bucket + release["project_slug"] + "/" + release["release_slug"] + "/" + release["release_slug"] + ".jpg"
74
+ release["cover_url"] = cdn_base_url + release["project_slug"] + "/" + release["release_slug"] + "/" + release["release_slug"] + ".jpg"
75
75
 
76
76
  # generate an mp3 and wav download links
77
- zip_slug = s3_bucket + release["project_slug"] + "/" + release["release_slug"] + "/" + release["release_slug"]
77
+ zip_slug = cdn_base_url + release["project_slug"] + "/" + release["release_slug"] + "/" + release["release_slug"]
78
78
 
79
79
  if (release["mp3"]):
80
80
  release["mp3_url"] = zip_slug + "-mp3.zip"
@@ -106,10 +106,10 @@ for release in data:
106
106
  slug = make_slug(str(track["number"]).zfill(2) + "-" + track["title"]) # zero pad track number
107
107
  track_slug = release["project_slug"] + "/" + release["release_slug"] + "/" + slug
108
108
  if (release["mp3"]):
109
- track["mp3_url"] = s3_bucket + track_slug + ".mp3"
109
+ track["mp3_url"] = cdn_base_url + track_slug + ".mp3"
110
110
 
111
111
  if (release["wav"]):
112
- track["wav_url"] = s3_bucket + track_slug + ".wav"
112
+ track["wav_url"] = cdn_base_url + track_slug + ".wav"
113
113
 
114
114
  # generate an id (ARTIST + RELEASE + NUMBER + TITLE + LENGTH)
115
115
  track["id"] = make_id(release["project"] + release["title"] + str(track["number"]) + track["title"] + track["length"])
@@ -1,3 +1,38 @@
1
+ - title: FOXFIRES / KYBALION
2
+ project: STUXNET
3
+ released: 02025-02-10
4
+ type: EP
5
+ format: Digital
6
+ role: Operator
7
+ label: Intertext
8
+ mp3: false
9
+ wav: false
10
+ tracks:
11
+ - number: 1
12
+ title: FOXFIRES / KYBALION
13
+ length: 00:26:53
14
+ streams:
15
+ - platform: Amazon
16
+ url: https://www.amazon.com/dp/B0DWWZ3JRF
17
+ - platform: Apple Music
18
+ url: https://music.apple.com/us/album/foxfires-kybalion-ep/1796608668
19
+ - platform: Bandcamp
20
+ url: https://stuxnet.bandcamp.com/album/foxfires-kybalion
21
+ - platform: Deezer
22
+ url: https://www.deezer.com/us/album/711748271
23
+ - platform: iHeartRadio
24
+ url: https://www.iheart.com/artist/stuxnet-610225/albums/foxfires-kybalion-313385710/
25
+ - platform: Spotify
26
+ url: https://open.spotify.com/album/7mh0Vr0dbBsndXQEHMPrmq
27
+ - platform: YouTube
28
+ url: https://www.youtube.com/watch?v=wr4PfhW2S3g
29
+ notes: |
30
+ “The inferno of the living is not something that will be; if there is one, it is what is already here, the inferno where we live every day, that we form by being together. There are two ways to escape suffering it. The first is easy for many: accept the inferno and become such a part of it that you can no longer see it. The second is risky and demands constant vigilance and apprehension: seek and learn to recognize who and what, in the midst of inferno, are not inferno, then make them endure, give them space.”
31
+ ― Italo Calvino, Invisible Cities
32
+ credits: |
33
+ STUXNET is Tyler Etters.
34
+ Written while my city burned.
35
+
1
36
  - title: KOWLOON WALLED CITY GIGA MIX
2
37
  project: DJ STUXNET
3
38
  released: 02024-12-21
@@ -1,2 +1 @@
1
- certifi==2021.10.8
2
1
  PyYAML==6.0.1