Commit graph

12 commits

Author SHA1 Message Date
An Phan
a083696289 Add updateNowPlaying for Last.fm 2015-12-23 14:26:16 +08:00
An Phan
8495452762 Like/unlike now work with Last.fm 2015-12-21 21:49:00 +08:00
An Phan
cf27ed713d First integration with Last.fm
Koel can now integrate and use the rich information from Last.fm. Now
whenever a song is played, its album and artist information will be
queried from Last.fm and cached for later use. What's better, if an
album has no cover, Koel will try to update its cover if one is found on
Last.fm.

In order to use this feature, users only need to provide valid Last.fm
API credentials (namely LASTFM_API_KEY and LASTFM_API_SECRET) in .env. A
npm and gulp rebuild is also required - just like with every update.
2015-12-20 00:36:44 +08:00
An Phan
bf01bf67ef Attempts to fix UTF-16 issues 2015-12-18 01:57:23 +08:00
An Phan
3aa7cb5ec4 Better error handling for settings saving 2015-12-16 00:28:54 +08:00
Phan An
5b7be5afba Merge pull request #28 from pedroborges/use-laravel-authorization
Use Laravel built-in authorization
2015-12-15 20:18:01 +08:00
Pedro Borges
dab4486eee Fix after merge issues 2015-12-14 22:45:10 -02:00
An Phan
bdfada084e Fix #40 2015-12-15 08:14:31 +08:00
Pedro Borges
d21736d59d Fix conflicts 2015-12-14 16:12:20 -02:00
Pedro Borges
899c7176c1 Use Laravel built-in authorization
The comment below motivated me to find a better solution for the
repeated authorisation checks:

```php
// This can't be put into a Request authorize(), due to Laravel(?)'s
limitation.
```

This is the result.
2015-12-14 14:27:26 -02:00
Phan An
f9c9a4df2d Applied fixes from StyleCI 2015-12-14 08:22:39 -05:00
An Phan
0ee372882c Big Bang 2015-12-13 12:42:28 +08:00