Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client side playlists. #5

Open
mukkachaitanya opened this issue Dec 26, 2016 · 9 comments
Open

Client side playlists. #5

mukkachaitanya opened this issue Dec 26, 2016 · 9 comments

Comments

@mukkachaitanya
Copy link
Member

Current app only allows the admin to make playlists and these playlists sync on the client side too. One would also want to allow the client to make his own client playlists, which can be stored locally on the client side.

@SebastinSanty
Copy link
Member

I guess it allows clients to make playlists too!

@0xRampey
Copy link
Member

0xRampey commented Jan 5, 2017

Yes it does. However the changes seem to reflect for everyone. That's pretty weird.

@mukkachaitanya
Copy link
Member Author

No no it doesn't allow us to make client side playlists! It allows the clients to make playlist which is stored in the main database.

@0xRampey
Copy link
Member

0xRampey commented Jan 5, 2017

Hmm.. okay. So we need to setup a lightweight database client-side right?

@SebastinSanty
Copy link
Member

@mukkachaitanya I think that is what @prampey meant by saying that. We can use Preferences instead of using a db, because, given db's location, there is a possibility, someone can fiddle/corrupt it. My two cents.

@0xRampey
Copy link
Member

0xRampey commented Jan 5, 2017

@SebastinSanty That's a node module. We can't use that client-side. From what I see, there seem to be 2 ways to go:

  • Save all custom playlist metadata on the server, for each user; serve it when required.
  • Use WebStorage or WebSQL to store it locally.

@0xRampey
Copy link
Member

0xRampey commented Jan 5, 2017

First one might require a lot of code changes and we should be able to identify users properly.
Second one, users might be able to delete metadata after clearing cache.

@SebastinSanty
Copy link
Member

@mukkachaitanya Are you still doing this? I might want to give a shot at this! Thanks :)

@mukkachaitanya
Copy link
Member Author

@SebastinSanty Try it out. Do tell if you need any help :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Production-ready
Alpha Feature list
Development

No branches or pull requests

3 participants