Commit Graph

20 Commits

Author SHA1 Message Date
Lucas Verney e232ec8c16 Add more prettty and human readable artists URLs 2016-08-12 13:11:14 +02:00
Lucas Verney 85dcf6d271 Set min and max bounds in page modal input. Closes #18 2016-08-12 12:06:34 +02:00
Lucas Verney e24e5cd6a9 Basic playlist viewing page
Add a playlist page to browse the current playlist at `/playlist`. This
is a very basic page that will need some rework.
2016-08-12 00:57:12 +02:00
Lucas Verney 4f8f201e67 Don't break when moving outside of playlist bounds with next / previous buttons 2016-08-11 23:46:42 +02:00
Lucas Verney 7c1d7dacc3 Webplayer automatically plays next song in the playlist when reaching the end of current song 2016-08-11 23:38:03 +02:00
Lucas Verney 43d3b927c1 Fix bug with play/playNext buttons in Album view
Was using `song` prop instead of `track` prop.
2016-08-11 22:33:00 +02:00
Lucas Verney 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
Lucas Verney b7f2f32e1d Hide webplayer when no song is in playlist 2016-08-11 19:33:05 +02:00
Lucas Verney 4e12da3a22 Fix pagination. Closes #17 2016-08-11 01:05:33 +02:00
Lucas Verney 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
Lucas Verney 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
Lucas Verney 247c71c9a7 Let user put spaces in filterbar. Closes #14 2016-08-08 12:35:21 +02:00
Lucas Verney 177c67845d Invalidate webplayer store on logout 2016-08-08 12:25:25 +02:00
Lucas Verney 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
Lucas Verney 4cef2c2014 Missing import on LogoutPage 2016-08-06 17:25:56 +02:00
Lucas Verney 9d73eeba15 Handle session expiration. Closes #11 2016-08-06 17:20:02 +02:00
Lucas Verney bb02473b11 Nicer alerts when an API error occurs, see #6 2016-08-06 16:59:22 +02:00
Lucas Verney 9d1ef1b0bf Fix some aria warnings and use immutable everywhere 2016-08-06 15:32:03 +02:00
Lucas Verney b73b4ba200 Finish API refactor, use normalizr + immutable 2016-08-05 00:04:23 +02:00
Lucas Verney 288039e732 More reliable build, spinning loading wheel and beginning of webplayer
* Build everything in `public/` folder, to serve only this and avoid
issues with `publicPath` in webpack.
* Moved some icons to FontAwesome and use spinning wheels from
FontAwesome to indicate loading.
* (Very) beginning of a webplayer.
2016-08-04 15:28:07 +02:00