malept / gmusicprocurator

A proxy/frontend for Google music streaming.
https://gmusicprocurator.readthedocs.org/
GNU General Public License v3.0
24 stars 7 forks source link

Persist play queue between browser reloads #4

Open malept opened 10 years ago

malept commented 10 years ago

Seems like the best way to do this is via a Backbone plugin. The project already uses one for the player settings (Backbone.localStorage), but localStorage has a limited storage space. One idea is to add the superfeedr/indexeddb-backbonejs-adapter plugin, but one of the first sentences in the README is

It lacks a lot of documentation

Plus, I read somewhere that certain browsers have similar storage space issues with IndexedDB. May have to bite the bullet on this one and add a server-side persistence layer. If that happens, this will have to be part of a larger feature request for profile support.