From 782d54305895ec40d8c90b86b6c2c1df5f077f31 Mon Sep 17 00:00:00 2001 From: alexesprit Date: Sun, 19 Jul 2020 11:11:02 +0300 Subject: [PATCH] Fix FAQ section Fix punctuation. Replace "github" with "GitHub". --- web/index.html | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/web/index.html b/web/index.html index 0b200c4..2d5cdc8 100644 --- a/web/index.html +++ b/web/index.html @@ -44,8 +44,8 @@

Sort Your Music

- Sort your Spotify playlists by any of - a wide range of musical attributes such as tempo, loudness, + Sort your Spotify playlists by any of + a wide range of musical attributes such as tempo, loudness, valence, energy, danceability, popularity and more. Now with Filters!

@@ -64,7 +64,7 @@

Get your playlists in order

follow these steps:

    -
  1. Login with your Spotify credentials +
  2. Login with your Spotify credentials
  3. Pick your playlist
  4. Sort the playlist by clicking on the column headings in the playlist table @@ -110,7 +110,7 @@

    FAQ

  5. Where can I learn more about the Echo Nest song attributes? See - Acoustic Attributes Overview + Acoustic Attributes Overview.
  6. Can you add more attributes to the app? Yes, but it is a tradeoff between display space, complexity and utility. Let me know which attributes @@ -122,24 +122,24 @@

    FAQ

  7. Manual reordering, addition, and deletion. If you have any ideas for new feature, let me know. -
  8. Is the source available - Yes, you can find - it on github +
  9. Is the source available? - Yes, you can find + it on GitHub.
  10. Does Sort Your Music overwrite my playlist when - I save? - + I save? - Only if you chose the 'Overwrite playlist option' otherwise it creates a copy of the playlist. The new playlist is called 'Old playlist name sorted by increasing X', where X is what you sorted the - playlist on. + playlist on.
-
+

-
+

Pick a playlist:

spinner @@ -157,7 +157,7 @@

Pick a playlist:

-
+

spinner
@@ -199,13 +199,13 @@

- +
@@ -362,7 +362,7 @@

reject(textStatus); } } - }); + }); }); } @@ -509,8 +509,8 @@

relDate = albumDates[track.album.id]; } table.row.add([ - track.which + 1, - track.name, + track.which + 1, + track.name, track.artists[0].name, relDate, Math.round(track.enInfo.tempo), @@ -527,8 +527,8 @@

]); } else { table.row.add([ - track.which + 1, - track.name, + track.which + 1, + track.name, track.artists[0].name, '', '', @@ -619,7 +619,7 @@

return fetchLoop(tracks.next); } }) - + } // Spotify API defect? specifying limit will actually return up to 100 items anyway. @@ -717,7 +717,7 @@

var includeDouble = $('#include-double').is(':checked'); var bpm = parseFloat( data[4] ) || 0; - return inRange(bpm, minBpm, maxBpm) || + return inRange(bpm, minBpm, maxBpm) || (includeDouble && inRange(bpm*2, minBpm, maxBpm)); } @@ -777,7 +777,7 @@

var sliceLength = 100; var this_tids = tids.slice(0, sliceLength); var remaining = tids.slice(sliceLength); - var url = "https://api.spotify.com/v1/users/" + playlist.owner.id + + var url = "https://api.spotify.com/v1/users/" + playlist.owner.id + "/playlists/" + playlist.id + '/tracks'; var type; var json; @@ -794,7 +794,7 @@

.then(function() { if (remaining.length > 0) { return saveTidsToPlaylist(playlist, remaining, false); - } + } }) .catch(function() { return Q.reject("Trouble saving tracks to the playlist"); @@ -843,7 +843,7 @@

firstOrder = _.clone(selectedTableOrder[0]); // object is reused by datatable! } - return { + return { minBpm: parseInt( $('#min-bpm').val(), 10 ), maxBpm: parseInt( $('#max-bpm').val(), 10 ), includeDouble: $('#include-double').is(':checked'),
#