Commit Graph

21 Commits

Author SHA1 Message Date
Daniel - 772ee43c2c
Add custom function to play radio stations 2020-08-12 21:57:48 +02:00
Daniel - dd27018420
Rename main music hydra and move it to `db-music'
The `db-music' package is supposed to be an abstract interface to music
functionality, and should thus define the main hydra for this.  Moreover, the
hydra should not contain „emms“ in it's name, although it's using only EMMS
functions.

It's not clear whether EMMS will every be replaced by some other backend, but
it's nicer to have a (more or less) clear separation between user frontend and
implementation backend.
2020-06-27 10:16:53 +02:00
Daniel - 7dbe2445ac
Remove obsolete cache playlist functionality
It has been replaced by a git-annex powered backend long ago.
2020-06-26 22:29:44 +02:00
Daniel - 8bb2d69fb3
Add missing requires for `db-music' 2020-06-26 22:28:15 +02:00
Daniel - 952e6f1c95
[Music] Add simple function to play files from git-annex-find call 2019-06-10 16:27:28 +02:00
Daniel - b6414e118d
[Music] Move cache update function to better place in db-music.el 2019-06-10 16:26:58 +02:00
Daniel - 9e075d6e0c
[Music] Introduce ‘db/play-auto-playlist’
This is the main entry point to play automatically generated playlists (“auto
playlists”).  It is using the value of ‘db/auto-playlist-file-function’ to
generate a list of files to play.  This list if currently played using EMMS, via
‘db/-emms-playlist-from-files’.
2019-06-10 14:11:52 +02:00
Daniel - c309cf7917
[Music] Move customizable variables into db-music.el 2019-06-10 11:33:35 +02:00
Daniel - 402bfc7643
[Music] Check return value of call to git-annex-find 2019-06-10 09:45:24 +02:00
Daniel - 29d138f968
[Music] Simplify call to git-annex-find
And also make it more secure, because no shell is involved anymore.
2019-06-10 09:39:54 +02:00
Daniel - f8c71d96e9
[Music] Check that list of files is not empty before changing EMMS playlist 2019-06-10 09:39:54 +02:00
Daniel - 7cd6d399a4
[Music] Fix name of playlist function from git-annex-find 2019-06-10 09:39:53 +02:00
Daniel - bd29ca9c02
[Music] Simplify implementation of ‘db/play-playlist-from-cache’
Use ‘db/-emms-playlist-from-files’ instead of generating the playlist on our
own.
2019-06-10 09:39:53 +02:00
Daniel - 68d7605deb
[Music] Add playlist function based on git-annex match expressions 2019-06-10 09:39:53 +02:00
Daniel - 9b48edd77f
[Music] Allow for customizing automatic playlist function 2019-06-10 09:39:52 +02:00
Daniel - 90445b6c3d
[Music] Cosmetics
That’s important!
2019-03-02 15:33:55 +01:00
Daniel - f671a44939
[Music] Make updating playlists keep tracks outside of source directory 2019-03-02 15:29:46 +01:00
Daniel - ed285c87d2
[Music] Minor changes and cosmetics 2019-03-02 15:18:19 +01:00
Daniel - 037f0cfbee
[Music] A simple helper function to update ‘db/playlist’ 2019-03-02 14:36:40 +01:00
Daniel - f2c0847ffa
[Music] Move require to top 2019-03-02 14:36:34 +01:00
Daniel - 888e703448
[Music] Introduce ‘db/music’ and move code there
All music related functions that do not directly depend on EMMS will now go into
‘db/music’, with the intention that if we in the future replace EMMS with
something else, the API provided by ‘db/music’ will still be valid.  This does
not mean, however, that functions in ‘db/music’ may not use functions from EMMS.
2019-03-02 13:37:05 +01:00