Rasmus Lövegren
Rasmus Lövegren
There is a little unambiguity in addressing queue items right now. It either has to be done by queue index (but this could change between eg. API requests), or by...
Some unexpected inputs may still dump stack traces (or even crash nodeplayer if we're unlucky?). We should really try to eliminate these by reading through code and doing proper error...
Brings the benefit that if nodeplayer was installed to a read-only location, modules can be installed without superuser. But this can be problematic for development, eg. how to `npm link`...
Prefix REST API paths with `/api/`
Don't send the entire queue each time it changes, instead send just what changed (eg. deleted 2 items at song with a specific GUID, added 5 songs at queue beginning...
Currently `logger.js` and `index.js` are lacking unit tests. These probably need some refactoring to even support unit testing in a sane way.