Last active
December 11, 2020 21:46
-
-
Save VxJasonxV/48294f11b62c0249ba62a4fcff601084 to your computer and use it in GitHub Desktop.
ONESEVENTY Releases 1-50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'wavefile' | |
include WaveFile | |
releases = Dir.glob("/Volumes/ONESEVENTY/Singles/*") | |
releases.each do |r| | |
tracklist = [] | |
catno, album_artist, album_name = File.basename(r).split(' - ') | |
tracks = Dir.glob("#{r}/*.wav") | |
tracks.sort_by! { |f| f.match("Radio Edit") ? 0 : 1 } | |
tracks.each_with_index do |t, i| | |
wav = Reader.new(t) | |
t = File.basename(t, '.wav') | |
parts = t.split(' - ') | |
duration = wav.total_duration | |
length = duration.minutes.to_s.rjust(2, "0") << ":" << | |
duration.seconds.to_s.rjust(2, "0") | |
tracklist << { | |
track_nr: sprintf('%02d', i), | |
artist: parts[0], | |
title: parts[1..-1], | |
length: length | |
} | |
end | |
seed = <<-HTML | |
<html> | |
<head> | |
</head> | |
<body> | |
<form name="form" id="form" action="https://musicbrainz.org/release/add" method="POST"> | |
<input name="name" type="text" value="#{album_name}" /><br /> | |
<input name="artist_credit.names.0.name" type="text" value="#{album_artist}" /><br /> | |
<input name="language" type="text" value="eng" /><br /> | |
<input name="script" type="text" value="Latn" /><br /> | |
<input name="type" type="text" value="single" /> | |
<input name="status" type="text" value="official" /><br /> | |
<input name="packaging" type="text" value="none" /><br /> | |
<input name="events.0.country" type="text" value="XW" /><br /> | |
<input name="labels.0.mbid" type="text" value="cab8241b-2b65-4c4c-9291-f2e64e8e56ca" /> | |
<input name="labels.0.catalog_number" type="text" value="ONESEVENTY#{catno}" /><br /> | |
<input name="mediums.0.format" type="text" value="Digital Media" /> <br /> | |
HTML | |
tracklist.each_with_index do |t, i| | |
seed << <<-HTML | |
<input name="mediums.0.track.#{i}.name" type="text" value="#{t[:title][0]}"/> | |
<input name="mediums.0.track.#{i}.length" type="text" value="#{t[:length]}"/><br /> | |
HTML | |
end | |
seed << <<-HTML | |
<input name="urls.0.url" type="text" value="https://www.oneseventy.net/label-store"/> | |
<input name="urls.0.link_type" type="text" value="74"/><br /> | |
<textarea name="edit_note" type="text">Data comes from https://www.oneseventy.net/single-post/2019/10/01/oneseventy-volume-one-releases-01-50-8gb-usb which I have in my possession. | |
This volume contains WAV files with no metadata, all data is programmatically derived from directory names and file names. Can provide ls/tree output on request, can also provide the source code I will publish after I run these 50 inserts to completion. | |
Media does not contain track numbers on albums with > 1 track. I have opted to put Radio Edits first which is what I've conventionally seen on digital releases, such as https://music.apple.com/us/album/reflections-feat-lokka-vox-single/1477673119 for example. All other tracks (though there are none besides Extended Mix as of this writing) will be alphabetically sorted.</textarea><br /> | |
<input type="submit" value="seed"> | |
</form> | |
</body> | |
</html> | |
HTML | |
puts seed | |
File.write("#{ENV['HOME']}/tmp/seed.html", seed) | |
system('open', "#{ENV['HOME']}/tmp/seed.html") | |
gets | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Volumes/ONESEVENTY/Singles/ | |
├── 001 - Technikore & JTS feat. Emi - Siren | |
│ ├── ONESEVENTY1 (Alf Bamford's conflicted copy 2020-07-18).jpg | |
│ ├── ONESEVENTY1.jpg | |
│ └── Technikore & JTS feat. Emi - Siren (Original Mix).wav | |
├── 002 - Scott Brown & JTS - Never Stop | |
│ ├── ONESEVENTY2.jpg | |
│ └── Scott Brown & JTS - Never Stop (Original Mix).wav | |
├── 003 - Technikore & Mob - Fallen | |
│ ├── ONESEVENTY3.jpg | |
│ └── Technikore & Mob - Fallen (Original Mix).wav | |
├── 004 - Technikore, JTS, Al Storm & Weaver - Feeder | |
│ ├── ONESEVENTY4.jpg | |
│ └── Technikore, JTS, Al Storm & Weaver - Feeder (Original Mix).wav | |
├── 005 - Technikore feat. Emi - Just Be | |
│ ├── ONESEVENTY5.jpg | |
│ └── Technikore feat. Emi - Just Be (Original Mix).wav | |
├── 006 - Technikore & JTS - Viper | |
│ ├── ONESEVENTY6.jpg | |
│ └── Technikore & JTS - Viper (Original Mix).wav | |
├── 007 - Technikore & Zander - My Territory 2016 | |
│ ├── ONESEVENTY7.jpg | |
│ └── Technikore & Zander - My Territory 2016 (Original Mix).wav | |
├── 008 - Technikore & JTS - Worlds Collide | |
│ ├── ONESEVENTY8.jpg | |
│ └── Technikore & JTS - Worlds Collide (Original Mix).wav | |
├── 009 - JTS feat. Harri Rush - Forever | |
│ ├── JTS feat. Harri Rush - Forever (Original Mix).wav | |
│ └── ONESEVENTY9.jpg | |
├── 010 - Technikore feat. Emi - Another World | |
│ ├── ONESEVENTY10.jpg | |
│ └── Technikore feat. Emi - Another World (Original Mix).wav | |
├── 011 - Steve Hill vs Technikal - Right Here Right Now (JTS Remix) | |
│ ├── ONESEVENTY11.jpg | |
│ └── Steve Hill vs Technikal - Right Here Right Now (JTS Remix).wav | |
├── 012 - Technikore & JTS - Voodoo | |
│ ├── ONESEVENTY12.jpg | |
│ └── Technikore & JTS - Voodoo (Original Mix).wav | |
├── 013 - Impact & Resist - Sunrise (Technikore Remix) | |
│ ├── Impact & Resist - Sunrise (Technikore Remix).wav | |
│ └── ONESEVENTY13.jpg | |
├── 014 - Technikore & JTS feat. Harri Rush - Close The Door | |
│ ├── ONESEVENTY14.jpg | |
│ └── Technikore & JTS feat. Harri Rush - Close The Door (Original Mix).wav | |
├── 015 - Technikore & Weaver - Torn To Pieces | |
│ ├── ONESEVENTY15.jpg | |
│ └── Technikore & Weaver - Torn To Pieces (Original Mix).wav | |
├── 016 - JTS - Messin With My Head | |
│ ├── JTS - Messin With My Head (Original Mix).wav | |
│ └── ONESEVENTY16.jpg | |
├── 017 - Technikore & JTS vs Michael Mansion - Light Show | |
│ ├── ONESEVENTY17.jpg | |
│ └── Technikore & JTS vs Michael Mansion - Light Show (Original Mix).wav | |
├── 018 - Steve Hill vs Technikal - Don't Hesitate (Technikore's OneSeventy Remix) | |
│ ├── ONESEVENTY18.jpg | |
│ └── Steve Hill vs Technikal - Don't Hesitate (Technikore's OneSeventy Remix).wav | |
├── 019 - Technikore - Go Down | |
│ ├── ONESEVENTY19.jpg | |
│ └── Technikore - Go Down (Original Mix).wav | |
├── 020 - JTS - Music Is My Suicide | |
│ ├── JTS - Music Is My Suicide (Original Mix).wav | |
│ └── ONESEVENTY20.jpg | |
├── 021 - Technikore - All That It Takes (Draugen Anthem) | |
│ ├── ONESEVENTY21.jpg | |
│ └── Technikore - All That It Takes (Draugen Anthem) (Original Mix).wav | |
├── 022 - Hixxy & Re-Con - Superhuman (Technikore & JTS Remix) | |
│ ├── Hixxy & Re-Con - Superhuman (Technikore & JTS Remix).wav | |
│ └── ONESEVENTY22.jpg | |
├── 023 - Technikore feat. Lindsey Marie - Nervous | |
│ ├── ONESEVENTY23.jpg | |
│ └── Technikore feat. Lindsey Marie - Nervous (Original Mix).wav | |
├── 024 - Technikore feat. Nathalie - Yours Tonight (Defekt & Stu Infinity Remix) | |
│ ├── ONESEVENTY24.jpg | |
│ └── Technikore feat. Nathalie - Yours Tonight (Defekt & Stu Infinity Remix).wav | |
├── 025 - JTS - Can't Nobody Stop Me! | |
│ ├── JTS - Can't Nobody Stop Me! (Original Mix).wav | |
│ └── ONESEVENTY25.jpg | |
├── 026 - Technikore feat. Jenny J - Lights Down Low (Jekyll Remix) | |
│ ├── ONESEVENTY26.jpg | |
│ └── Technikore feat. Jenny J - Lights Down Low (Jekyll Remix).wav | |
├── 027 - Technikore & JTS - Holdin' On | |
│ ├── ONESEVENTY27.jpg | |
│ └── Technikore & JTS - Holdin' On (Original Mix).wav | |
├── 028 - Technikal feat. Nathalie - There For You (WILSXN Remix) | |
│ ├── ONESEVENTY28.jpg | |
│ └── Technikal feat. Nathalie - There For You (WILSXN Remix).wav | |
├── 029 - JTS & Technikore - This Mind Of Mine | |
│ ├── JTS & Technikore - This Mind Of Mine (Original Mix).wav | |
│ └── ONESEVENTY29.jpg | |
├── 030 - Technikore feat. Emi - Just Be 2.0 | |
│ ├── ONESEVENTY30.jpg | |
│ └── Technikore feat. Emi - Just Be 2.0 (Original Mix).wav | |
├── 031 - JTS feat. In Measures - Can't Let You Go (Redux) | |
│ ├── JTS feat. In Measures - Can't Let You Go (Redux).wav | |
│ └── ONESEVENTY31.jpg | |
├── 032 - Technikore & Ravine - Freakz | |
│ ├── ONESEVENTY32.jpg | |
│ └── Technikore & Ravine - Freakz (Original Mix).wav | |
├── 033 - JTS & Weaver - Home | |
│ ├── JTS & Weaver - Home (Original Mix).wav | |
│ └── ONESEVENTY33.jpg | |
├── 034 - Technikore & JTS - In My Face | |
│ ├── ONESEVENTY34.jpg | |
│ └── Technikore & JTS - In My Face (Original Mix).wav | |
├── 035 - JTS feat. Lindsey Marie - Turn It Around | |
│ ├── JTS feat. Lindsey Marie - Turn It Around (Original Mix).wav | |
│ └── ONESEVENTY35.jpg | |
├── 036 - Technikore feat. Nathalie - Calling Out To You (Redux) | |
│ ├── ONESEVENTY36.jpg | |
│ └── Technikore feat. Nathalie - Calling Out To You (Redux).wav | |
├── 037 - Technikore & JTS - Careless | |
│ ├── ONESEVENTY37.jpg | |
│ └── Technikore & JTS - Careless (Original Mix).wav | |
├── 038 - Technikore & Mike Reverie - Losing Myself | |
│ ├── ONESEVENTY38.jpg | |
│ └── Technikore & Mike Reverie - Losing Myself (Original Mix).wav | |
├── 039 - Technikore & Vicky Fee - Stay Forever | |
│ ├── ONESEVENTY39.jpg | |
│ ├── Technikore & Vicky Fee - Stay Forever (Club Edit).wav | |
│ ├── Technikore & Vicky Fee - Stay Forever (Extended Mix).wav | |
│ └── Technikore & Vicky Fee - Stay Forever (Radio Edit).wav | |
├── 040 - Technikore & JTS - #YEET | |
│ ├── ONESEVENTY40.jpg | |
│ ├── Technikore & JTS - #YEET (Original Mix).wav | |
│ └── Technikore & JTS - #YEET (Radio Edit).wav | |
├── 041 - Technikore & Suae - Til I Burn | |
│ ├── ONESEVENTY41.jpg | |
│ ├── Technikore & Suae - Til I Burn (Hardstyle Mix - Radio Edit).wav | |
│ ├── Technikore & Suae - Til I Burn (Hardstyle Mix).wav | |
│ ├── Technikore & Suae - Til I Burn (Original Mix).wav | |
│ └── Technikore & Suae - Til I Burn (Radio Edit).wav | |
├── 042 - Technikore & Weaver feat. Lokka Vox - Find You Now | |
│ ├── ONESEVENTY42.jpg | |
│ ├── Technikore & Weaver feat. Lokka Vox - Find You Now (Extended Mix).wav | |
│ └── Technikore & Weaver feat. Lokka Vox - Find You Now (Radio Edit).wav | |
├── 043 - Technikore & JTS - Dimensions | |
│ ├── ONESEVENTY43.jpg | |
│ ├── Technikore & JTS - Dimensions (Extended Mix).wav | |
│ └── Technikore & JTS - Dimensions (Radio Edit).wav | |
├── 044 - Summa Jae - If Ever | |
│ ├── ONESEVENTY44.jpg | |
│ ├── Summa Jae - If Ever (Extended Mix).wav | |
│ └── Summa Jae - If Ever (Radio Edit).wav | |
├── 045 - Technikore & MC Riddle - The Phantom | |
│ ├── ONESEVENTY45.jpg | |
│ ├── Technikore & MC Riddle - The Phantom (Extended Mix).wav | |
│ └── Technikore & MC Riddle - The Phantom (Radio Edit).wav | |
├── 046 - Macks Wolf - Hit 'Em Like This | |
│ ├── Macks Wolf - Hit 'Em Like This (Extended Mix).wav | |
│ ├── Macks Wolf - Hit 'Em Like This (Radio Edit).wav | |
│ └── ONESEVENTY46.jpg | |
├── 047 - Technikore & Suae - Wake Me Up | |
│ ├── ONESEVENTY47.jpg | |
│ ├── Technikore & Suae - Wake Me Up (Extended Mix).wav | |
│ └── Technikore & Suae - Wake Me Up (Radio Edit).wav | |
├── 048 - Mark Breeze & Macks Wolf feat. Heidi Anne - Turn On The Light | |
│ ├── Mark Breeze & Macks Wolf feat. Heidi Anne - Turn On The Light (Extended Mix).wav | |
│ ├── Mark Breeze & Macks Wolf feat. Heidi Anne - Turn On The Light (Radio Edit).wav | |
│ └── ONESEVENTY48.jpg | |
├── 049 - Firelite feat. Nheon & Jack Knight - What You Want (Technikore & Suae Remix) | |
│ ├── Firelite feat. Nheon & Jack Knight - What You Want (Technikore & Suae Radio Edit).wav | |
│ ├── Firelite feat. Nheon & Jack Knight - What You Want (Technikore & Suae Remix).wav | |
│ └── ONESEVENTY49.jpg | |
└── 050 - Dougal & Disco's Over feat. Lokka Vox - Reflections | |
├── Dougal & Disco's Over feat. Lokka Vox - Reflections (Extended Mix).wav | |
├── Dougal & Disco's Over feat. Lokka Vox - Reflections (Radio Edit).wav | |
└── ONESEVENTY50.jpg | |
50 directories, 116 files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment