freyacodes / archived-bot

A Discord music bot serving music in over 3 million discord servers
https://fredboat.com/docs
MIT License
488 stars 207 forks source link

Favorites system #121

Open schnapster opened 7 years ago

schnapster commented 7 years ago

This came up in #suggestions

A favorite system, letting the user save some music to his favorites, which he then can add to the queue with something like this: ;;play fav3, or shorter ;;fav n.

Prerequisites: a database ( ͡° ͜ʖ ͡°)

freyacodes commented 7 years ago

If you want this to be a thing please help me out with getting the DB stack to work.

Nanabell commented 7 years ago

time to swich to a working databse Kappa

freyacodes commented 7 years ago

Any recommendations for another JDBC database? Currently using Postgres, but I am having some performance issues.

On 29 March 2017 at 11:21, Weiss Schnee notifications@github.com wrote:

time to swich to a working databse Kappa

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Frederikam/FredBoat/issues/121#issuecomment-290033129, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdoWW9e6bCTvzbCe5Qnzjri1aSLRPgzks5rqiKTgaJpZM4MsSH1 .

Nanabell commented 7 years ago

might not be JDBC but if you need performance i think redis is the way to go. But then again i have no real experience with relational databases only with non-relational.

freyacodes commented 7 years ago

Not using JDBC would require me to thrown out everything currently in my db package. Also, redis stores everything in memory, so you're limited by RAM rather than disk space.

On 29 March 2017 at 13:44, Weiss Schnee notifications@github.com wrote:

might not be JDBC but if you need performance i think redis is the way to go. But then again i have no real experience with relational databases only with non-relational.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Frederikam/FredBoat/issues/121#issuecomment-290064956, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdoWeNvVnFHBrAsgWtbxF52OI2613dHks5rqkQ4gaJpZM4MsSH1 .

RealKC commented 7 years ago

There was a suggestion made by @DaRealRoan#8116 in #suggestions that had a feature very closely related to this(I would personally agree this is a part of that feature). What was suggested:

is it possible to make it so that you can save playlists so that you can just do something like ;;playlist start ? and add them with something like ;;playlist add

My input:

Thanks napster for helping me refine this suggestion. I know this is a ton of stuff. Also I don't need any more semantics arguing over this.

freyacodes commented 7 years ago

So in essence, we are doing a playlist system, with each user having a favourites/liked playlist? Sort of like spotify, youtube and soundcloud eh?

schnapster commented 7 years ago

An update on the state of this: #245 paves the way for saving playlists.

itsaphel commented 6 years ago

Bumping this and PR #245.

What's the status on this? Happy to contribute, if this is added to the free version of the bot. Something I'd love to see.

It's a convenient way for someone to save a song currently playing (that they might not know), without having to open Spotify, search for it and add it to their library or something. Allow users to list their favourited songs list, exports to YouTube/Spotify would be nice as well (down the road).