@tyleretters/discography 0.0.20 → 0.0.22

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@tyleretters/discography",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "A canonical discography of the music of Tyler Etters.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/convert.py CHANGED
@@ -18,19 +18,24 @@ 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"
20
20
 
21
- special_maps = {
21
+ special_slug_maps = {
22
22
  "ΑΙΓΑΙΙΣ": "AIGAIIS",
23
23
  "nausicaä": "nausicaa"
24
24
  }
25
25
 
26
+ # there are some encoding issues with the # character
27
+ special_title_maps = {
28
+ 'A White USB Drive With "HEXAGON" iStock Logo \#1135496271': 'A White USB Drive With "HEXAGON" iStock Logo #1135496271'
29
+ }
30
+
26
31
  def make_id(str):
27
32
  md5_hash = hashlib.md5()
28
33
  md5_hash.update(str.encode("utf-8"))
29
34
  return md5_hash.hexdigest()
30
35
 
31
36
  def make_slug(str):
32
- if str in special_maps:
33
- str = special_maps[str]
37
+ if str in special_slug_maps:
38
+ str = special_slug_maps[str]
34
39
  str = str.lower()
35
40
  # convert & to and
36
41
  str = re.sub(r'&', 'and', str)
@@ -42,6 +47,11 @@ def make_slug(str):
42
47
  str = re.sub(r'--+', '-', str)
43
48
  return str
44
49
 
50
+ def make_track_title(str):
51
+ if str in special_title_maps:
52
+ return special_title_maps[str]
53
+ return str
54
+
45
55
  def make_html_paragraphs(str):
46
56
  str = str.rstrip("\n")
47
57
  str = "<p>" + str + "</p>"
@@ -104,6 +114,9 @@ for release in data:
104
114
  # generate an id (ARTIST + RELEASE + NUMBER + TITLE + LENGTH)
105
115
  track["id"] = make_id(release["project"] + release["title"] + str(track["number"]) + track["title"] + track["length"])
106
116
 
117
+ # generate a track title
118
+ track["title"] = make_track_title(track["title"])
119
+
107
120
  # generate an id for each stream
108
121
  if "streams" in release:
109
122
  for stream in release["streams"]:
@@ -1,4 +1,35 @@
1
1
  export const discography = [
2
+ {
3
+ "title": "EP3",
4
+ "project": "They Became What They Beheld",
5
+ "released": "02023-04-14",
6
+ "type": "EP",
7
+ "format": "Digital",
8
+ "role": "Principal Musician",
9
+ "label": "Intertext",
10
+ "mp3": false,
11
+ "wav": false,
12
+ "tracks": [
13
+ {
14
+ "number": 1,
15
+ "title": "This changes things",
16
+ "length": "00:11:07",
17
+ "id": "d54a0b6c9e28ad784eea3340367834a1"
18
+ },
19
+ {
20
+ "number": 2,
21
+ "title": "Nothing is real anymore",
22
+ "length": "00:11:07",
23
+ "id": "578fa08628bc3fa4431215233e22cb40"
24
+ }
25
+ ],
26
+ "notes": "<p>But this is already the point of view required\u2014given a change of perspective\u2014for examining the primitive socius, the territorial machine for declining alliances and filiations. This machine is segmentary because, through its double apparatus of tribe and lineage, it cuts up segments of varying lengths: genealogical filiative units of major, minor, and minimal lineages, with their hierarchy, their respective chiefs, their elders who guard the stocks and organize marriages; territorial tribal units of primary, secondary, and tertiary sections, also having their dominant roles and their alliances. \"The point of separation between the tribal sections becomes the point of divergence in the clan structure of the lineages associated with each section. For, as we have seen, clans and their lineages are not distinct corporate groups, but are embodied in local communities, through which they function structurally.\"10 The two systems intersect, each segment being associated with the flows and the chains, with the stocked flows and the passing flows, with selections from the flows and detachments from the chains (certain production projects are executed in the framework of the tribal system, others in the framework of the lineage system). The variability and relativity of the segments are responsible for all sorts of penetrations between the inalienable elements of filiation and the mobile elements of alliance. This is explained by the fact that the length of each segment\u2014or even its existence as such\u2014is determined only by its opposition to other segments in a series of interrelated stages. The segmentary machine mixes rivalries, conflicts, and ruptures throughout the variations of filiation and the fluctuations of alliance. The whole system evolves between two poles: that of fusion through opposition to other groups, and that of scission through the constant formation of new lineages aspiring to independence, with capitalization of alliances and filiation. From one pole to the other, all the misfirings and failures in a system that is constantly reborn of its own disharmonies. What does Jeanne Favret mean when she shows, along with other ethnologists, that \"the persistence of a segmentary organization requires paradoxically that its mechanisms be ineffectual enough so that fear remains the motor of the whole\"? And what is this fear? It would appear that social formations experienced a morbid and mournful foreboding of things to come, although what comes to them always comes from without, rushing in through their opening. Perhaps it is even for this reason that it arrives from without; they suffocate its inner potentiality, at the cost of the dysfunctions that constitute an integral part of the functioning of their system.</p><p>\u2014 Deleuze & Guattari, 1972</p>",
27
+ "credits": "<p>Thanks to the person who sold me a faulty tape deck so I could not continue this project as intended because the original tape deck was in an airplane hanger because of the pandemic and everything stalled out for so long on both sides of the incident and then the project changed \u2014 like everything else did, that was closer to then and things are different now. Thanks to my dad for showing me Dancing Fantasy when I was a kid. Thanks to Sage for being infinitely patient and compassionate with me during the pandemic. Thanks to my two close friends who talked with me on the phone at length today, you know who you are. Thanks to Emily for finding this strange book and making me her audience of one. Thanks to the Adriance Memorial Library for first stocking the book and later stamping it with DISCARD. Thanks to Hippo Books who succeeded in diverting it from a landfill and otherwise help to fund library sustainability and provide meaningful solutions to the global problem of illiteracy.</p><p>About text, icon, and name sourced from They Became What They Beheld written by Edmund Snow Carpenter, photographed by Ken Heyman, designed by Hess and/or Antupit, 1970.</p><p>Audio sourced from Giovanni Gabrieli's Sanctus: VI. Hosanna in excelsis broadcast by KUSC 91.5 and recorded by iPhone, 2020.</p><p>Photographs from my trip to Petalying Jaya, Malaysia, 2017.</p><p>Engineered by Tyler Etters, 2020 \u2014 2024.</p>",
28
+ "project_slug": "they-became-what-they-beheld",
29
+ "release_slug": "ep3",
30
+ "cover_url": "https://intertext.s3.us-west-1.amazonaws.com/they-became-what-they-beheld/ep3/ep3.jpg",
31
+ "id": "c7ee4757925b9b0c620503f1728b8921"
32
+ },
2
33
  {
3
34
  "title": "IN DARKNESS RADIANT",
4
35
  "project": "STUXNET",
@@ -583,7 +614,7 @@ export const discography = [
583
614
  },
584
615
  {
585
616
  "number": 3,
586
- "title": "A White USB Drive With \"HEXAGON\" iStock Logo \\#1135496271",
617
+ "title": "A White USB Drive With \"HEXAGON\" iStock Logo &num;1135496271",
587
618
  "length": "00:03:09",
588
619
  "mp3_url": "https://intertext.s3.us-west-1.amazonaws.com/stuxnet/matryoshka-demo/03-a-white-usb-drive-with-hexagon-istock-logo-1135496271.mp3",
589
620
  "wav_url": "https://intertext.s3.us-west-1.amazonaws.com/stuxnet/matryoshka-demo/03-a-white-usb-drive-with-hexagon-istock-logo-1135496271.wav",
@@ -1,3 +1,29 @@
1
+ - title: EP3
2
+ project: They Became What They Beheld
3
+ released: 02023-04-14
4
+ type: EP
5
+ format: Digital
6
+ role: Principal Musician
7
+ label: Intertext
8
+ mp3: false
9
+ wav: false
10
+ tracks:
11
+ - number: 1
12
+ title: This changes things
13
+ length: 00:11:07
14
+ - number: 2
15
+ title: Nothing is real anymore
16
+ length: 00:11:07
17
+ notes: |
18
+ But this is already the point of view required—given a change of perspective—for examining the primitive socius, the territorial machine for declining alliances and filiations. This machine is segmentary because, through its double apparatus of tribe and lineage, it cuts up segments of varying lengths: genealogical filiative units of major, minor, and minimal lineages, with their hierarchy, their respective chiefs, their elders who guard the stocks and organize marriages; territorial tribal units of primary, secondary, and tertiary sections, also having their dominant roles and their alliances. "The point of separation between the tribal sections becomes the point of divergence in the clan structure of the lineages associated with each section. For, as we have seen, clans and their lineages are not distinct corporate groups, but are embodied in local communities, through which they function structurally."10 The two systems intersect, each segment being associated with the flows and the chains, with the stocked flows and the passing flows, with selections from the flows and detachments from the chains (certain production projects are executed in the framework of the tribal system, others in the framework of the lineage system). The variability and relativity of the segments are responsible for all sorts of penetrations between the inalienable elements of filiation and the mobile elements of alliance. This is explained by the fact that the length of each segment—or even its existence as such—is determined only by its opposition to other segments in a series of interrelated stages. The segmentary machine mixes rivalries, conflicts, and ruptures throughout the variations of filiation and the fluctuations of alliance. The whole system evolves between two poles: that of fusion through opposition to other groups, and that of scission through the constant formation of new lineages aspiring to independence, with capitalization of alliances and filiation. From one pole to the other, all the misfirings and failures in a system that is constantly reborn of its own disharmonies. What does Jeanne Favret mean when she shows, along with other ethnologists, that "the persistence of a segmentary organization requires paradoxically that its mechanisms be ineffectual enough so that fear remains the motor of the whole"? And what is this fear? It would appear that social formations experienced a morbid and mournful foreboding of things to come, although what comes to them always comes from without, rushing in through their opening. Perhaps it is even for this reason that it arrives from without; they suffocate its inner potentiality, at the cost of the dysfunctions that constitute an integral part of the functioning of their system.
19
+ — Deleuze & Guattari, 1972
20
+ credits: |
21
+ Thanks to the person who sold me a faulty tape deck so I could not continue this project as intended because the original tape deck was in an airplane hanger because of the pandemic and everything stalled out for so long on both sides of the incident and then the project changed — like everything else did, that was closer to then and things are different now. Thanks to my dad for showing me Dancing Fantasy when I was a kid. Thanks to Sage for being infinitely patient and compassionate with me during the pandemic. Thanks to my two close friends who talked with me on the phone at length today, you know who you are. Thanks to Emily for finding this strange book and making me her audience of one. Thanks to the Adriance Memorial Library for first stocking the book and later stamping it with DISCARD. Thanks to Hippo Books who succeeded in diverting it from a landfill and otherwise help to fund library sustainability and provide meaningful solutions to the global problem of illiteracy.
22
+ About text, icon, and name sourced from They Became What They Beheld written by Edmund Snow Carpenter, photographed by Ken Heyman, designed by Hess and/or Antupit, 1970.
23
+ Audio sourced from Giovanni Gabrieli's Sanctus: VI. Hosanna in excelsis broadcast by KUSC 91.5 and recorded by iPhone, 2020.
24
+ Photographs from my trip to Petalying Jaya, Malaysia, 2017.
25
+ Engineered by Tyler Etters, 2020 — 2024.
26
+
1
27
  - title: IN DARKNESS RADIANT
2
28
  project: STUXNET
3
29
  released: 02023-12-22