mirror of
https://github.com/beetbox/beets.git
synced 2026-02-14 03:17:59 +01:00
Update a few more http URLs to https that I missed
Should really be all now (pending the next commit).
This commit is contained in:
parent
1a23eab8b6
commit
c144141e9a
6 changed files with 8 additions and 8 deletions
|
|
@ -204,7 +204,7 @@ def input_(prompt=None):
|
|||
"""
|
||||
# raw_input incorrectly sends prompts to stderr, not stdout, so we
|
||||
# use print_() explicitly to display prompts.
|
||||
# http://bugs.python.org/issue1927
|
||||
# https://bugs.python.org/issue1927
|
||||
if prompt:
|
||||
print_(prompt, end=u' ')
|
||||
|
||||
|
|
@ -929,7 +929,7 @@ class CommonOptionsParser(optparse.OptionParser, object):
|
|||
#
|
||||
# This is a fairly generic subcommand parser for optparse. It is
|
||||
# maintained externally here:
|
||||
# http://gist.github.com/462717
|
||||
# https://gist.github.com/462717
|
||||
# There you will also find a better description of the code and a more
|
||||
# succinct example program.
|
||||
|
||||
|
|
|
|||
|
|
@ -412,7 +412,7 @@ def syspath(path, prefix=True):
|
|||
path = path.decode(encoding, 'replace')
|
||||
|
||||
# Add the magic prefix if it isn't already there.
|
||||
# http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx
|
||||
# https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx
|
||||
if prefix and not path.startswith(WINDOWS_MAGIC_PREFIX):
|
||||
if path.startswith(u'\\\\'):
|
||||
# UNC path. Final path should look like \\?\UNC\...
|
||||
|
|
@ -563,7 +563,7 @@ def unique_path(path):
|
|||
# Note: The Windows "reserved characters" are, of course, allowed on
|
||||
# Unix. They are forbidden here because they cause problems on Samba
|
||||
# shares, which are sufficiently common as to cause frequent problems.
|
||||
# http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx
|
||||
# https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx
|
||||
CHAR_REPLACE = [
|
||||
(re.compile(r'[\\/]'), u'_'), # / and \ -- forbidden everywhere.
|
||||
(re.compile(r'^\.'), u'_'), # Leading dot (hidden files on Unix).
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class SpotifyPlugin(BeetsPlugin):
|
|||
# Base URLs for the Spotify API
|
||||
# Documentation: https://developer.spotify.com/web-api
|
||||
oauth_token_url = 'https://accounts.spotify.com/api/token'
|
||||
open_track_url = 'http://open.spotify.com/track/'
|
||||
open_track_url = 'https://open.spotify.com/track/'
|
||||
search_url = 'https://api.spotify.com/v1/search'
|
||||
album_url = 'https://api.spotify.com/v1/albums/'
|
||||
track_url = 'https://api.spotify.com/v1/tracks/'
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ Smart Playlist Plugin
|
|||
beets queries every time your library changes. This plugin is specifically
|
||||
created to work well with `MPD's`_ playlist functionality.
|
||||
|
||||
.. _MPD's: http://www.musicpd.org/
|
||||
.. _MPD's: https://www.musicpd.org/
|
||||
|
||||
To use it, enable the ``smartplaylist`` plugin in your configuration
|
||||
(see :ref:`using-plugins`).
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ for unsupported formats/browsers. There are a number of options for this:
|
|||
|
||||
.. _audio.js: https://kolber.github.io/audiojs/
|
||||
.. _html5media: https://html5media.info/
|
||||
.. _MediaElement.js: http://mediaelementjs.com/
|
||||
.. _MediaElement.js: https://mediaelementjs.com/
|
||||
|
||||
.. _web-cors:
|
||||
|
||||
|
|
|
|||
|
|
@ -459,7 +459,7 @@ class ParseIDTest(_common.TestCase):
|
|||
|
||||
def test_parse_id_url_finds_id(self):
|
||||
id_string = "28e32c71-1450-463e-92bf-e0a46446fc11"
|
||||
id_url = "http://musicbrainz.org/entity/%s" % id_string
|
||||
id_url = "https://musicbrainz.org/entity/%s" % id_string
|
||||
out = mb._parse_id(id_url)
|
||||
self.assertEqual(out, id_string)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue