mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
beets.io now supports HTTPS
See https://github.com/beetbox/beets/pull/3297.
This commit is contained in:
parent
c04462d8d2
commit
728203e15a
12 changed files with 24 additions and 24 deletions
|
|
@ -103,7 +103,7 @@ Read More
|
||||||
Learn more about beets at `its Web site`_. Follow `@b33ts`_ on Twitter for
|
Learn more about beets at `its Web site`_. Follow `@b33ts`_ on Twitter for
|
||||||
news and updates.
|
news and updates.
|
||||||
|
|
||||||
.. _its Web site: http://beets.io/
|
.. _its Web site: https://beets.io/
|
||||||
.. _@b33ts: https://twitter.com/b33ts/
|
.. _@b33ts: https://twitter.com/b33ts/
|
||||||
|
|
||||||
Authors
|
Authors
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ Beets는 라이브러리로 디자인 되었기 때문에, 당신이 음악들
|
||||||
- 필요하는 메타 데이터를 계산하거나 패치 할 때: `album art`_,
|
- 필요하는 메타 데이터를 계산하거나 패치 할 때: `album art`_,
|
||||||
`lyrics`_, `genres`_, `tempos`_, `ReplayGain`_ levels, or `acoustic
|
`lyrics`_, `genres`_, `tempos`_, `ReplayGain`_ levels, or `acoustic
|
||||||
fingerprints`_.
|
fingerprints`_.
|
||||||
- `MusicBrainz`_, `Discogs`_,`Beatport`_로부터 메타데이터를 가져오거나,
|
- `MusicBrainz`_, `Discogs`_,`Beatport`_로부터 메타데이터를 가져오거나,
|
||||||
노래 제목이나 음향 특징으로 메타데이터를 추측한다
|
노래 제목이나 음향 특징으로 메타데이터를 추측한다
|
||||||
- `Transcode audio`_ 당신이 좋아하는 어떤 포맷으로든 변경한다.
|
- `Transcode audio`_ 당신이 좋아하는 어떤 포맷으로든 변경한다.
|
||||||
- 당신의 라이브러리에서 `duplicate tracks and albums`_ 이나 `albums that are missing tracks`_ 를 검사한다.
|
- 당신의 라이브러리에서 `duplicate tracks and albums`_ 이나 `albums that are missing tracks`_ 를 검사한다.
|
||||||
|
|
@ -45,7 +45,7 @@ Beets는 라이브러리로 디자인 되었기 때문에, 당신이 음악들
|
||||||
- 명령어로부터 음악 파일의 메타데이터를 분석할 수 있다.
|
- 명령어로부터 음악 파일의 메타데이터를 분석할 수 있다.
|
||||||
- `MPD`_ 프로토콜을 사용하여 음악 플레이어로 음악을 들으면, 엄청나게 다양한 인터페이스로 작동한다.
|
- `MPD`_ 프로토콜을 사용하여 음악 플레이어로 음악을 들으면, 엄청나게 다양한 인터페이스로 작동한다.
|
||||||
|
|
||||||
만약 Beets에 당신이 원하는게 아직 없다면,
|
만약 Beets에 당신이 원하는게 아직 없다면,
|
||||||
당신이 python을 안다면 `writing your own plugin`_ _은 놀라울정도로 간단하다.
|
당신이 python을 안다면 `writing your own plugin`_ _은 놀라울정도로 간단하다.
|
||||||
|
|
||||||
.. _plugins: https://beets.readthedocs.org/page/plugins/
|
.. _plugins: https://beets.readthedocs.org/page/plugins/
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ else:
|
||||||
SKIPPED_TRACKS = ['[data track]']
|
SKIPPED_TRACKS = ['[data track]']
|
||||||
|
|
||||||
musicbrainzngs.set_useragent('beets', beets.__version__,
|
musicbrainzngs.set_useragent('beets', beets.__version__,
|
||||||
'http://beets.io/')
|
'https://beets.io/')
|
||||||
|
|
||||||
|
|
||||||
class MusicBrainzAPIError(util.HumanReadableException):
|
class MusicBrainzAPIError(util.HumanReadableException):
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ import confuse
|
||||||
|
|
||||||
|
|
||||||
AUTH_ERRORS = (TokenRequestDenied, TokenMissing, VerifierMissing)
|
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):
|
class BeatportAPIError(Exception):
|
||||||
|
|
@ -109,7 +109,7 @@ class BeatportClient(object):
|
||||||
:rtype: (unicode, unicode) tuple
|
:rtype: (unicode, unicode) tuple
|
||||||
"""
|
"""
|
||||||
self.api.parse_authorization_response(
|
self.api.parse_authorization_response(
|
||||||
"http://beets.io/auth?" + auth_data)
|
"https://beets.io/auth?" + auth_data)
|
||||||
access_data = self.api.fetch_access_token(
|
access_data = self.api.fetch_access_token(
|
||||||
self._make_url('/identity/1/oauth/access-token'))
|
self._make_url('/identity/1/oauth/access-token'))
|
||||||
return access_data['oauth_token'], access_data['oauth_token_secret']
|
return access_data['oauth_token'], access_data['oauth_token_secret']
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ import traceback
|
||||||
from string import ascii_lowercase
|
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.
|
# Exceptions that discogs_client should really handle but does not.
|
||||||
CONNECTION_ERRORS = (ConnectionError, socket.error, http_client.HTTPException,
|
CONNECTION_ERRORS = (ConnectionError, socket.error, http_client.HTTPException,
|
||||||
|
|
|
||||||
|
|
@ -1241,7 +1241,7 @@ Fixes:
|
||||||
* :doc:`/plugins/replaygain`: Fix a crash using the Python Audio Tools
|
* :doc:`/plugins/replaygain`: Fix a crash using the Python Audio Tools
|
||||||
backend. :bug:`1873`
|
backend. :bug:`1873`
|
||||||
|
|
||||||
.. _beets.io: http://beets.io/
|
.. _beets.io: https://beets.io/
|
||||||
.. _Beetbox: https://github.com/beetbox
|
.. _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`_.
|
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)
|
1.2.2 (August 27, 2013)
|
||||||
|
|
@ -3227,7 +3227,7 @@ begins today on features for version 1.1.
|
||||||
unintentionally loading the plugins they contain.
|
unintentionally loading the plugins they contain.
|
||||||
|
|
||||||
.. _The Echo Nest: http://the.echonest.com/
|
.. _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
|
.. _mp3gain: http://mp3gain.sourceforge.net/download.php
|
||||||
.. _aacgain: https://aacgain.altosdesign.com
|
.. _aacgain: https://aacgain.altosdesign.com
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,7 @@ to interact directly with the underlying SQLite database, you must use a
|
||||||
items = lib.items(query)
|
items = lib.items(query)
|
||||||
lib.add_album(list(items))
|
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
|
.. currentmodule:: beets.dbcore.db
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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*
|
Read more than you ever wanted to know about the *flexible attributes*
|
||||||
feature `on the beets blog`_.
|
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
|
Choose a path style manually for some music
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ Getting Started
|
||||||
Welcome to `beets`_! This guide will help you begin using it to make your music
|
Welcome to `beets`_! This guide will help you begin using it to make your music
|
||||||
collection better.
|
collection better.
|
||||||
|
|
||||||
.. _beets: http://beets.io/
|
.. _beets: https://beets.io/
|
||||||
|
|
||||||
Installing
|
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`_::
|
* On **Fedora** 22 or later, there is a `DNF package`_::
|
||||||
|
|
||||||
$ sudo dnf install beets beets-plugins beets-doc
|
$ sudo dnf install beets beets-plugins beets-doc
|
||||||
|
|
||||||
* On **Solus**, run ``eopkg install beets``.
|
* On **Solus**, run ``eopkg install beets``.
|
||||||
|
|
||||||
* On **NixOS**, there's a `package <NixOS_>`_ you can install with ``nix-env -i beets``.
|
* On **NixOS**, there's a `package <NixOS_>`_ you can install with ``nix-env -i beets``.
|
||||||
|
|
|
||||||
|
|
@ -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
|
or `file a bug`_ in the issue tracker. Please let us know where you think this
|
||||||
documentation can be improved.
|
documentation can be improved.
|
||||||
|
|
||||||
.. _beets: http://beets.io/
|
.. _beets: https://beets.io/
|
||||||
.. _the mailing list: https://groups.google.com/group/beets-users
|
.. _the mailing list: https://groups.google.com/group/beets-users
|
||||||
.. _file a bug: https://github.com/beetbox/beets/issues
|
.. _file a bug: https://github.com/beetbox/beets/issues
|
||||||
.. _the discussion board: https://discourse.beets.io
|
.. _the discussion board: https://discourse.beets.io
|
||||||
|
|
|
||||||
16
extra/_beet
16
extra/_beet
|
|
@ -1,6 +1,6 @@
|
||||||
#compdef beet
|
#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.
|
# 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.
|
# 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
|
# useful: argument to _regex_arguments for matching any word
|
||||||
local matchany=/$'[^\0]##\0'/
|
local matchany=/$'[^\0]##\0'/
|
||||||
# arguments to _regex_arguments for completing files and directories
|
# arguments to _regex_arguments for completing files and directories
|
||||||
local -a files dirs
|
local -a files dirs
|
||||||
files=("$matchany" ':file:file:_files')
|
files=("$matchany" ':file:file:_files')
|
||||||
dirs=("$matchany" ':dir:directory:_dirs')
|
dirs=("$matchany" ':dir:directory:_dirs')
|
||||||
|
|
||||||
|
|
@ -73,7 +73,7 @@ if ! _retrieve_cache beetscmds || _cache_invalid beetscmds; then
|
||||||
# create completion function for queries
|
# create completion function for queries
|
||||||
_regex_arguments _beet_query "$matchany" \# \( "$matchquery" ":query:query string:$queryelem" \) \#
|
_regex_arguments _beet_query "$matchany" \# \( "$matchquery" ":query:query string:$queryelem" \) \#
|
||||||
local "beets_query"="$(which _beet_query)"
|
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_query_args=( \( "$matchquery" ":query:query string:{_beet_query}" \) \# )
|
||||||
beets_modify_args=( \( "$matchmodify" ":modify:modify string:$modifyelem" \) \# )
|
beets_modify_args=( \( "$matchmodify" ":modify:modify string:$modifyelem" \) \# )
|
||||||
# now build arguments for _beet and _beet_help completion functions
|
# 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]}"
|
subcmd="${i[(w)1]}"
|
||||||
# remove first word and parenthesised alias, replace : with -, [ with (, ] with ), and remove single quotes
|
# remove first word and parenthesised alias, replace : with -, [ with (, ] with ), and remove single quotes
|
||||||
cmddesc="${${${${${i[(w)2,-1]##\(*\) #}//:/-}//\[/(}//\]/)}//\'/}"
|
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+=(/"${subcmd}"$'\0'/ ":subcmds:subcommands:((${subcmd}:${cmddesc// /\ }))")
|
||||||
beets_regex_words_subcmds+=(\( "${matchany}" ":option:option:{_beet_subcmd ${subcmd}}" \) \# \|)
|
beets_regex_words_subcmds+=(\( "${matchany}" ":option:option:{_beet_subcmd ${subcmd}}" \) \# \|)
|
||||||
# update arguments needed for creating _beet_help
|
# update arguments needed for creating _beet_help
|
||||||
|
|
@ -137,7 +137,7 @@ _beet_subcmd_options() {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
(LOG)
|
(LOG)
|
||||||
local -a files
|
local -a files
|
||||||
files=("$matchany" ':file:file:_files')
|
files=("$matchany" ':file:file:_files')
|
||||||
regex_words+=("$opt:$optdesc:\$files")
|
regex_words+=("$opt:$optdesc:\$files")
|
||||||
;;
|
;;
|
||||||
|
|
@ -180,7 +180,7 @@ _beet_subcmd() {
|
||||||
if [[ ! $(type _beet_${subcmd} | grep function) =~ function ]]; then
|
if [[ ! $(type _beet_${subcmd} | grep function) =~ function ]]; then
|
||||||
if ! _retrieve_cache "beets${subcmd}" || _cache_invalid "beets${subcmd}"; then
|
if ! _retrieve_cache "beets${subcmd}" || _cache_invalid "beets${subcmd}"; then
|
||||||
local matchany=/$'[^\0]##\0'/
|
local matchany=/$'[^\0]##\0'/
|
||||||
local -a files
|
local -a files
|
||||||
files=("$matchany" ':file:file:_files')
|
files=("$matchany" ':file:file:_files')
|
||||||
# get arguments for completing subcommand options
|
# get arguments for completing subcommand options
|
||||||
_beet_subcmd_options "$subcmd"
|
_beet_subcmd_options "$subcmd"
|
||||||
|
|
@ -197,7 +197,7 @@ _beet_subcmd() {
|
||||||
(fields|migrate|version|config)
|
(fields|migrate|version|config)
|
||||||
_regex_arguments _beet_${subcmd} "${matchany}" /"${subcmd}"$'\0'/ "${options[@]}"
|
_regex_arguments _beet_${subcmd} "${matchany}" /"${subcmd}"$'\0'/ "${options[@]}"
|
||||||
;;
|
;;
|
||||||
(help)
|
(help)
|
||||||
_regex_words subcmds "subcommands" "${beets_regex_words_help[@]}"
|
_regex_words subcmds "subcommands" "${beets_regex_words_help[@]}"
|
||||||
_regex_arguments _beet_help "${matchany}" /$'help\0'/ "${options[@]}" "${reply[@]}"
|
_regex_arguments _beet_help "${matchany}" /$'help\0'/ "${options[@]}" "${reply[@]}"
|
||||||
;;
|
;;
|
||||||
|
|
@ -232,6 +232,6 @@ zstyle ":completion:${curcontext}:" tag-order '! options'
|
||||||
# Execute the completion function
|
# Execute the completion function
|
||||||
_beet "$@"
|
_beet "$@"
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# mode:shell-script
|
# mode:shell-script
|
||||||
# End:
|
# End:
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -60,7 +60,7 @@ setup(
|
||||||
description='music tagger and library organizer',
|
description='music tagger and library organizer',
|
||||||
author='Adrian Sampson',
|
author='Adrian Sampson',
|
||||||
author_email='adrian@radbox.org',
|
author_email='adrian@radbox.org',
|
||||||
url='http://beets.io/',
|
url='https://beets.io/',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
platforms='ALL',
|
platforms='ALL',
|
||||||
long_description=_read('README.rst'),
|
long_description=_read('README.rst'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue