Alok Saboo
f06c5ed593
Update debug logs
2023-05-02 09:51:45 -04:00
Alok Saboo
27a50ce364
Remove unrelated commits
2023-05-02 09:39:59 -04:00
Alok Saboo
1c21821f4a
Added changelog and additional error handling
2023-05-02 08:22:54 -04:00
Alok Saboo
17d1a431bc
Merge remote-tracking branch 'upstream/master' into coverarturl
2023-05-02 08:08:17 -04:00
Alok Saboo
45f4ce6f9a
Add additional checks to prevent Spotify calls
2023-05-02 08:01:41 -04:00
Alok Saboo
4349c1e489
Update fetchart.py
2023-04-30 08:54:51 -04:00
Alok Saboo
2dc784d3a8
Merge remote-tracking branch 'upstream/master' into coverarturl
2023-04-30 08:51:17 -04:00
wisp3rwind
d236747587
fetchart: add add_default_config() method to sources
...
in order to move the remaining source-specific code out of plugin
initialization and into the source classes
2023-04-30 10:15:40 +02:00
wisp3rwind
254bb297c8
fetchart: add available() method to sources
...
in order to move (some of) the source-specific code out of plugin
initialization and into the source classes
2023-04-30 10:04:54 +02:00
Alok Saboo
9944599639
Update fetchart.py
2023-04-29 16:44:20 -04:00
Alok Saboo
456cfd7dae
Update fetchart.py
2023-04-29 16:40:10 -04:00
Alok Saboo
2f0d416965
Cleanup
2023-04-29 13:41:51 -04:00
Alok Saboo
7dd9137f92
Update fetchart.py
2023-04-29 13:31:18 -04:00
Alok Saboo
17591c3ffd
Update fetchart.py
2023-04-29 13:30:50 -04:00
Alok Saboo
5cdd9b5747
Add to sources_all
2023-04-29 13:27:40 -04:00
Alok Saboo
17d2193c02
Add cover_art_url as fetchart source
2023-04-29 13:19:59 -04:00
Alok Saboo
44751b020e
Merge remote-tracking branch 'upstream/master' into spotify_fetch
2023-04-29 08:45:15 -04:00
wisp3rwind
4ae1e8278c
web: fix for breaking werkzeug change
...
cf. https://github.com/pallets/werkzeug/issues/2506
didn't check when part_isolating was introduced, but presumably, it
should be harmless to set this attribute for old werkzeug versions that
didn't have it yet
2023-04-29 11:37:46 +02:00
Alok Saboo
d4eb3a6b82
Update fetchart.py
2023-04-28 18:05:27 -04:00
Alok Saboo
067a3633d3
Change error handling
2023-04-28 18:02:17 -04:00
Alok Saboo
34fe9344ae
change preposition
2023-04-28 08:50:01 -04:00
Alok Saboo
654b57f50a
Make beautifulsoup optional
2023-04-28 08:47:32 -04:00
Alok Saboo
036667c51e
change variable to lower case
2023-04-27 18:13:39 -04:00
Alok Saboo
18bcadcfdc
Add spotify art source
2023-04-27 18:10:09 -04:00
Alok Saboo
bb2ce02e07
Remove logging
2023-04-18 20:54:43 -04:00
Alok Saboo
0492f1f214
Address comments
2023-04-14 08:10:13 -04:00
Alok Saboo
1e3fee8495
Use temp folder instead of cwd
2023-04-14 08:08:59 -04:00
Alok Saboo
023f3d7df7
Merge remote-tracking branch 'upstream/master' into embedart_url
2023-04-09 15:11:21 -04:00
Alok Saboo
3a1e4bd845
Remove temporary logging
2023-04-09 14:07:55 -04:00
Alok Saboo
8357617f02
Change indentation
2023-04-09 14:02:10 -04:00
Alok Saboo
34a4e7be5f
Move away from PIL and use mimetypes instead
2023-04-09 13:58:26 -04:00
Šarūnas Nejus
b5b1afbfff
Also perform bareasc queries in SQL
2023-04-09 18:43:33 +01:00
Alok Saboo
99ca3e96d4
Add more error handling for the img.save function
2023-04-09 09:58:31 -04:00
Alok Saboo
9c3f4a4ac8
Change image format to PNG
2023-04-08 22:03:59 -04:00
Alok Saboo
b3008b74b8
Remove unused imports
2023-04-08 21:12:23 -04:00
Alok Saboo
23b42e80e2
Merge remote-tracking branch 'upstream/master' into embedart_url
2023-04-08 21:07:41 -04:00
Alok Saboo
93f4068cca
Address review comments
2023-04-08 21:01:10 -04:00
J0J0 Todos
86929eb6a0
convert: playlist: Adapt code comments
...
- Remove initial comment around playlist entry condition (which is better
suited for user docs anyway, and stated there already)
- Add explanation above the items_paths playlist contents creation list
comprehension.
2023-04-02 19:34:13 +02:00
J0J0 Todos
16e361baf3
convert: playlist: item_paths relative to playlist
...
Ensure entries in items_paths are generated with a path relative to the
location of the playlist file.
2023-04-02 13:10:14 +02:00
J0J0 Todos
a4d03ef586
convert: playlist: M3U write + contents as bytes
...
Make sure we stay with the beets standard of handling everything internally as
bytes.
- M3UFile.write() method writes in wb mode.
- Playlist contents and EXTM3U header is handled as bytes.
- item.destination() gives us unicode string paths, we tranlate to bytes
using util.bytestring_path().
- Fix test_playlist*write* tests to encode UTF-8 assert strings as bytes using
bytestring_path() before comparision.
2023-03-29 07:46:08 +02:00
J0J0 Todos
20a0012f79
convert: playlist: Use normpath for playlist file
...
Fixes FileNotFoundError when for example a tilde (~) characteris used for a
--dest path.
2023-03-29 07:46:08 +02:00
J0J0 T
d248063f96
convert: playlist: Improve --playlist help text
2023-03-29 07:46:08 +02:00
J0J0 T
cb630c45f6
convert: playlist: Also use syspath() for contents
...
of playlist. We want to have processed every entry in the media list we
pass to the M3UFile instance.
2023-03-29 07:46:08 +02:00
J0J0 T
7d121c390b
convert: playlist: Move M3UFile class to separate
...
module in util package.
2023-03-29 07:46:08 +02:00
J0J0 T
55b386375a
convert: playlist: Move m3u creation after conversions
...
- Move the creation of the playlist file to the very end, right after
self._parallel_convert, in the convert plugin's main function.
- In the test code, the destination directory is created when the
conversion happens, thus this fixes test_playlist and doesn't hurt the
feature - The playlist creation can as well be the very last step in
the process.
2023-03-29 07:21:27 +02:00
J0J0 T
5dfff50005
convert: playlist: Refactor m3u writing to class
...
and also implement a currently untested load() method.
2023-03-29 07:21:27 +02:00
J0J0 T
c251ed19c4
convert: playlist: Generate m3u file in one batch
...
to avoid any possible interference with the threaded file conversion
mechanism.
2023-03-29 07:21:27 +02:00
J0J0 T
d589e77ade
convert: playlist: Fix redundant join path
...
It's done in _get_opts_and_config already.
2023-03-29 07:21:27 +02:00
J0J0 T
c0b1bc9867
convert: playlist feature: Better relative path gen
...
Use Item.destination method for generation of relative paths to media
files in playlist. The fragment keyword enables returning the path as
unicode instead of bytes, let's keep that in mind.
2023-03-29 07:21:27 +02:00
J0J0 T
16e25bb61b
convert: playlist feature: Fix relative paths
...
pointing to media files in playlist. Also refine code comment and move
to a better fitting place.
2023-03-29 07:21:27 +02:00