Go to file
Phyks (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
app Basic playlist support for webplayer 2016-08-11 22:01:47 +02:00
hooks Major code review 2016-08-10 21:40:25 +02:00
public Basic playlist support for webplayer 2016-08-11 22:01:47 +02:00
scripts Major code review 2016-08-10 21:40:25 +02:00
.babelrc Fix mixed content blocked when browsing the UI on HTTPS 2016-07-29 00:03:28 +02:00
.bootstraprc Move to CSS modules 2016-07-30 00:19:05 +02:00
.eslintignore Major code review 2016-08-10 21:40:25 +02:00
.eslintrc.js Rework webplayer 2016-08-10 23:50:23 +02:00
.gitignore More reliable build, spinning loading wheel and beginning of webplayer 2016-08-04 15:28:07 +02:00
.stylelintrc Add Travis-CI build + restore stylelint 2016-07-30 19:50:04 +02:00
.travis.yml Add Travis-CI build + restore stylelint 2016-07-30 19:50:04 +02:00
CONTRIBUTING.md Major code review 2016-08-10 21:40:25 +02:00
favicon.ico Initial commit 2016-07-24 23:46:27 +02:00
fix.ie9.js Major code review 2016-08-10 21:40:25 +02:00
index.all.js Major code review 2016-08-10 21:40:25 +02:00
index.development.js Major code review 2016-08-10 21:40:25 +02:00
index.html Major code review 2016-08-10 21:40:25 +02:00
index.js Major code review 2016-08-10 21:40:25 +02:00
index.production.js Major code review 2016-08-10 21:40:25 +02:00
LICENSE Initial commit 2016-07-24 23:46:27 +02:00
package.json Basic webplayer 2016-08-07 01:38:49 +02:00
README.md Add some note about Ampache required version in README 2016-08-05 13:31:57 +02:00
webpack.config.base.js Major code review 2016-08-10 21:40:25 +02:00
webpack.config.development.js Major code review 2016-08-10 21:40:25 +02:00
webpack.config.js Initial commit 2016-07-24 23:46:27 +02:00
webpack.config.production.js Major code review 2016-08-10 21:40:25 +02:00

Ampache React

This is an alternative web interface for Ampache built using Ampache XML API and React.

Trying it out

Just drop this repo in a location served by a webserver, make your webserver serve the public folder and head your browser to the correct URL :)

Or you can use the hosted version.

Requirements

To use this interface, you need:

  • An Ampache server on which you have an account.
  • A modern browser.

For now, this is a work in progress and as such, the hosted version (or gh-pages branch) always require the latest develop branch of Ampache. As soon as this is stabilized and Ampache gets a new version, this note will be updated with the required Ampache version.

Note that master branch may differ from gh-pages branch from time to time, and master branch may rely on commits that are not yet in Ampache develop branch. gh-pages branch is ensured to be working with latest Ampache develop branch.

Support

The supported browsers should be:

  • IE >= 9 (previous versions of IE are no longer supported by Microsoft)
  • Any last three versions of major browsers (> 1% net share).
  • No support provided for Opera Mini.

If you experience any issue, please report :)

Building

Building of this app relies on webpack.

First do a npm install to install all the required dependencies.

Then, to make a development build, just run webpack in the root folder. To make a production build, just run NODE_ENV=production webpack in the root folder. All files will be generated in the public folder.

Please use the Git hooks (in hooks folder) to automatically make a build before comitting, as commit should always contain an up to date production build.

Compilation cache is stored in .cache at the root of this repo. Remember to clean it in case of compilation issues.

Contributing

See CONTRIBUTING.md file for extra infos.

License

This code is distributed under an MIT license.

Feel free to contribute and reuse. For more details, see LICENSE file.