Commit 3c2fe63ec46f544bc96c6918e706eea2c41d891f

Anton Maminov 2022-05-06T17:58:13

fix links in docs and comments

diff --git a/MPD_COMMANDS.md b/MPD_COMMANDS.md
index 5d7eb38..ac108ce 100644
--- a/MPD_COMMANDS.md
+++ b/MPD_COMMANDS.md
@@ -102,7 +102,7 @@ If the optional `SUBSYSTEMS` argument is used, MPD will only send notifications 
 ---
 `mixrampdb {deciBels} => fetch_nothing`
 
-> Sets the threshold at which songs will be overlapped. Like crossfading but doesn't fade the track volume, just overlaps. The songs need to have MixRamp tags added by an external tool. 0dB is the normalized maximum volume so use negative values, I prefer -17dB. In the absence of mixramp tags crossfading will be used. See [mixramp](https://sourceforge.net/projects/mixramp/)
+> Sets the threshold at which songs will be overlapped. Like crossfading but doesn't fade the track volume, just overlaps. The songs need to have MixRamp tags added by an external tool. 0dB is the normalized maximum volume so use negative values, I prefer -17dB. In the absence of mixramp tags crossfading will be used. See [mixramp](https://mpd.readthedocs.io/en/latest/user.html?highlight=mixramp#mixramp)
 
 ---
 `mixrampdelay {SECONDS} => fetch_nothing`
diff --git a/README.md b/README.md
index 497a285..8c64fdd 100644
--- a/README.md
+++ b/README.md
@@ -125,7 +125,7 @@ client = MPD::Client.new
 client.log = Logger.new($stderr)
 ```
 
-For more information about logging configuration, see [Logger](https://ruby-doc.org/stdlib-2.5.1/libdoc/logger/rdoc/Logger.html)
+For more information about logging configuration, see [Logger](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html)
 
 ## Development
 
diff --git a/examples/stickers.rb b/examples/stickers.rb
index 6908f08..653e245 100644
--- a/examples/stickers.rb
+++ b/examples/stickers.rb
@@ -9,7 +9,7 @@ require 'mpd_client'
 MPD::Client.log = Logger.new($stderr)
 
 # Stickers
-# http://www.musicpd.org/doc/protocol/ch03s07.html
+# https://mpd.readthedocs.io/en/latest/protocol.html#stickers
 
 client = MPD::Client.new
 
diff --git a/lib/mpd_client.rb b/lib/mpd_client.rb
index cb16f94..6c2c82d 100644
--- a/lib/mpd_client.rb
+++ b/lib/mpd_client.rb
@@ -10,9 +10,8 @@ module MPD
   SUCCESS = "OK\n"
   NEXT = "list_OK\n"
 
-  # MPD changelog: http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS
-  # http://www.musicpd.org/doc/protocol/command_reference.html
-  # http://git.musicpd.org/cgit/cirrus/mpd.git/plain/doc/protocol.xml
+  # MPD changelog: https://github.com/MusicPlayerDaemon/MPD/blob/master/NEWS
+  # Protocol: https://mpd.readthedocs.io/en/latest/protocol.html
   COMMANDS = {
     # Status Commands
     'clearerror' => 'fetch_nothing',