TwitchPlaysPokemon / musicCat

TPP's new music system, replacing the old one for PBR
GNU General Public License v2.0
3 stars 2 forks source link

Database rating format #6

Open abyll opened 9 years ago

abyll commented 9 years ago

Ratings should be stored as {"id": {"userid":username.tolower(), "songid":fullsongid}, "rating":rating} Ratings will be either "like" or "dislike", or if there's no rating stored it's neutral. Boolean storage format may work. Note: The id field needs to be stored properly as BSON, to preserve key order