* Wed Oct 28 2020 Antonio Larrosa <alarrosa@suse.com>
- Add patch to fix a crash due to invalid use of the ast module
(boo#1178199):
* 0001-Compatibility-with-breaking-changes-to-the-ast-module.patch
- Use %license
* Sat Jun 29 2019 Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Update to 1.4.9:
* This small update is part of our attempt to release new versions more often!
There are a few important fixes, and we're clearing the deck for a change
to beets' dependencies in the next version.
* The new feature is:
* You can use the NO_COLOR environment variable to disable terminal colors.
* There are some fixes in this release:
* Fix a regression in the last release that made the image resizer fail to
detect older versions of ImageMagick.
* gmusic: The oauth_file config option now supports more flexible path
values, including ~ for the home directory.
* gmusic: Fix a crash when using version 12.0.0 or later of the gmusicapi
module.
* Fix an incompatibility with Python 3.8's AST changes.
* Here's a note for packagers:
* pathlib is now an optional test dependency on Python 3.4+, removing the
need for a Debian patch.
- Remove fix-pathlib-requirement.diff: Incorporated upstream
* Sun May 19 2019 Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Update to 1.4.8:
* This release is far too long in coming, but it's a good one. There is the
usual torrent of new features and a ridiculously long line of fixes, but
there are also some crucial maintenance changes. We officially support
Python 3.7 and 3.8, and some performance optimizations can (anecdotally)
make listing your library more than three times faster than in the previous
version.
* The new core features are:
* A new config-aunique configuration option allows setting default options
for the aunique template function.
* The albumdisambig field no longer includes the MusicBrainz release group
disambiguation comment. A new releasegroupdisambig field has been added.
* The modify command now allows resetting fixed attributes. For example,
beet modify -a artist:beatles artpath! resets artpath attribute from matching albums back to the default value.
* A new importer option, ignore_data_tracks, lets you skip audio tracks
contained in data files.
* There are some new plugins:
* The playlist can query the beets library using M3U playlists.
* The loadext allows loading of SQLite extensions, primarily for use with
the ICU SQLite extension for internationalization.
* The subsonicupdate can automatically update your Subsonic library.
* And many improvements to existing plugins:
* lastgenre: Added option -A to match individual tracks and singletons.
* play: The plugin can now emit a UTF-8 BOM, fixing some issues with
foobar2000 and Winamp.
* gmusic:
* Add a new option to automatically upload to Google Play Music library
on track import.
* Add new options for Google Play Music authentication.
* replaygain: albumpeak on large collections is calculated as the average,
not the maximum.
* chroma:
* Now optionally has a bias toward looking up more relevant releases
according to the preferred configuration options.
* Fingerprint values are now properly stored as strings, which prevents
strange repeated output when running beet write.
* convert: The plugin now has an id3v23 option that allows you to override
the global id3v23 option.
* spotify:
* The plugin now uses OAuth for authentication to the Spotify API.
* The plugin now works as an import metadata provider: you can match
tracks and albums using the Spotify database.
* ipfs: The plugin now supports a nocopy option which passes that flag to
ipfs.
* discogs: The plugin now has rate limiting for the Discogs API.
* mpdstats, mpdupdate: These plugins now use the MPD_PORT environment
variable if no port is specified in the configuration file.
* bpd:
* MPD protocol commands consume and single are now supported along with
updated semantics for repeat and previous and new fields for status.
The bpd server now understands and ignores some additional commands.
* MPD protocol command idle is now supported, allowing the MPD version to
be bumped to 0.14.
* MPD protocol command decoders is now supported.
* The plugin now uses the main beets logging system. The special-purpose
- -debug flag has been removed.
* mbsync: The plugin no longer queries MusicBrainz when either the
mb_albumid or mb_trackid field is invalid. See also the discussion on
Google Groups
* export: The plugin now also exports path field if the user explicitly
specifies it with -i parameter. This only works when exporting library
fields.
* acousticbrainz: The plugin now declares types for all its fields, which
enables easier querying and avoids a problem where very small numbers
would be stored as strings.
* Some improvements have been focused on improving beets' performance:
* Querying the library is now faster:
* We only convert fields that need to be displayed.
* We now compile templates once and reuse them instead of recompiling
them to print out each matching object.
* Querying the library for items is now faster, for all queries that do
not need to access album level properties. This was implemented by
lazily fetching the album only when needed.
* absubmit, badfiles: Analysis now works in parallel (on Python 3 only).
* mpdstats: Use the currentsong MPD command instead of playlist to get the
current song, improving performance when the playlist is long.
* Several improvements are related to usability:
* The disambiguation string for identifying albums in the importer now
shows the catalog number.
* Added whitespace padding to missing tracks dialog to improve readability.
* The move command now lists the number of items already in-place.
* Modify selection can now be applied early without selecting every item.
* Beets now emits more useful messages during startup if SQLite returns an
error. The SQLite error message is now attached to the beets message.
* Fixed a confusing typo when the convert plugin copies the art covers.
* Many other fixes
* The full changelog can be read at
https://github.com/beetbox/beets/releases/tag/v1.4.8
- Remove fix_python_3_7_compatibility.patch: No longer needed
* Sat Feb 09 2019 Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Add fix_python_3_7_compatibility.patch: fix compatibility with python 3.7
* Sat Jun 02 2018 jaime.marquinez.ferrandiz@fastmail.net
- Update to 1.4.7:
* This new release includes lots of new features in the importer and the
metadata source backends that it uses. We've changed how the beets importer
handles non-audio tracks listed in metadata sources like MusicBrainz:
* The importer now ignores non-audio tracks (namely, data and video tracks)
listed in MusicBrainz. Also, a new option, ignore_video_tracks,
lets you return to the old behavior and include these video tracks.
* A new importer option, ignored_media, can let you skip certain media
formats.
* There are other subtle improvements to metadata handling in the importer:
* In the MusicBrainz backend, beets now imports the
musicbrainz_releasetrackid field.
* A new importer configuration option, artist_credit, will tell beets to
prefer the artist credit over the artist when autotagging.
* And there are even more new features:
* replaygain: The beet replaygain command now has --force, --write and
- -nowrite options.
* A new importer configuration option, incremental_skip_later, lets you
avoid recording skipped directories to the list of "processed" directories
in incremental mode. This way, you can revisit them later with another
import.
* fetchart: The configuration options now support finer-grained control via
the sources option. You can now specify the search order for different
matching strategies within different backends.
* web: A new cors_supports_credentials configuration option lets in-browser
clients communicate with the server even when it is protected by an
authorization mechanism (a proxy with HTTP authentication enabled,
for example).
* A new sonosupdate plugin automatically notifies Sonos controllers to
update the music library when the beets library changes.
* discogs: The plugin now stores master release IDs into mb_releasegroupid.
It also "simulates" track IDs using the release ID and the track list
position.
* discogs: Fetch the original year from master releases.
* Lots of bug fixes.
* The full changelog can be read at
https://github.com/beetbox/beets/blob/master/docs/changelog.rst
Version: 1.4.6-bp150.1.3
* Thu Jan 04 2018 alarrosa@suse.com
- Update to 1.4.6:
* The highlight of this release is "album merging," an often requested
option in the importer to add new tracks to an existing album you already
have in your library. This way, you no longer need to resort to removing
the partial album from your library, combining the files manually, and
importing again.
* Here are the larger new features in this release:
* When the importer finds duplicate albums, you can now merge all the
tracks—old and new—together and try importing them as a single,
combined album.
* lyrics: The plugin can now produce reStructuredText files for beautiful,
readable books of lyrics.
* A new from_scratch configuration option makes the importer remove old
metadata before applying new metadata. This new feature complements the
zero and scrub plugins but is slightly different: beets clears out all
the old tags it knows about and only keeps the new data it gets from
the remote metadata source.
* There are also somewhat littler, but still great, new features:
* convert: A new no_convert option lets you skip transcoding items matching
a query. Instead, the files are just copied as-is.
* fetchart: A new quiet switch that only prints out messages when album art
is missing.
* mbcollection: You can configure a custom MusicBrainz collection via the
new collection configuration option.
* mbcollection: The collection update command can now remove albums from
collections that are longer in the beets library.
* fetchart: The clearart command now asks for confirmation before touching
your files.
* mpdstats: The plugin now correctly updates song statistics when MPD
switches from a song to a stream and when it plays the same song
multiple times consecutively.
* acousticbrainz: The plugin can now be configured to write only a specific
list of tags.
* Lots of bug fixes.
* The full changelog can be read at
https://github.com/beetbox/beets/blob/master/docs/changelog.rst
- Fixed rpm package group
* Tue Aug 08 2017 jengelh@inai.de
- Improve write style of description
* Mon Aug 07 2017 alarrosa@suse.com
- Remove %check since it makes random failures that are fixed just
by retriggering a package build.
* Thu Jun 29 2017 alarrosa@suse.com
- Update to 1.4.5:
* You can now set fields to certain values during import, using either
a --set field=value command-line flag or a new set_fields configuration
option under the importer section.
* Date queries can now include times, so you can filter your music down
to the second.
* Date queries can also be relative. You can say added:-1w.. to match
music added in the last week, for example.
* A new gmusic lets you interact with your Google Play Music library.
* replaygain: We now keep R128 data in separate tags from classic
ReplayGain data for formats that need it (namely, Ogg Opus). A new r128
configuration option enables this behavior for specific formats.
* The move command gained a new --export flag, which copies files to an
external location without changing their paths in the library database.
* There are also some bug fixes:
* lastgenre: Fix a crash when using the prefer_specific and canonical
options together.
* web: Fix a crash on Windows under Python 2 when serving non-ASCII
filenames.
* metasync: Fix a crash in the Amarok backend when filenames contain
quotes.
* More informative error messages are displayed when the file format is not
recognized.
- Update to 1.4.4:
* Added support for DSF files, once a future version of Mutagen is released
that supports them.
* A new hardlink config option instructs the importer to create hard links
on filesystems that support them.
* A new kodiupdate lets you keep your Kodi library in sync with beets.
* A new bell configuration option under the import section enables
a terminal bell when input is required.
* A new field, composer_sort, is now supported and fetched from MusicBrainz.
* The MusicBrainz backend and discogs now both provide a new attribute
called track_alt that stores more nuanced, possibly non-numeric track
index data. For example, some vinyl or tape media will report the side of
the record using a letter instead of a number in that field.
* web: Added a new endpoint, /item/path/foo, which will return the item info
for the file at the given path, or 404.
* web: Added a new config option, include_paths, which will cause paths
to be included in item API responses if set to true.
* The %aunique template function for aunique now takes a third argument that
specifies which brackets to use around the disambiguator value. The
argument can be any two characters that represent the left and right
brackets. It defaults to [] and can also be blank to turn off bracketing.
* Added a --move or -m option to the importer so that the files can be moved
to the library instead of being copied or added "in place."
* badfiles: Added a --verbose or -v option. Results are now displayed only
for corrupted files by default and for all the files when the verbose
option is set.
* embedart: The explicit embedart command now asks for confirmation before
embedding art into music files.
* You can now run beets by typing python -m beets.
* smartplaylist: Different playlist specifications that generate
identically-named playlist files no longer conflict; instead, the
resulting lists of tracks are concatenated.
* missing: A new mode lets you see missing albums from artists you have in
your library.
* web : Add new reverse_proxy config option to allow serving the web plugins
under a reverse proxy.
* Importing a release with multiple release events now selects the event
based on your preferred countries.
* play: A new -y or --yes parameter lets you skip the warning message
if you enqueue more items than the warning threshold usually allows.
* Fix a bug where commands which forked subprocesses would sometimes
prevent further inputs. This bug mainly affected convert.
* There are also quite a few fixes:
* In the replace configuration option, we now replace a leading hyphen (-)
with an underscore.
* absubmit: We no longer filter audio files for specific formats---we will
attempt the submission process for all formats.
* mpdupdate: Fix Python 3 compatibility.
* replaygain: Fix Python 3 compatibility in the bs1770gain backend.
* bpd: Report playback times as integers.
* mpdstats: Fix Python 3 compatibility. The plugin also now requires
version 0.4.2 or later of the python-mpd2 library.
* mpdstats: Improve handling of MPD status queries.
* badfiles: Fix Python 3 compatibility.
* Fix some cases where album-level ReplayGain/SoundCheck metadata would be
written to files incorrectly.
* badfiles: The command no longer bails out if the validator command is
not found or exits with an error.
* lyrics: The Google search backend no longer crashes when the server
responds with an error.
* discogs: You can now authenticate with Discogs using a personal access
token.
* Fix Python 3 compatibility when extracting rar archives in the importer.
* duplicates: Fix Python 3 compatibility when using the copy and move
options.
* mbsubmit: The tracks are now sorted properly.
* thumbnails: Fix a string-related crash on Python 3.
* beatport: More than just 10 songs are now fetched per album.
* On Python 3, the terminal_encoding setting is respected again for output
and printing will no longer crash on systems configured with a limited
encoding.
* convert: The default configuration uses FFmpeg's built-in AAC codec
instead of faac.
* Fix the importer's detection of multi-disc albums when other
subdirectories are present.
* Invalid date queries now print an error message instead of being
silently ignored.
* When the SQLite database stops being accessible, we now print a friendly
error message.
* web: Avoid a crash when sending binary data, such as Chromaprint
fingerprints, in music attributes.
* Fix a hang when parsing templates that end in newlines.
* Fix a crash when reading non-ASCII characters in configuration files on
Windows under Python 3.
* Some backends were removed from two metadata plugins because of bitrot:
* lyrics: The Lyrics.com backend has been removed. (It stopped working
because of changes to the site's URL structure.)
* fetchart: The documentation no longer recommends iTunes Store artwork
lookup because the unmaintained python-itunes is broken.
- Dropped patches already included upstream:
* 0001-Add-missing-unittest-suite-declaration.patch
* 0001-Fix-2381-mpdupdate-on-Python-3.patch
* 0001-Fix-2382-replaygain-backend-parsing-on-Python-3.patch
* 0001-Fixed-failing-test-because-mocked-data-was-missing-p.patch
* 0001-Fixed-failing-test-where-track-number-was-missing-fr.patch
* 0001-Remove-dependencies-from-convert_stub.py.patch
* 0001-badfiles-Better-logging-and-error-handling.patch
* 0001-mpdstats-Fix-Python-3-compatibility.patch
* 0002-badfiles-Python3-compatibility.patch
* 0001-Run-python2-or-python3.patch
- Rebase fix_test_command_line_option_relative_to_working_dir.diff
- Changed url to use the github release link.
- BuildRequires python3-python-mpd2 >= 0.4.2
* Mon Apr 10 2017 alarrosa@suse.com
- Only BuildRequire python3-pathlib when not in Tumbleweed, since
the pathlib module was included in the standard library in python 3.4
* Thu Jan 19 2017 alarrosa@suse.com
- Initial release.
- Add 0001-Add-missing-unittest-suite-declaration.patch,
0001-Fix-2381-mpdupdate-on-Python-3.patch,
0001-Fix-2382-replaygain-backend-parsing-on-Python-3.patch,
0001-Fixed-failing-test-because-mocked-data-was-missing-p.patch,
0001-Fixed-failing-test-where.patch,
0001-Fixed-failing-test-where-track-number-was-missing-fr.patch,
0001-Remove-dependencies-from-convert_stub.py.patch,
0001-Run-python2-or-python3.patch,
0001-mpdstats-Fix-Python-3-compatibility.patch,
0001-badfiles-Better-logging-and-error-handling.patch and
0002-badfiles-Python3-compatibility.patch from upstream to fix
most failing tests and python3 issues.
- Add fix_test_command_line_option_relative_to_working_dir.diff
to fix test_ui.py making all tests run successfully.