Permalink
Browse files

Merge branch 'alt-list'

  • Loading branch information...
2 parents 79f2723 + 58d6642 commit 02fe7824a0d071c726272ef0ec12416b95132859 Aldis Berjoza committed Aug 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/playd.sh
View
@@ -386,7 +386,7 @@ while [ $# -gt 0 ]; do
'list' | '--list' | '-l' )
[ -f "$PLAYD_PLAYLIST" ] \
- && sed -e "s#^.*/##" -E -e "s#\.($PLAYD_FILE_FORMATS)\$##" "$PLAYD_PLAYLIST" | awk '{ print NR "|\t" $0 }' | more \
+ && sed -e 's#^.*/##' -e 's#_# #g' -E -e 's#^(([0-9][ -]?)?[0-9]{1,2}( - |\. |-|\.| ))?##' -e 's#^[ ]*##' -e 's# ?- ?[0-9]{1,2} ?- ?# - #' -e 's#-[0-9]{2}\.# - #' -E -e "s#\.($PLAYD_FILE_FORMATS)\$##" "$PLAYD_PLAYLIST" | awk '{ print NR "|\t" $0 }' | more \
|| playd_warn "Default playlist doesn't exist."
;;

0 comments on commit 02fe782

Please sign in to comment.