Commit Graph
11570 Commits
Author SHA1 Message Date
Alok Saboo 2be00a4d17 Update listenbrainz.py 2023-12-19 16:39:44 -05:00
Alok Saboo 69a0ce6e7d Update listenbrainz.py 2023-12-19 16:36:58 -05:00
Alok Saboo eeb4c4b5cc Update listenbrainz.py 2023-12-19 16:34:00 -05:00
Alok Saboo 393ff0c7bd Update listenbrainz.py 2023-12-19 15:51:03 -05:00
Alok Saboo 549827a46a Update listenbrainz.py 2023-12-19 15:49:02 -05:00
Alok Saboo ed98370077 Update listenbrainz.py 2023-12-19 15:48:19 -05:00
Alok Saboo cb58f32173 Update listenbrainz.py 2023-12-19 15:41:08 -05:00
Alok Saboo 658d1d7340 Update listenbrainz.py 2023-12-19 15:39:10 -05:00
Alok Saboo a2428f4845 Update listenbrainz.py 2023-12-19 15:38:20 -05:00
Alok Saboo 444fd2e83d Update listenbrainz.py 2023-12-19 15:37:00 -05:00
Alok Saboo 4afd992fbd Update listenbrainz.py 2023-12-19 15:34:06 -05:00
Alok Saboo b12a59ed58 Update listenbrainz.py 2023-12-19 15:31:12 -05:00
Alok Saboo 0d56ec7232 Update listenbrainz.py 2023-12-19 15:30:19 -05:00
Alok Saboo 969ff61cf9 Update listenbrainz.py 2023-12-19 15:28:10 -05:00
Alok Saboo 7d6c123436 Update listenbrainz.py 2023-12-19 15:18:27 -05:00
Alok Saboo 619fb17383 Update listenbrainz.py 2023-12-19 14:57:44 -05:00
Alok Saboo 2c25076fbf Update listenbrainz.py 2023-12-19 14:55:30 -05:00
Alok Saboo d4cb8ff654 Create listenbrainz.py 2023-12-19 14:28:46 -05:00
J0J0 Todos bcf180d14d Merge pull request #4987 from RollingStar/master 2023-12-17 18:04:28 +01:00
RollingStar d927262bd5 Merge branch 'master' into master 2023-12-17 10:48:31 -05:00
RollingStarandJ0J0 Todos 9f958b886e Update docs/changelog.rst
Co-authored-by: J0J0 Todos <2733783+JOJ0@users.noreply.github.com>
2023-12-17 10:47:41 -05:00
Adrian Sampson 3ea4a0ba46 Merge pull request #5050 from Maxr1998/abort-on-template-field-conflicts
beetsplug: Error out on conflicts in template functions
2023-12-16 10:51:14 -05:00
Adrian Sampson 3165d5dec0 Merge pull request #5048 from mgoltzsche/smartplaylist-track-path-template
smartplaylist: add --uri-format option
2023-12-16 10:49:55 -05:00
Maxr1998 e64ee0b0cd beetsplug: Error out on conflicts in template functions
Raises an exception if multiple plugins provide template functions for the same field.

Closes #5002, supersedes #5003.
2023-12-16 16:38:32 +01: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
Serene adf4b9779a Merge pull request #5053 from mgoltzsche/change-smartplaylist-extm3u-option
smartplaylist: change option --extm3u to --output
2023-12-16 12:59:16 +10: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
Adrian Sampson b803d8446f Merge pull request #5052 from Maxr1998/advanced-rewrite-more-corresponding-field-rewrites
advancedrewrite: Apply same rewrite to more corresponding album fields
2023-12-15 12:37:34 -05:00
Adrian Sampson d4561664e6 Merge pull request #5051 from Maxr1998/advancedrewrite-docs-quote-issues
advancedrewrite: Add note about quoting issues to docs
2023-12-15 12:36:48 -05:00
Maxr1998 41719d7b49 advancedrewrite: Apply same rewrite to more corresponding album fields 2023-12-15 17:23:40 +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
Serene 618af1511e Merge pull request #5047 from mgoltzsche/expose-smartplaylist-cli-opts
smartplaylist: expose config as CLI options
2023-12-15 14:44:46 +10: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
J0J0 Todos bf6eb04827 Merge pull request #5034 from beetbox/YES_NO_COLOR 2023-12-14 23:37:56 +01:00
Serene 60ad1ba0d2 Merge pull request #5046 from mgoltzsche/add-extinf-support
smartplaylist: add extm3u/extinf/m3u8 support
2023-12-14 11:01:27 +10: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 304a052dfd advancedrewrite: Support simple syntax and improve advanced syntax 2023-12-13 14:48:43 +01:00
Maxr1998 4b1c7dd8be Specify new advancedrewrite configuration in docs 2023-12-13 11:25:27 +01:00
David Logie fd795c9da6 Add changelog entry for #5028. 2023-12-12 09:03:17 +00:00
J0J0 Todos c1a232ec7b Fix some changelog entries 2023-12-11 11:01:54 +01:00
Adrian Sampson 0604aeadc1 Merge pull request #5022 from mgoltzsche/expose-incremental-skip-later-opt
expose incremental_skip_later as cli option
2023-12-10 11:45:36 -05:00
David Logie 2136f3a3cd Bring back NO_COLOR support.
Fixes #5028.
2023-12-07 09:28:29 +00:00
J0J0 Todos e5d10004ae Merge pull request #4807 from doronbehar/mbsubmit-improvements
mbsubmit: Add picard `PromptChoice`
2023-12-06 13:08:20 +01:00
Doron Behar 9357448bde mbsubmit: document new prompt choices 2023-12-05 19:21:38 +02:00
Doron Behar 729a11e211 mbsubmit: Add picard PromptChoice
Make it possible to open picard from the import menu when there are weak
recommendations.
2023-12-05 13:49:03 +02:00
Max Goltzsche 177f284d40 expose incremental_skip_later as cli option
Closes #4958
2023-12-05 01:03:22 +01:00
Serene a384bee6bf Merge pull request #5026 from mgoltzsche/expose-quiet-fallback-opt
expose import.quiet_fallback as cli option
2023-12-05 09:39:40 +10:00
Max Goltzsche 8a3b9acdee expose import.quiet_fallback as cli option 2023-12-04 22:56:25 +01:00
Adrian Sampson 9955e7a9f7 Merge pull request #5025 from arsaboo/spotify_connection
Spotify: fix ConnectionError handling
2023-12-04 14:16:02 -05:00