Commit Graph
1197 Commits
Author SHA1 Message Date
Alok Saboo d5a237912a Add listenbrainz to index 2023-12-21 12:22:12 -05:00
Alok Saboo 4541644961 Updated docs 2023-12-21 11:57:14 -05:00
Max Goltzsche 58e5b02929 smartplaylist: add --uri-format option
Beets web API already allows remote players to access audio files but it doesn't provide a way to expose the playlists defined using the smartplaylist plugin.
Now the smartplaylist plugin provides an option to generate ID-based item URIs/URLs instead of paths.
Once playlists are generated this way, they can be served using a regular HTTP server such as nginx.

To provide sufficient flexibility for various ways of integrating beets remotely (e.g. beets API, beets API with context path, AURA API, mopidy resource URI, etc), the new option has been defined as a template with an `$id` placeholder (assuming each remote integration requires a different path schema but they all rely on using the beets item `id` as identifier/path segment).

To prevent local path-related plugin configuration from leaking into a HTTP URL-based playlist generation (invoked with CLI option in addition to the local playlists generated into another directory), setting the new option makes the plugin ignore the other path-related options `prefix`, `relative_to`, `forward_slash` and `urlencode`.

Usage examples:
* `beet splupdate --uri-format 'http://beets:8337/item/$id/file'` (for beets web API)
* `beet splupdate --uri-format 'http://beets:8337/aura/tracks/$id/audio'` (for AURA API)

(While it was already possible to generate playlists containing HTTP URLs previously using the `prefix` option, it did not allow to generate ID-based URLs pointing to the beets web API but required to expose the audio files using a web server directly and refer to them using their file system `$path`.)

Relates to #5037
2023-12-16 05:37:27 +01:00
Max Goltzsche 385c05f98e smartplaylist: change option --extm3u to --output
The boolean flags `--extm3u` and `--no-extm3u` are replaced with a string option `--output=m3u|m3u8`.
This reduces the amount of options and allows to evolve the CLI to support more playlist output formats in the future (e.g. JSON) without polluting the CLI at that point.
2023-12-16 00:23:03 +01:00
Maxr1998 6e5bcbc070 advancedrewrite: Add note about quoting issues to docs 2023-12-15 17:14:00 +01:00
Adrian Sampson 1efd67cb82 Merge pull request #5044 from Maxr1998/advancedrewrite-rewrite
advancedrewrite: Support simple syntax and improve advanced syntax
2023-12-15 09:34:25 -05:00
Max Goltzsche 222b3a34f9 smartplaylist: expose config as CLI options
Add CLI options to `splupdate` command:
* `--playlist-dir`, `-d`
* `--relative-to`
* `--prefix`
* `--urlencode`
* `--forward-slash`
* `--pretend-paths`
2023-12-15 03:51:27 +01:00
Max Goltzsche b07a2e42f4 smartplaylist: add extm3u/extinf/m3u8 support
This is to be able to display meaningful metadata and search a playlist within a player without having to load the linked audio files of a playlist.
2023-12-14 01:46:14 +01:00
Maxr1998 4b1c7dd8be Specify new advancedrewrite configuration in docs 2023-12-13 11:25:27 +01:00
Doron Behar 9357448bde mbsubmit: document new prompt choices 2023-12-05 19:21:38 +02:00
jeff 7b0f5fb3f3 Add config option to prefer synced lyrics over plain 2023-11-05 11:26:33 -05:00
jeff e14982cad7 Add LRCLIB as a provider for the lyrics plugin 2023-11-05 11:26:33 -05:00
Adrian Sampson 37f12bfa49 Fix capitalization 2023-10-25 15:11:03 -04:00
Max Goltzsche 9dd0c6cea9 docs: add link to ytimport plugin to docs 2023-10-22 05:06:00 +02:00
Maxr1998 0a4c8e4952 Add advanced rewrite plugin
This plugin allows rewriting fields based on a given library query. This can be helpful, for example, when an artist was renamed but you'd like to keep their older releases under their old name, or if you have a single track from a Various Artists release and want to have it included with the original artist.
2023-10-14 15:00:57 +02:00
AdrienCos e7105a9763 Fix the error with CAA where the pre-sized thumbs of release groups would be ignored 2023-10-07 21:25:02 +02:00
Adrian Sampson b822fe0f5c Merge pull request #4923 from tandy-1000/autobpm
Add autobpm plugin
2023-10-02 15:56:23 -04:00
tandy1000andAdrian Sampson 7961cf3aaa Add autobpm plugin
This plugin uses librosa to automatically calculate the BPM for a track.
It is based on the keyfinder plugin, and rounds the BPM to an int.

Co-authored-by: Adrian Sampson <adrian@radbox.org>
2023-09-30 16:25:06 +01:00
Kian-Meng Ang 873a91c541 Fix typos
Found via `codespell -S ./test/rsrc,genres.txt -L
caf,fo,ue,searchin,crashers,crasher,te,skool,egal,nothin`
2023-09-25 12:52:26 +08:00
Hiroto Kaku 0f770b6dde Add beets-mpd-utils plugin 2023-09-21 15:56:15 -04:00
J0J0 Todos c185b4fba5 Final take on rewording rewrite plugin docs
on whether it modifies metadata or not. Let's also leave a link to the issue
here to make it superclear and researchable for anyone stumbling across it.

Also suggest the substitute plugin as an alternative.
2023-09-08 19:24:34 +02:00
J0J0 Todos 6e983d8615 Fix title underline in substitute plugin docs 2023-08-31 08:59:36 +02:00
J0J0 Todos 54efb279ff Try to clarify the bevhavior of the rewrite plugin
in the plugin docs as was discovered in #2786 (Metadata being modified).
2023-08-31 08:45:05 +02:00
J0J0 Todos 442a535b3e Add substitute plugin to the docs' plugins index 2023-08-31 08:27:33 +02:00
Daniele Ferone 20c1a3e8a0 Wording fix in substitute plugin docs 2023-08-31 07:17:37 +02:00
Daniele Ferone bd568ad817 Changed docs of substitute plugin 2023-08-31 07:09:12 +02:00
Daniele Ferone 249b420b19 Added plugin 2023-08-31 07:07:09 +02:00
Sam Caldwell fbd179f44a docs[embyupdate]: add docs for userid option 2023-08-24 20:12:04 -07:00
luzpaz 8419149c7a Fix various typos 2023-08-09 21:26:15 -04:00
J0J0 Todos c481670f1b Add docs for new importfeeds list format in #4863 2023-07-27 07:56:14 +02:00
J0J0 Todos 09378e122c Add docs for subsonicupdate features in #4862 2023-07-27 07:41:50 +02:00
J0J0 Todos 1e050e2703 Add singleton matching info to Discogs plugin docs
PR #4854
2023-07-20 09:12:42 +02:00
Alok Saboo edda4a588d Add changelog and docs 2023-07-10 08:32:29 -04:00
Sunny edd4f9a4f5 Point URL to specific plugin 2023-06-27 15:33:11 +02:00
Sunny 76932962f8 Add beets-more to community plugins 2023-06-27 10:25:26 +02:00
Alok Saboo b1b31f7fb4 Remove archived plugin 2023-05-21 16:29:35 -04:00
Adrian Sampson 9527a07767 Merge pull request #4786 from arsaboo/youtube
Add Youtube to the community plugins list
2023-05-13 13:35:28 -04:00
Adrian Sampson eb361af84e Caps fix 2023-05-13 13:34:10 -04:00
Alok Saboo f655cd24c2 Add youtube tag source 2023-05-12 09:58:04 -04:00
Alok Saboo e4c669adcd Address review comments. 2023-05-11 20:12:32 -04:00
Alok Saboo ec9ab3a045 extend underline 2023-05-02 09:13:54 -04:00
Alok Saboo 141c8247d2 Update fetchart.rst 2023-05-02 09:11:57 -04:00
Alok Saboo b0540411e1 Update docs 2023-05-02 08:57:05 -04:00
Alok Saboo 731015b6d5 Update docs 2023-04-28 11:05:26 -04:00
J0J0 Todos 997e8a8440 Fix m3u8 wikipedia link in convert plugin docs 2023-04-21 22:12:17 +02:00
Alok Saboo d48eab9ac1 Updated language 2023-04-21 07:58:37 -04:00
Alok Saboo 23b42e80e2 Merge remote-tracking branch 'upstream/master' into embedart_url 2023-04-08 21:07:41 -04:00
J0J0 Todos 94784c2c29 convert: playlist: Documentation overhaul 2023-04-02 21:14:50 +02:00
J0J0 T a1baf9e94b convert: playlist: Fix rst linter error in docs
Fix "inline empasis start string without endstring" error in docs.
2023-03-29 07:46:08 +02:00
J0J0 T c1908d551a convert: playlist: Document the feature
leaving out the fact that #EXTM3U is added to the playlist file header
(that important?).
2023-03-29 07:46:08 +02:00