wisp3rwind
a9423b7b2d
lyrics: remove version switch that became obsolete when we dropped Python 3.5
2024-04-27 16:02:26 +02:00
J0J0 Todos
d510177820
Merge pull request #5121 from mgoltzsche/generate-playlist-item-attributes
2024-04-20 08:04:32 +02:00
Max Goltzsche
883bbb3e4b
smartplaylist: rename output format m3u8 to extm3u
2024-04-13 04:55:43 +02:00
Max Goltzsche
c0afd3eb3c
smartplaylist: allow exporting item fields
...
Allow generating extm3u playlists so that they contain additional item fields such as the `id`.
The feature is required by the mgoltzsche/beets-webm3u plugin (M3U server) to transform playlists using a request based item URI template which may require additional fields such as the `id`, e.g. `beets:library:track;$id`.
2024-04-13 04:55:37 +02:00
Dr-Blank
6a27a8de3c
satisfy the linter
2024-04-11 13:42:56 -04:00
Dr-Blank
c88953805b
bugfix: ignore subdirectories of ignored
...
directories in unimported plugin
2024-03-22 18:20:47 -04:00
Dr-Blank
66b459b8d0
Refactor Candidate class in fetchart.py to improve
...
validation and resizing logic
2024-03-18 09:17:33 -04:00
Serene
3548e35360
Merge pull request #5122 from Bobo1239/master
...
convert: Correctly identify WAVE format as lossless
2024-03-02 09:05:53 +10:00
Boris-Chengbiao Zhou
47ba590999
convert: Correctly identify WAVE format as lossless
...
Seems like this entry was added before mediafile gained support for WAVE
files in commit 832f3d. Adjust it to fix detection.
2024-03-01 17:58:26 +01:00
Serene
8720d6413b
Merge pull request #5063 from Maxr1998/fix-advancedrewrite-simple-rules
...
advancedrewrite: Fix simple rules being overwritten by advanced rules
2024-03-01 16:08:37 +10:00
Serene
35e8eb985f
Merge pull request #5058 from arsaboo/lb
...
Add initial version of the Listenbrainz plugin
2024-03-01 15:51:50 +10:00
Serene-Arc
83242fd7cf
Apply formatting
2024-03-01 15:21:25 +10:00
Maxr1998
ba66808c74
advancedrewrite: Fix multi-valued fields specified as a single string
2024-01-01 19:33:22 +01:00
Maxr1998
b1d9169abe
advancedrewrite: Fix simple rules being overwritten by advanced rules
2024-01-01 18:32:06 +01:00
Alok Saboo
ce023a3c53
Revert unwanted commits
2023-12-25 17:14:45 -05:00
Alok Saboo
7838e70d41
Revert "Merge remote-tracking branch 'upstream/master' into lb"
...
This reverts commit 6bfe26642c , reversing
changes made to 9b8dbe8055 .
2023-12-23 12:25:22 -05:00
Alok Saboo
6bfe26642c
Merge remote-tracking branch 'upstream/master' into lb
2023-12-23 12:19:30 -05:00
Alok Saboo
9b8dbe8055
Add logging
2023-12-23 12:19:04 -05:00
Alok Saboo
47584f20cb
Formatting
2023-12-22 16:13:01 -05:00
Alok Saboo
537b57d99d
Make sure only Jams and Exploration playlists are added.
...
Sometimes, there are other playlists that are created (e.g., Top Missed Recordings of 2023, Top Discoveries of 2023). Right now, I am excluding these. We may want to address them separately.
2023-12-22 16:12:42 -05:00
Alok Saboo
71a6a4fb4a
Formatting
2023-12-22 10:25:42 -05:00
Alok Saboo
7440ca51fb
Error handling
2023-12-22 10:25:27 -05:00
Alok Saboo
2eb8000a0b
Update docstrings
2023-12-21 12:24:04 -05:00
Alok Saboo
0ed65564b3
Update listenbrainz.py
2023-12-21 12:16:24 -05:00
Alok Saboo
4541644961
Updated docs
2023-12-21 11:57:14 -05:00
Alok Saboo
e8dc2cb5da
Sort imports
2023-12-21 09:27:21 -05:00
Alok Saboo
4f6689742c
Update listenbrainz.py
2023-12-20 10:47:50 -05:00
Alok Saboo
b010fb507f
Update listenbrainz.py
2023-12-20 10:30:14 -05:00
Alok Saboo
75deae5f47
Update lastimport.py
2023-12-20 10:28:45 -05:00
Alok Saboo
c445e5ee79
Update listenbrainz.py
2023-12-20 10:26:05 -05:00
Alok Saboo
d83a07d368
Update listenbrainz.py
2023-12-20 10:23:54 -05:00
Alok Saboo
ec3711f4a9
Update lastimport.py
2023-12-20 10:23:33 -05:00
Alok Saboo
5e4cb20c4a
Update lastimport.py
2023-12-20 10:21:45 -05:00
Alok Saboo
135faac62e
Update lastimport.py
2023-12-20 10:20:16 -05:00
Alok Saboo
c437a5594e
Update lastimport.py
2023-12-20 10:16:33 -05:00
Alok Saboo
d7823a0f24
Update lastimport.py
2023-12-20 10:15:07 -05:00
Alok Saboo
272c7c32bc
Allow handling of None
2023-12-20 10:13:09 -05:00
Alok Saboo
6d44c6af00
Update listenbrainz.py
2023-12-20 10:06:02 -05:00
Alok Saboo
3ead37775e
Update listenbrainz.py
2023-12-20 09:47:42 -05:00
Alok Saboo
fc9e68eccf
Update listenbrainz.py
2023-12-20 09:46:06 -05:00
Alok Saboo
aa117bb760
Update listenbrainz.py
2023-12-20 09:45:02 -05:00
Max Goltzsche
6b929c6e72
web: fix range request support
...
Do not let the web plugin overwrite the Content-Length header with the full file length since flask/werkzeug sets the requested range's/chunk's size when handling a range request.
This allows to play large audio/opus files using e.g. a browser/firefox or gstreamer/mopidy without making a reverse-proxy/nginx emulate range request support and hide range-related headers from the backend.
2023-12-20 01:23:13 +01:00
Alok Saboo
4a46769a2c
Update listenbrainz.py
2023-12-19 18:40:34 -05:00
Alok Saboo
84da424fae
Update listenbrainz.py
2023-12-19 18:39:36 -05:00
Alok Saboo
f5735f6e09
Update listenbrainz.py
2023-12-19 18:24:53 -05:00
Alok Saboo
d17d1468c9
Update listenbrainz.py
2023-12-19 18:23:21 -05:00
Alok Saboo
b39779d838
Update listenbrainz.py
2023-12-19 18:16:22 -05:00
Alok Saboo
a0b41e8474
Update listenbrainz.py
2023-12-19 18:13:11 -05:00
Alok Saboo
f376c21b03
Update listenbrainz.py
2023-12-19 18:12:16 -05:00
Alok Saboo
a35d7648b1
Update listenbrainz.py
2023-12-19 18:10:36 -05:00
Alok Saboo
af55c1ecb8
Update listenbrainz.py
2023-12-19 18:06:45 -05:00
Alok Saboo
9e7b70903c
Update listenbrainz.py
2023-12-19 17:24:24 -05:00
Alok Saboo
14063951bf
Update listenbrainz.py
2023-12-19 17:18:54 -05:00
Alok Saboo
3000664344
Update listenbrainz.py
2023-12-19 17:13:08 -05:00
Alok Saboo
f3d8655ee5
Update listenbrainz.py
2023-12-19 17:12:12 -05:00
Alok Saboo
92bb8584d4
Update listenbrainz.py
2023-12-19 17:10:29 -05:00
Alok Saboo
cac7f7d2dd
Update listenbrainz.py
2023-12-19 17:06:50 -05:00
Alok Saboo
efcb54995e
Update listenbrainz.py
2023-12-19 17:06:11 -05:00
Alok Saboo
e884d78351
Update listenbrainz.py
2023-12-19 17:05:07 -05:00
Alok Saboo
cd4e44ec06
Update listenbrainz.py
2023-12-19 16:55:58 -05:00
Alok Saboo
6a94276af9
Update listenbrainz.py
2023-12-19 16:53:22 -05:00
Alok Saboo
240faaa619
Update listenbrainz.py
2023-12-19 16:51:54 -05:00
Alok Saboo
03888fa5b3
Update listenbrainz.py
2023-12-19 16:49:40 -05:00
Alok Saboo
c99cd85083
Update listenbrainz.py
2023-12-19 16:47:40 -05:00
Alok Saboo
7cae5eb70e
Update listenbrainz.py
2023-12-19 16:46:43 -05:00
Alok Saboo
702570f495
Update listenbrainz.py
2023-12-19 16:44:17 -05:00
Alok Saboo
04dc0f6862
Update listenbrainz.py
2023-12-19 16:40:41 -05:00
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
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
41719d7b49
advancedrewrite: Apply same rewrite to more corresponding album fields
2023-12-15 17:23:40 +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
304a052dfd
advancedrewrite: Support simple syntax and improve advanced syntax
2023-12-13 14:48:43 +01: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
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
Alok Saboo
4348a49a4f
Formatting fixes
2023-12-04 11:38:34 -05:00
Alok Saboo
bdc7de874d
Revert code cleanup
2023-12-04 11:37:01 -05:00
Alok Saboo
316b22e9f9
Code cleanup
2023-12-04 11:22:28 -05:00
Alok Saboo
c102505621
Add ConnectionError handling
2023-12-04 10:32:55 -05:00
Adrian Sampson
df2d6ae753
Merge branch 'master' into deezer_error
2023-12-02 13:49:16 -05:00
Alok Saboo
a4ce25fce0
Changed debug logs to error
2023-12-01 12:09:47 -05:00