Browse Source

beets.io now supports HTTPS

See https://github.com/beetbox/beets/pull/3297.
pull/3299/head
FichteFoll 3 years ago
parent
commit
728203e15a
No known key found for this signature in database GPG Key ID: 9FA3981C07CD83C5
  1. 2
      README.rst
  2. 4
      README_kr.rst
  3. 2
      beets/autotag/mb.py
  4. 4
      beetsplug/beatport.py
  5. 2
      beetsplug/discogs.py
  6. 6
      docs/changelog.rst
  7. 2
      docs/dev/library.rst
  8. 2
      docs/guides/advanced.rst
  9. 4
      docs/guides/main.rst
  10. 2
      docs/index.rst
  11. 16
      extra/_beet
  12. 2
      setup.py

2
README.rst

@ -103,7 +103,7 @@ Read More
Learn more about beets at `its Web site`_. Follow `@b33ts`_ on Twitter for
news and updates.
.. _its Web site: http://beets.io/
.. _its Web site: https://beets.io/
.. _@b33ts: https://twitter.com/b33ts/
Authors

4
README_kr.rst

@ -34,7 +34,7 @@ Beets는 라이브러리로 디자인 되었기 때문에, 당신이 음악들
- 필요하는 메타 데이터를 계산하거나 패치 할 때: `album art`_,
`lyrics`_, `genres`_, `tempos`_, `ReplayGain`_ levels, or `acoustic
fingerprints`_.
- `MusicBrainz`_, `Discogs`_,`Beatport`_로부터 메타데이터를 가져오거나,
- `MusicBrainz`_, `Discogs`_,`Beatport`_로부터 메타데이터를 가져오거나,
노래 제목이나 음향 특징으로 메타데이터를 추측한다
- `Transcode audio`_ 당신이 좋아하는 어떤 포맷으로든 변경한다.
- 당신의 라이브러리에서 `duplicate tracks and albums`_ 이나 `albums that are missing tracks`_ 를 검사한다.
@ -45,7 +45,7 @@ Beets는 라이브러리로 디자인 되었기 때문에, 당신이 음악들
- 명령어로부터 음악 파일의 메타데이터를 분석할 수 있다.
- `MPD`_ 프로토콜을 사용하여 음악 플레이어로 음악을 들으면, 엄청나게 다양한 인터페이스로 작동한다.
만약 Beets에 당신이 원하는게 아직 없다면,
만약 Beets에 당신이 원하는게 아직 없다면,
당신이 python을 안다면 `writing your own plugin`_ _은 놀라울정도로 간단하다.
.. _plugins: https://beets.readthedocs.org/page/plugins/

2
beets/autotag/mb.py

@ -39,7 +39,7 @@ else:
SKIPPED_TRACKS = ['[data track]']
musicbrainzngs.set_useragent('beets', beets.__version__,
'http://beets.io/')
'https://beets.io/')
class MusicBrainzAPIError(util.HumanReadableException):

4
beetsplug/beatport.py

@ -34,7 +34,7 @@ import confuse
AUTH_ERRORS = (TokenRequestDenied, TokenMissing, VerifierMissing)
USER_AGENT = u'beets/{0} +http://beets.io/'.format(beets.__version__)
USER_AGENT = u'beets/{0} +https://beets.io/'.format(beets.__version__)
class BeatportAPIError(Exception):
@ -109,7 +109,7 @@ class BeatportClient(object):
:rtype: (unicode, unicode) tuple
"""
self.api.parse_authorization_response(
"http://beets.io/auth?" + auth_data)
"https://beets.io/auth?" + auth_data)
access_data = self.api.fetch_access_token(
self._make_url('/identity/1/oauth/access-token'))
return access_data['oauth_token'], access_data['oauth_token_secret']

2
beetsplug/discogs.py

@ -37,7 +37,7 @@ import traceback
from string import ascii_lowercase
USER_AGENT = u'beets/{0} +http://beets.io/'.format(beets.__version__)
USER_AGENT = u'beets/{0} +https://beets.io/'.format(beets.__version__)
# Exceptions that discogs_client should really handle but does not.
CONNECTION_ERRORS = (ConnectionError, socket.error, http_client.HTTPException,

6
docs/changelog.rst

@ -1241,7 +1241,7 @@ Fixes:
* :doc:`/plugins/replaygain`: Fix a crash using the Python Audio Tools
backend. :bug:`1873`
.. _beets.io: http://beets.io/
.. _beets.io: https://beets.io/
.. _Beetbox: https://github.com/beetbox
@ -2639,7 +2639,7 @@ previous versions would spit out a warning and then list your entire library.
There's more detail than you could ever need `on the beets blog`_.
.. _on the beets blog: http://beets.io/blog/flexattr.html
.. _on the beets blog: https://beets.io/blog/flexattr.html
1.2.2 (August 27, 2013)
@ -3227,7 +3227,7 @@ begins today on features for version 1.1.
unintentionally loading the plugins they contain.
.. _The Echo Nest: http://the.echonest.com/
.. _Tomahawk resolver: http://beets.io/blog/tomahawk-resolver.html
.. _Tomahawk resolver: https://beets.io/blog/tomahawk-resolver.html
.. _mp3gain: http://mp3gain.sourceforge.net/download.php
.. _aacgain: https://aacgain.altosdesign.com

2
docs/dev/library.rst

@ -242,7 +242,7 @@ to interact directly with the underlying SQLite database, you must use a
items = lib.items(query)
lib.add_album(list(items))
.. _blog post: http://beets.io/blog/sqlite-nightmare.html
.. _blog post: https://beets.io/blog/sqlite-nightmare.html
.. currentmodule:: beets.dbcore.db

2
docs/guides/advanced.rst

@ -127,7 +127,7 @@ And, unlike :ref:`built-in fields <itemfields>`, such fields can be removed::
Read more than you ever wanted to know about the *flexible attributes*
feature `on the beets blog`_.
.. _on the beets blog: http://beets.io/blog/flexattr.html
.. _on the beets blog: https://beets.io/blog/flexattr.html
Choose a path style manually for some music

4
docs/guides/main.rst

@ -4,7 +4,7 @@ Getting Started
Welcome to `beets`_! This guide will help you begin using it to make your music
collection better.
.. _beets: http://beets.io/
.. _beets: https://beets.io/
Installing
----------
@ -43,7 +43,7 @@ Beets works on `Python 2.7`_ and Python 3.4 or later.
* On **Fedora** 22 or later, there is a `DNF package`_::
$ sudo dnf install beets beets-plugins beets-doc
* On **Solus**, run ``eopkg install beets``.
* On **NixOS**, there's a `package <NixOS_>`_ you can install with ``nix-env -i beets``.

2
docs/index.rst

@ -17,7 +17,7 @@ Freenode, drop by `the discussion board`_, send email to `the mailing list`_,
or `file a bug`_ in the issue tracker. Please let us know where you think this
documentation can be improved.
.. _beets: http://beets.io/
.. _beets: https://beets.io/
.. _the mailing list: https://groups.google.com/group/beets-users
.. _file a bug: https://github.com/beetbox/beets/issues
.. _the discussion board: https://discourse.beets.io

16
extra/_beet

@ -1,6 +1,6 @@
#compdef beet
# zsh completion for beets music library manager and MusicBrainz tagger: http://beets.io/
# zsh completion for beets music library manager and MusicBrainz tagger: https://beets.io/
# Default values for BEETS_LIBRARY & BEETS_CONFIG needed for the cache checking function.
# They will be updated under the assumption that the config file is in the same directory as the library.
@ -34,7 +34,7 @@ _beet_check_cache () {
# useful: argument to _regex_arguments for matching any word
local matchany=/$'[^\0]##\0'/
# arguments to _regex_arguments for completing files and directories
local -a files dirs
local -a files dirs
files=("$matchany" ':file:file:_files')
dirs=("$matchany" ':dir:directory:_dirs')
@ -73,7 +73,7 @@ if ! _retrieve_cache beetscmds || _cache_invalid beetscmds; then
# create completion function for queries
_regex_arguments _beet_query "$matchany" \# \( "$matchquery" ":query:query string:$queryelem" \) \#
local "beets_query"="$(which _beet_query)"
# arguments for _regex_arguments for completing lists of queries and modifications
# arguments for _regex_arguments for completing lists of queries and modifications
beets_query_args=( \( "$matchquery" ":query:query string:{_beet_query}" \) \# )
beets_modify_args=( \( "$matchmodify" ":modify:modify string:$modifyelem" \) \# )
# now build arguments for _beet and _beet_help completion functions
@ -82,7 +82,7 @@ if ! _retrieve_cache beetscmds || _cache_invalid beetscmds; then
subcmd="${i[(w)1]}"
# remove first word and parenthesised alias, replace : with -, [ with (, ] with ), and remove single quotes
cmddesc="${${${${${i[(w)2,-1]##\(*\) #}//:/-}//\[/(}//\]/)}//\'/}"
# update arguments needed for creating _beet
# update arguments needed for creating _beet
beets_regex_words_subcmds+=(/"${subcmd}"$'\0'/ ":subcmds:subcommands:((${subcmd}:${cmddesc// /\ }))")
beets_regex_words_subcmds+=(\( "${matchany}" ":option:option:{_beet_subcmd ${subcmd}}" \) \# \|)
# update arguments needed for creating _beet_help
@ -137,7 +137,7 @@ _beet_subcmd_options() {
fi
;;
(LOG)
local -a files
local -a files
files=("$matchany" ':file:file:_files')
regex_words+=("$opt:$optdesc:\$files")
;;
@ -180,7 +180,7 @@ _beet_subcmd() {
if [[ ! $(type _beet_${subcmd} | grep function) =~ function ]]; then
if ! _retrieve_cache "beets${subcmd}" || _cache_invalid "beets${subcmd}"; then
local matchany=/$'[^\0]##\0'/
local -a files
local -a files
files=("$matchany" ':file:file:_files')
# get arguments for completing subcommand options
_beet_subcmd_options "$subcmd"
@ -197,7 +197,7 @@ _beet_subcmd() {
(fields|migrate|version|config)
_regex_arguments _beet_${subcmd} "${matchany}" /"${subcmd}"$'\0'/ "${options[@]}"
;;
(help)
(help)
_regex_words subcmds "subcommands" "${beets_regex_words_help[@]}"
_regex_arguments _beet_help "${matchany}" /$'help\0'/ "${options[@]}" "${reply[@]}"
;;
@ -232,6 +232,6 @@ zstyle ":completion:${curcontext}:" tag-order '! options'
# Execute the completion function
_beet "$@"
# Local Variables:
# Local Variables:
# mode:shell-script
# End:

2
setup.py

@ -60,7 +60,7 @@ setup(
description='music tagger and library organizer',
author='Adrian Sampson',
author_email='adrian@radbox.org',
url='http://beets.io/',
url='https://beets.io/',
license='MIT',
platforms='ALL',
long_description=_read('README.rst'),

Loading…
Cancel
Save