Closed Chasyxx closed 3 days ago
Now all songs are stored in json. I need to assign a certain hash to each song, and in the "remix" property specify the hash of the original song, and load the necessary code using the hash. Otherwise, I will have to duplicate the code in the json for every remix entry.
I need to assign a certain hash to each song, and in the "remix" property specify the hash of the original code, and load the necessary code using the hash. Otherwise, I will have to duplicate the code in the JSON for every remix entry.
I see your point; A hash/ID would be needed for every code as a lookup so that when the button is clicked it could find what song has that hash and put the detected song in the code area.
Done!
In "A (Remix of B by C)", Could you also add an "(original song code)" button after "by C?"
It doesn't have to be the actual code, it could just be "A (Remix of B by C, [original song code])"
Here is a proof of concept: