Skip to content

Commit

Permalink
feat: update songs for 2024-07-20
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Duss <=>
  • Loading branch information
Andrew Duss committed Jul 22, 2024
1 parent 30620a3 commit d12c543
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 784 deletions.
2 changes: 1 addition & 1 deletion add_from_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

File.readlines('songs.txt').each_with_index do |line, index|
puts("[*] Adding song #{index} #{line}")
index = index + 781 # Start at the end of the playlist
index = index + 788 # Start at the end of the playlist
uri = get_track_uri(line)
add_track(uri, index)
end
Expand Down
6 changes: 4 additions & 2 deletions lib/add-track.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def add_track(track_uri, position=0)
puts "Successfully added track to playlist"
return true
elsif response.code == "400"
# do nothing, user already alerted in 'get-track-uri'
puts "Track not added! Response code #{response.code}. See ErrorLog"
puts response.body
@error_log[track_uri] = [Time.new, response.code, response.body]
else
puts "Track not added! Response code #{response.code}. See ErrorLog"
@error_log[track_uri] = [Time.new, response.code, response.body]
Expand All @@ -43,4 +45,4 @@ def add_track(track_uri, position=0)
File.open("./log/ErrorLog_#{timestring}AT.log", "w") { |f| f.write(@error_log) }
return response.code
end
end
end
50 changes: 49 additions & 1 deletion rpp_clean_titles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -777,4 +777,52 @@ Docket (feat. Bully) Blondshell
Pure Magic Star Anna
Starting and Staring Gustaf
Meter Run Bad Bad Hats
Floating On A Moment Beth Gibbons
Floating On A Moment Beth Gibbons
The Tern Beirut
Loved Four Tet
Cherry Blossom (feat. Koresma) Emancipator
How'd It Get So Real Colouring
Gleams George Fitzgerald
Spare Me the Decision (Cutouts Remix) Nation of Language
Honey Caribou
Robrash TR/ST
24 hours bad tuner
Passing Judgment Been Stellar
Peace Sign Ride
Where The Road Goes Old 97's
A Girl, Running Ducks LTD
Finer Things Cuffed Up
House Rules Lamplight
I Am A Force Field Cloud Cult
Dancing in the Rubble Brimheim
Dancer IDLES
Make It Happen Wonder 45
Fragile James and the Cold Gun
Into You The Haunted Youth
Up and Comer Sprints
Dominion CHILD and THE BANNED
Ease Christian Loffler
Bang Melenas
Pull The Rope Ibibio Sound Machine
Good News freekind.
Rat Fight mega cat
In Green We Dream Parlor Greens
Sepricon Brittany Davis
Hooligan Dad The Big Hell
Sentence I Font
Change Enumclaw
The Trail I. The Qualitons
Run Run Run Pokey LaFarge
Burial Ground The Decemberists
Contact Apples with Moya
Pisces Season But All the Time Early Internet
In Front of Me Now Nada Surf
Last Frontier Ride
Wish Me Away Gift
Lines Maxband
Tarkovski BODEGA
Fray Pure Hex
Self Destructor Good Looks
Sweet Been Stellar
Like I Say (I Runaway) Nilufer Yanya
Freestyle Day Spa Warren Dunes
Loading

0 comments on commit d12c543

Please sign in to comment.