Commit graph

10167 commits

Author SHA1 Message Date
Adrian Sampson
c2fdf04539 Merge pull request #3279 from dosoe/beets_parentwork_3
add parentwork plugin
2019-06-08 21:35:05 -04:00
Dorian Soergel
9d184e3cad docstrings and style 2019-06-08 22:58:05 +02:00
Dorian Soergel
fd14b5b649 docstrings and style 2019-06-08 22:55:05 +02:00
Dorian Soergel
2c3389beae
Update docs/plugins/parentwork.rst
Co-Authored-By: Adrian Sampson <adrian@radbox.org>
2019-06-08 22:46:47 +02:00
Dorian Soergel
c8c206f19e
Update docs/plugins/parentwork.rst
Co-Authored-By: Adrian Sampson <adrian@radbox.org>
2019-06-08 22:46:32 +02:00
Dorian Soergel
022e3d44ea
Update docs/plugins/parentwork.rst
Co-Authored-By: Adrian Sampson <adrian@radbox.org>
2019-06-08 22:46:17 +02:00
Dorian Soergel
c96dcfffb6 docstrings and style 2019-06-08 22:44:33 +02:00
Adrian Sampson
f865fc00cd replaygain: Fix py3 crash in audiotools backend
Fixes #3305.
2019-06-08 16:23:49 -04:00
Adrian Sampson
aea54e2487
Merge pull request #3137 from samuelnilsson/replaygain
per_disc option for the ReplayGain plugin
2019-06-08 16:15:25 -04:00
Samuel Nilsson
f5c8650dc9 Fixed merge issue regarding replaygain per_disc option 2019-06-08 16:44:03 +02:00
Samuel Nilsson
2c0d9b07db Fixed changelog for replaygain per_disc option 2019-06-08 16:23:24 +02:00
Samuel Nilsson
b8b99d9396 Merge branch 'master' into replaygain 2019-06-08 16:15:27 +02:00
Dorian Soergel
070f50e1e7 docstring 2019-06-07 17:16:03 +02:00
Dorian Soergel
eacdb0d0e4 refetching works moved to new PR 2019-06-07 17:15:04 +02:00
Dorian Soergel
9c3c538dfb alternative way to refetch parent works 2019-06-07 16:51:33 +02:00
Dorian Soergel
765f7dc12d first try to implement event handler 2019-06-07 14:57:38 +02:00
Jan Holthuis
2b00e1de24 beetsplug/importadded: Add missing path kwarg to update_after_write_time()
This resolves #3301.
2019-06-07 14:17:39 +02:00
Carl Suster
e64ecc2f81
Merge pull request #3299 from FichteForks/pr/https-beetsio
beets.io now supports HTTPS 🎉
2019-06-07 10:32:33 +10:00
FichteFoll
728203e15a
beets.io now supports HTTPS
See https://github.com/beetbox/beets/pull/3297.
2019-06-06 15:34:15 +02:00
Adrian Sampson
c04462d8d2
Merge pull request #3297 from FichteForks/pr/more-https
More https changes
2019-06-06 09:20:36 -04:00
FichteFoll
9631616b53
Replace a couple URLs that don't point to anything
I'm unsure regarding the pygst tutorial, so I just added another URL
of the best resource I could find with a quick web search.
2019-06-05 23:08:18 +02:00
FichteFoll
c144141e9a
Update a few more http URLs to https that I missed
Should really be all now (pending the next commit).
2019-06-05 23:07:11 +02:00
FichteFoll
1a23eab8b6
Use https for lyrics.wikia.com, when supported 2019-06-05 23:00:52 +02:00
FichteFoll
670046dd9a
Build https URLS for beatport releases
I'm not sure where these are used, but the website supports https and
the API url already uses https, so this should be a safe call and not
require a util.SNI_SUPPORTED check.
2019-06-05 22:55:12 +02:00
Adrian Sampson
0206019a0d
Merge pull request #3295 from arcresu/docs-architecture
Expand library API docs
2019-06-05 10:33:14 -04:00
Dorian Soergel
1d9e42567b flake8 2019-06-05 13:40:04 +02:00
Dorian Soergel
fae0656935 still dealing with cases where no parent composer 2019-06-05 13:39:13 +02:00
Dorian Soergel
8363dedaeb logging and minor comments 2019-06-05 11:10:11 +02:00
Carl Suster
6769da29ae docs: add dev importer and cli text from wiki 2019-06-05 13:28:06 +10:00
Carl Suster
de78151eea docs: rename api -> library 2019-06-05 13:18:46 +10:00
Carl Suster
918024a465 docs: document mtime management 2019-06-05 13:16:12 +10:00
Carl Suster
e27c6e480b docs: add query API reference 2019-06-05 13:10:10 +10:00
Carl Suster
984aa223c6 docs: highlight model field API 2019-06-05 13:03:36 +10:00
Carl Suster
0e65800fbc Expand library API docs 2019-06-05 12:49:39 +10:00
Carl Suster
3b2d621099
Merge pull request #3294 from beetbox/arcresu-patch-2
Add repology badge
2019-06-05 11:45:50 +10:00
Carl Suster
da8f4a294e Add repology badge
This is just to advertise that beets is available in distros. The badge links to a list of distro packages for beets and the current versions they have available, which is useful for users and contributors.
2019-06-05 11:43:04 +10:00
Carl Suster
9f9af300e8
Merge pull request #3296 from FichteForks/pr/https
Update a lot of URLs to use HTTPS
2019-06-05 11:39:09 +10:00
FichteFoll
aa31fea037
Update a lot of URLs to use HTTPS
*All* URLs were checked manually, but only once per domain!

I mostly concerned myself with URLs in documentation rather than source
code because the latter may or may not have impactful changes, while the
former should be straight forward.

Changes in addition to simply adding an s:

- changed pip and pypi references as their location has changed
- MPoD (iOS app) url redirects to Regelian, so I replaced those
- updated homebrew references

Notable observations:

- beets.io does have HTTPS set up properly (via gh-pages)
- beatport.py uses the old HTTP url for beatport
- as does lyrics.py for lyrics.wikia.com
- https://tomahawk-player.org/ expired long ago, but the http page
  redirects to https regardless
- none of the sourceforge subdomains have https (in 2019!)
2019-06-05 03:11:49 +02:00
FichteFoll
9c35da69ba
Update the items' type information from plugins
Plugins can provide item and album attributes. We need to carry over the
type information of album attributes so that our item-to-album fallback
has these and allows for e.g. range queries.

Courtesy of @arcresu (via https://github.com/beetbox/beets/pull/2988#issuecomment-492444925).
2019-06-05 02:58:42 +02:00
FichteFoll
ed76da57e5
Add changelog section for developers 2019-06-05 02:58:42 +02:00
FichteFoll
26b1aa990e
Add changelog for #2797 2019-06-05 02:58:42 +02:00
FichteFoll
dfc23e8efe
Implement database and model revision checking
Prevents reloading a model from the database when it hasn't changed.

Now we're back to almost the same speed as before the addition of album
field fallbacks.
2019-06-05 02:58:42 +02:00
FichteFoll
e17c478f74 Cache an item's album with a property
Use Album.load() whenever the album is requested, which causes it to be
reloaded from the database.

Drawback: This adds a slowdown of 100% (6.2s to 12.6s) to `beet list`
on my setup.
2019-06-05 02:39:56 +02:00
FichteFoll
a112358f76
Override FormattedItemMapping.model_keys
model_keys was inferred from `self.keys(True)`, which would include the
fallback album keys. Since FormattedItemMapping has its own algorithm
for album attributes, we only care about the item's *actual* keys.
2019-06-05 02:39:34 +02:00
FichteFoll
72515448ad
Add fallback for item access to album's attributes
Allows queries (especially for pathspecs) based on an album's flexattrs
while operating on items.

Fixes #2797.
2019-06-05 02:38:46 +02:00
Dorian Soergel
a71c381bb5 rename functions in test 2019-06-03 20:33:49 +02:00
Dorian Soergel
b3b59f8452 rename functions in test 2019-06-03 20:14:43 +02:00
Dorian Soergel
92d005ab30 renaming functions 2019-06-03 20:05:34 +02:00
Dorian Soergel
380003a2fb fix documentation 2019-06-03 20:01:02 +02:00
Dorian Soergel
1177222c6f flake8 2019-06-03 17:45:57 +02:00