Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix playd_current_file_escaped (escape "+" and "?")

  • Loading branch information...
commit d0d36fbc053d2c83247b660948dd28e243e8663a 1 parent 9bd0970
Aldis Berjoza authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/playd.sh
View
5 bin/playd.sh
@@ -34,7 +34,7 @@
# project email: playd@bsdroot.lv
# 1}}}
-readonly PLAYD_VERSION='1.12.1'
+readonly PLAYD_VERSION='1.12.2'
readonly PLAYD_NAME="${0##*/}"
readonly PLAYD_FILE_FORMATS='mp3|flac|og[agxmv]|wv|aac|mp[421a]|wav|aif[cf]?|m4[abpr]|ape|mk[av]|avi|mpf|vob|di?vx|mpga?|mov|3gp|wm[av]|midi?'
readonly PLAYD_PLAYLIST_FORMATS='plst?|m3u8?|asx|xspf|ram|qtl|wax|wpl'
@@ -360,7 +360,8 @@ playd_current_file_escaped() { # {{{1
# prints current file name, that mplayer is playing.
# this function prepares string for awk (adds escape sequences)
playd_current_file | sed -e 's#/#\\\/#g' -e 's#\.#\\\.#g' -e 's#\[#\\\[#g' -e 's#\]#\\\]#g' \
- -e 's#)#\\\)#g' -e 's#(#\\\(#g' -e 's#\*#\\\*#g' -e 's#{#\\\{#g' -e 's#}#\\\}#g'
+ -e 's#)#\\\)#g' -e 's#(#\\\(#g' -e 's#\*#\\\*#g' -e 's#{#\\\{#g' -e 's#}#\\\}#g' \
+ -e 's#+#\\\+#g' -e 's#?#\\\?#g'
} # 1}}}
playd_cat_playlist() { # {{{1
Please sign in to comment.
Something went wrong with that request. Please try again.