Playlist option in online music player

my online music player app is working fine. in the player screen i want to add a button so that user can save a song to his/her song to liked/playlist section. how can i do that with spreadsheet / tiny database . i will apply any option to make this option in my app. please suggest me .

Create a TinyDB List of Saved Songs or Added songs

Or Use SQLite

sorry but i don’t know how to do that…

  1. Get your favourite songs’ data and store it into variables or TinyDB depending upon your project.

  2. Show favourite list by calling the variables.

  3. Do check for duplication before adding any song into favourite list.