use https everywhere (#6574)

* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
This commit is contained in:
Janosch Schwalm 2018-08-07 20:42:02 +02:00 committed by Marc Cornellà
commit 19b925e741
102 changed files with 187 additions and 199 deletions

View file

@ -241,7 +241,7 @@ if [[ ! -z "$playlist" ]]; then
case "$state" in
on|off)
# Inspired by: http://stackoverflow.com/a/14675583
# Inspired by: https://stackoverflow.com/a/14675583
osascript 1>/dev/null 2>&1 <<-EOF
tell application "System Events" to perform action "AXPress" of (menu item "${state}" of menu "Shuffle" of menu item "Shuffle" of menu "Controls" of menu bar item "Controls" of menu bar 1 of application process "iTunes" )
EOF

View file

@ -408,7 +408,7 @@ while [ $# -gt 0 ]; do
uri=`osascript -e 'tell application "Spotify" to spotify url of current track'`;
remove='spotify:track:'
url=${uri#$remove}
url="http://open.spotify.com/track/$url"
url="https://open.spotify.com/track/$url"
if [ "$2" = "" ]; then
cecho "Spotify URL: $url"