Jan Holthuis
31c687c853
test: Fix playlist plugin path handling for Windows compatibility
2019-02-17 16:17:47 +01:00
Jan Holthuis
055f2d3702
playlist: Also catch IOErrors to restore Python 2.7 compatiblity
2019-02-17 16:00:04 +01:00
Jan Holthuis
32b6df046e
test: Don't use unix-only paths in playlist plugin testcase
2019-02-17 15:57:40 +01:00
Jan Holthuis
d4039be9c0
test: Get rid of TemporaryDirectory to restore Python 2.7 compatibility
2019-02-17 15:39:47 +01:00
Jan Holthuis
34cdeeefb7
docs: Reword documentation of playlist plugin's relative_to option
2019-02-17 15:35:30 +01:00
Jan Holthuis
d52dcdd48f
test: Add playlist testcases for nonexisting playlists
2019-02-17 15:17:10 +01:00
Jan Holthuis
f9f2fa0e26
playlist: Restructure playlist reading code and add error handling
2019-02-17 15:17:10 +01:00
Jan Holthuis
0988a2a186
test: Add test suite for the playlist plugin
2019-02-17 15:17:10 +01:00
Jan Holthuis
d78bade30c
docs: Add playlist plugin to the changelog
2019-02-17 14:38:36 +01:00
Jan Holthuis
cc501be2d9
docs: Add documentation for the playlist plugin
2019-02-17 14:38:36 +01:00
Jan Holthuis
19b92e1199
playlist: Improve speed in PlaylistQuery class
...
Implement the col_clause method for faster, sqlite-based querying. This
will only make a difference if the "fast" kwarg is set to True.
2019-02-17 14:38:36 +01:00
Jan Holthuis
a80a07f093
playlist: Add playlist plugin
...
Adds M3U playlist support as a query to beets and thus partially
resolves issue #123 . The implementation is heavily based on #2380 by
Robin McCorkell.
It supports referencing playlists by absolute path:
$ beet ls playlist:/path/to/someplaylist.m3u
It also supports referencing playlists by name. The playlist is then
seached in the playlist_dir and the ".m3u" extension is appended to the
name:
$ beet ls playlist:anotherplaylist
The configuration for the plugin looks like this:
playlist:
relative_to: library
playlist_dir: /path/to/playlists
The relative_to option specifies how relative paths in playlists are
handled. By default, paths are relative to the "library" directory. It
also possible to make them relative to the "playlist" or set the option
or set it to a fixed path.
2019-02-17 14:38:36 +01:00
Adrian Sampson
ca359d7e0d
Merge pull request #3085 from jackwilsdon/modify-skip-remaining
...
Allow exiting object selection early
2018-12-02 14:57:16 -05:00
Adrian Sampson
17d9882389
Make the path-field-remover function more obvious
...
An amendment to #3084 .
2018-12-01 16:57:25 -05:00
Adrian Sampson
1e051288a2
Merge pull request #3084 from domenn/master
...
Export plugin can now export path from library.
2018-12-01 16:52:49 -05:00
Guilherme Danno
fa1037ee28
Enhance %title ( #3059 )
...
Use string.capwords in %title to lower char after apostrophe
2018-11-29 11:30:48 -02:00
Domen
5de3ee9a5f
Export plugin can now export path from library, if explicitly specified as field to export. Info plugin behaviour is unchanged.
2018-11-28 20:19:37 +01:00
Jack Wilsdon
bed3abd97a
Allow exiting object selection early
2018-11-28 17:17:12 +00:00
Frederik “Freso” S. Olesen
b380a4c9a3
docs: Fix typo: anique → aunique
...
Reported by M1dgard on IRC
2018-11-04 12:02:06 +01:00
Frederik “Freso” S. Olesen
338541c066
Add Python 3.7 to classifiers in setup.py
...
beets runs perfectly well under 3.7 on Arch Linux and we're also doing
automated testing/continuous integration for Python 3.7 in Travis.
2018-10-30 09:33:35 +01:00
Adrian Sampson
146eef390d
Merge pull request #3063 from milesial/master
...
Fixed typo in convert when copying cover art
2018-10-25 10:41:53 -04:00
milesial
d5caae12bd
Now logs both the source and the destination
2018-10-25 15:29:28 +02:00
milesial
b27dfed1ef
Added the bug emoji !
2018-10-25 14:49:08 +02:00
milesial
af3e1dbbfa
Merge branch 'master' into master
2018-10-25 14:39:48 +02:00
milesial
0ff884daa7
Added a line in the changelog
2018-10-25 14:37:20 +02:00
Adrian Sampson
9556ab30fa
Merge pull request #3060 from TaizoSimpson/issue-3501
...
When selecting items to modify, use configured order
2018-10-24 21:26:18 -04:00
Adrian Sampson
0a74e0fd3f
Style fixes for latest pycodestyle changes
2018-10-24 17:05:38 -04:00
Taizo Simpson
b901eb3723
Added check to remove duplicate changes
2018-10-24 14:12:32 -04:00
Taizo Simpson
fd56b1d677
Added changelog entry for issue 3051
2018-10-24 14:07:27 -04:00
milesial
d4e615feba
Fixed typo in convert when copying cover art
2018-10-24 19:07:12 +02:00
Adrian Sampson
d8df9f1b72
Merge pull request #3061 from pieqq/docs-pip
...
docs: update the pip install instructions
2018-10-23 22:52:44 -04:00
Pierre
8f6c7cb8cd
docs: update the pip install instructions
...
Using ``sudo`` to install Python packages using pip is not a good
practice security-wise. This commit will suggest an alternative way
using ``--user`` to make sure the package is installed locally.
2018-10-24 10:36:16 +08:00
Taizo Simpson
a9793067fa
When selecting items to modify, use configured order
...
Closes #3501
2018-10-22 20:34:21 -04:00
Adrian Sampson
1828114528
Merge pull request #3048 from samuelnilsson/subsonic
...
Subsonicupdate plugin: Added context path and fixed bug in port configuration
2018-10-11 07:41:33 -04:00
Samuel Nilsson
a928dbc470
Added contextpath configuration to subsonicupdate plugin. Fixed bug in
...
subsonicupdate port configuration.
2018-10-10 21:22:31 +02:00
David Logie
27f0b57d2b
Remove pointless print call.
2018-10-10 15:40:21 +01:00
Adrian Sampson
b0add60332
Merge pull request #3030 from projectgus/remove_missing_albumart
...
move_art: Remove missing album art
2018-10-09 16:58:59 -04:00
Adrian Sampson
a7e44e8058
Merge pull request #3046 from jackwilsdon/fix-typos
...
Fix miscellaneous typos
2018-10-08 21:10:31 -04:00
Jack Wilsdon
5ad16983d4
Fix miscellaneous typos
2018-10-09 01:11:06 +01:00
Adrian Sampson
49ec10eb88
Merge branch 'master' of github.com:beetbox/beets
2018-10-08 17:45:48 -04:00
Adrian Sampson
5cb1bea1a6
Add a warning to the bucket docs ( fix #3045 )
2018-10-08 17:45:27 -04:00
Adrian Sampson
54cf6d4d44
Merge pull request #3043 from beetbox/aunique-format
...
Make `%aunique` work with `-f/--format` options.
2018-09-27 10:29:33 -04:00
Adrian Sampson
dc661ec132
Merge pull request #3044 from beetbox/delete-fixed-attributes
...
Allow "deleting" fixed attributes via `beet modify`.
2018-09-27 09:57:05 -04:00
David Logie
b347908af7
Address PR comments.
2018-09-27 14:54:23 +01:00
David Logie
882849433e
Remove unneeded line.
2018-09-27 14:30:38 +01:00
David Logie
932609933f
Allow "deleting" fixed attributes via beet modify.
...
Deleting a fixed field isn't possible so we just reset the
field back to it's "null" value.
Fixes #2497 .
2018-09-27 11:22:17 +01:00
David Logie
760bdd5420
Add a reference to the bug.
2018-09-27 10:29:43 +01:00
David Logie
54624a879d
Make %aunique work with -f/--format options.
2018-09-26 14:17:57 +01:00
Adrian Sampson
3b78d933cf
Fix #3041 : only try to close opened archives
...
The "finally" clause here only wants to apply when `archive` is
assigned. Otherwise, we were getting a NameError trying to refer to the
appropriate variable.
2018-09-21 15:55:09 -04:00
Angus Gratton
e58ddbfa1a
move_art: Remove missing album art
...
Prevents a fatal file system error if the album art has been moved or renamed
and the beets library hasn't been manually updated.
2018-09-18 20:32:48 +10:00