qzdl / Samplify

A sample retrieval engine, powered by whosampled.
GNU General Public License v3.0
29 stars 5 forks source link

Find a solution for description text #3

Open qzdl opened 5 years ago

qzdl commented 5 years ago

The playlist description field has a 300 char limit, and doesn't support line breaks. An alternative is required to store the information about the sampled content that exists in the playlist.

My first thought would be to use the Pastebin API, throwing the generated description content in, then linking to the paste in the description. e.g. Pastebin content (actual at https://pastebin.com/YRt6AMnX)

# SAMPLIFY: Daydream

This playlist was generated using Samplify.
Github: https://github.com/qzdl/samplify

The album, Daydream, has been broken down into:
"contains samples of "

Percentage Matched: 66.7%

Songs with no match:
One Sweet Day -> Feel Free, by RL Grime
Always Be My Baby -> Tell Me if You Still Care, by The S.O.S. Band
Looking In -> L'Amour, by Ideal J feat. Rohff and Demon One

Sample Info:
Fantasy -> Genius of Love, by Tom Tom Club
Underneath the Stars -> Sound Bwoy Bureill (Re-Edit), by Smif-N-Wessun
One Sweet Day -> So Derobe, by Joy Orbison
One Sweet Day -> Klinsmann, by Axel Boman
Open Arms -> Open Arms, by Journey
Long Ago -> More Bounce to the Ounce, by Zapp

Spotify Playlist description

Generated with 💖 by Samplify. For in-depth information on the playlist, see https://pastebin.com/uZFJCA6d
qzdl commented 5 years ago

A quick solution has been found, reference https://open.spotify.com/playlist/4hpQxd2V7pyXpKvGIuzOwJ?si=kEtq341LSmmKSP7Gn7MVDg