Commit Graph

15 Commits

Author SHA1 Message Date
23aa8b52ab Basic error mechanism in webplayer 2016-08-12 16:30:17 +02:00
4f8f201e67 Don't break when moving outside of playlist bounds with next / previous buttons 2016-08-11 23:46:42 +02:00
ab7470d618 Basic playlist support for webplayer
Webplayer can now handle a basic playlist, pushing multiple songs in the
playlist and passing from one song to another.

Some things that are not yet working:
* Using previous and next buttons and going outside of the playlist
breaks things.
* Random / repeat modes are not yet implemented.
* Playlist is not exposed in the UI at the moment.
* Seeking in a song is not exposed in the UI.
* When playing a song, webplayer does not automatically play the next
one when reaching the end of the song.
2016-08-11 22:01:47 +02:00
d8a7d4f66a Rework webplayer
Full rework of webplayer. Webplayer is back to its previous working
state, and ready for further improvements.
2016-08-10 23:50:23 +02:00
fffe9c4cd3 Major code review
Major code review, cleaning the code and adding a lot of comments. Also
implements a separate store to keep entities with a reference count and
garbage collection. This closes #15.

Known issues at the moment are:
* Webplayer is no longer working, it has to be refactored.
* AlbumPage is to be implemented.
2016-08-10 21:40:25 +02:00
177c67845d Invalidate webplayer store on logout 2016-08-08 12:25:25 +02:00
4d4ce6c14e Basic webplayer
Now able to play a single file, in a format supported by your browser.

* Playlists not yet supported.
* Volume is a simple on/off switch.
* Repeat / Random not yet supported.
2016-08-07 01:38:49 +02:00
9d73eeba15 Handle session expiration. Closes #11 2016-08-06 17:20:02 +02:00
b73b4ba200 Finish API refactor, use normalizr + immutable 2016-08-05 00:04:23 +02:00
9717bdc47b Store invalidation on logout
Invalidate the store at logout, emptying cached items such as artists,
albums and songs and then preventing them from quickly reappearing when
reconnecting with the same or a different account.

Closes #5.
2016-08-03 15:55:42 +02:00
40f6223bd0 Use Immutable, enhance i18n, pagination in the store
* Keep track of pagination in the store
* Use Immutable in reducers
* Finish i18n, every available strings are now translated in English and French
* Add a loading indicator
* Premises of API error handling
* Better locale negotiation
2016-08-01 00:30:44 +02:00
b7ff2bbd85 l10n of login info messages 2016-07-31 01:05:08 +02:00
414f05df44 Hot reloading with webpack 2016-07-26 15:59:18 +02:00
ef4dfd1176 Accessibility stuff 2016-07-26 13:21:37 +02:00
2e1381acc6 Initial commit 2016-07-24 23:46:27 +02:00