Announcing: download fights as ZIP files

Use this forum for title suggestions, bitching at moderators, whining about phpBB, and grand ideas that will solve all of Song Fight's problems.
Post Reply
User avatar
jast
Team Drizzy
Posts: 1164
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: REAPER, Steinberg UR44
Submitting as: Jan Krueger
Location: near Aachen, Germany
Contact:

Announcing: download fights as ZIP files

Post by jast » Wed Jun 19, 2013 4:04 am

Depending on what software you have available, downloading a fight (e.g. for reviewing) is fairly tedious: in the worst case, you have to download each file individually. No, wait: had to. Because now there are ZIP files.
  • Complete: all fights ever published on songfight.org! (Currently 32 GB worth of data)
  • Simple: each title as a single ZIP file!
  • No fluff: each ZIP file has nothing but the songs, with not a single bit changed!
  • No limits: download as much and as often as you want! The ZIP files are hosted in a place where that doesn't bother anyone. (The amount directly downloadable per month is limited, but even after that you can still download to your heart's content – you'll just be routed through a simple download page and there's a timer if you download multiple files in a row.)
ZIP files are available on: http://jk.gs/songfight-download/

If there are any problems, let me know.

PS. want to link to ZIP files from your own site? Stable links look like this: //jk.gs/songfight-download/gimme.php/<fight key>.zip
most of my music
Song Fight-related stuff I host: ZIP archives // Circle of Titles
Lunkhead
Numanoid
Posts: 5650
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/reason/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Location: Berkeley, CA
Contact:

Re: Announcing: download fights as ZIP files

Post by Lunkhead » Wed Jun 19, 2013 7:14 am

Pretty cool! Mind if I link to these from the Jukebox?
User avatar
roymond
Numanoid
Posts: 5098
Joined: Sat Sep 25, 2004 3:42 pm
Instruments: Guitars, Bass, Vocals, Logic
Recording Method: Logic X, MacBookPro, Guitar Rig 5, Rig Kontrol 3, Focusrite Scarlett 2i2, iPad3, Apogee Jam
Submitting as: roymond, Dangerous Croutons, Intentionally Left Bank
Location: brooklyn
Contact:

Re: Announcing: download fights as ZIP files

Post by roymond » Wed Jun 19, 2013 7:38 am

This is sweet. I use iDownloader on iPhone for downloading and listening and this is the perfect solution.

Will new fights appear magically once posted?
roymond.com | songfights | covers
"Congratulatons, roymond; you finally managed to write a song I don't really care for." - Märk
User avatar
jast
Team Drizzy
Posts: 1164
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: REAPER, Steinberg UR44
Submitting as: Jan Krueger
Location: near Aachen, Germany
Contact:

Re: Announcing: download fights as ZIP files

Post by jast » Wed Jun 19, 2013 8:36 am

@Lunkhead: not at all.
@roymond: no, but there's a link you can click to make it create a new archive. Usually takes less than two minutes.

PS. I changed the code for grabbing the current fight, after downloading the one that's currently current (language fails me...), so the next one may or may not work properly (though I think it's probably fine). If it doesn't, let me know.
most of my music
Song Fight-related stuff I host: ZIP archives // Circle of Titles
User avatar
Niveous
Numanoid
Posts: 6646
Joined: Mon Sep 27, 2004 6:45 am
Instruments: vocals, songwriting, acoustic guitar
Submitting as: Lucky Witch and the Righteous Ghost
Location: Sunnyside, NY
Contact:

Re: Announcing: download fights as ZIP files

Post by Niveous » Wed Jun 19, 2013 11:10 am

Wow, I wish you would've announced this a few days ago, before i downloaded the entire 32GBs song by song.
"I'd like to see 1984 redubbed with this in the soundtrack."- Furrypedro.
NUR EIN!
X-Tokyo
Lucky Witch and the Righteous Ghost
User avatar
fluffy
Juggalo
Posts: 9493
Joined: Sat Sep 25, 2004 10:56 am
Instruments: sometimes
Recording Method: Logic Pro X
Submitting as: Sockpuppet
Location: The Plaidlands (also, Seattle)
Contact:

Re: Announcing: download fights as ZIP files

Post by fluffy » Wed Jun 19, 2013 12:49 pm

This is pretty useful for people who don't want to set up a download manager themselves.

Niveous: Did you really manually download every single link? There are plenty of other ways of downloading things en masse. I generally use wget, which is a commandline tool.

Code: Select all

wget -m http://www.songfight.org/ -A mp3
will download all of the mp3s on the site, and

Code: Select all

wget -r -l 1 http://www.songfight.org/ -A mp3
will only download the ones currently on the front page.
User avatar
jb
Goulddigger
Posts: 3592
Joined: Sat Sep 25, 2004 10:12 am
Instruments: Guitar, Cello, Keys, Uke, Vox, Perc
Recording Method: Logic X
Submitting as: The John Benjamin Band
Location: WASHINGTON, DC
Contact:

Re: Announcing: download fights as ZIP files

Post by jb » Wed Jun 19, 2013 1:10 pm

gee, wonder why the data transfer on .org spiked ;)
User avatar
Niveous
Numanoid
Posts: 6646
Joined: Mon Sep 27, 2004 6:45 am
Instruments: vocals, songwriting, acoustic guitar
Submitting as: Lucky Witch and the Righteous Ghost
Location: Sunnyside, NY
Contact:

Re: Announcing: download fights as ZIP files

Post by Niveous » Wed Jun 19, 2013 1:52 pm

fluffy wrote:Niveous: Did you really manually download every single link?
I used Firefox's Down the All. One click and blam, it was done 4 hours later.
"I'd like to see 1984 redubbed with this in the soundtrack."- Furrypedro.
NUR EIN!
X-Tokyo
Lucky Witch and the Righteous Ghost
User avatar
jast
Team Drizzy
Posts: 1164
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: REAPER, Steinberg UR44
Submitting as: Jan Krueger
Location: near Aachen, Germany
Contact:

Re: Announcing: download fights as ZIP files

Post by jast » Wed Jun 19, 2013 3:49 pm

Niveous wrote:I used Firefox's Down the All. One click and blam, it was done 4 hours later.
So it wasn't actually worse than downloading the ZIP files... ;)
most of my music
Song Fight-related stuff I host: ZIP archives // Circle of Titles
User avatar
jast
Team Drizzy
Posts: 1164
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: REAPER, Steinberg UR44
Submitting as: Jan Krueger
Location: near Aachen, Germany
Contact:

Re: Announcing: download fights as ZIP files

Post by jast » Wed Jun 19, 2013 3:54 pm

PS. PHP is such a horrible language. array_merge() keeps string keys intact but recounts numeric keys. If a string happens to look like a number... it's a number. That's why, until just now, the title '501' wasn't handled properly. Fortunately the workhorse of the download site is written in shell script – that's much saner.
most of my music
Song Fight-related stuff I host: ZIP archives // Circle of Titles
User avatar
fluffy
Juggalo
Posts: 9493
Joined: Sat Sep 25, 2004 10:56 am
Instruments: sometimes
Recording Method: Logic Pro X
Submitting as: Sockpuppet
Location: The Plaidlands (also, Seattle)
Contact:

Re: Announcing: download fights as ZIP files

Post by fluffy » Wed Jun 19, 2013 7:29 pm

jast wrote:PS. PHP is such a horrible language. array_merge() keeps string keys intact but recounts numeric keys. If a string happens to look like a number... it's a number. That's why, until just now, the title '501' wasn't handled properly. Fortunately the workhorse of the download site is written in shell script – that's much saner.
sigh

motherfucking data typing, how does it work
Lunkhead
Numanoid
Posts: 5650
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/reason/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Location: Berkeley, CA
Contact:

Re: Announcing: download fights as ZIP files

Post by Lunkhead » Wed Jun 19, 2013 8:41 pm

Funny, I never had issues like that in Java. :P

Anyway, jb, care to elaborate with any info/stats at all about normal songfight.org bandwidth usage compared to the recent spike?
User avatar
jast
Team Drizzy
Posts: 1164
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: REAPER, Steinberg UR44
Submitting as: Jan Krueger
Location: near Aachen, Germany
Contact:

Re: Announcing: download fights as ZIP files

Post by jast » Thu Jun 20, 2013 12:47 am

Lunkhead wrote:Funny, I never had issues like that in Java. :P
Funny, I don't like writing 5000 lines of code and adding three frameworks when 100 LoC and no framework would do. :P
most of my music
Song Fight-related stuff I host: ZIP archives // Circle of Titles
Lunkhead
Numanoid
Posts: 5650
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/reason/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Location: Berkeley, CA
Contact:

Re: Announcing: download fights as ZIP files

Post by Lunkhead » Thu Jun 20, 2013 8:35 am

I don't get your point. :P
User avatar
roymond
Numanoid
Posts: 5098
Joined: Sat Sep 25, 2004 3:42 pm
Instruments: Guitars, Bass, Vocals, Logic
Recording Method: Logic X, MacBookPro, Guitar Rig 5, Rig Kontrol 3, Focusrite Scarlett 2i2, iPad3, Apogee Jam
Submitting as: roymond, Dangerous Croutons, Intentionally Left Bank
Location: brooklyn
Contact:

Re: Announcing: download fights as ZIP files

Post by roymond » Thu Jun 20, 2013 9:00 am

Please stand by...I am preparing my geek postering post...
roymond.com | songfights | covers
"Congratulatons, roymond; you finally managed to write a song I don't really care for." - Märk
User avatar
josh
Fanilow
Posts: 326
Joined: Tue Mar 25, 2014 4:43 pm
Instruments: Guitar, Bass, Kazoo, Vocals, Keys
Recording Method: Reaper, 4-Track Cassette
Submitting as: Zack Facco
Location: Cambridge, MA
Contact:

Re: Announcing: download fights as ZIP files

Post by josh » Mon Mar 31, 2014 8:42 am

I take it this is no longer happening? Anyway, I can confirm "DownThemAll" does the job in Firefox.
User avatar
jast
Team Drizzy
Posts: 1164
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: REAPER, Steinberg UR44
Submitting as: Jan Krueger
Location: near Aachen, Germany
Contact:

Re: Announcing: download fights as ZIP files

Post by jast » Wed Apr 02, 2014 1:02 am

Crap... apparently a recent power failure destroyed (part of) the database. I'll try and get it rebuilt soonish.
Last edited by jast on Wed Apr 02, 2014 1:07 am, edited 1 time in total.
most of my music
Song Fight-related stuff I host: ZIP archives // Circle of Titles
User avatar
jast
Team Drizzy
Posts: 1164
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: REAPER, Steinberg UR44
Submitting as: Jan Krueger
Location: near Aachen, Germany
Contact:

Re: Announcing: download fights as ZIP files

Post by jast » Wed Apr 02, 2014 1:06 am

Well, that was easier than I thought... fixed
most of my music
Song Fight-related stuff I host: ZIP archives // Circle of Titles
Post Reply