|
@@ -106,12 +106,12 @@ case "$CMD" in
|
|
|
pick)
|
|
|
CHOSEN_POD=''
|
|
|
if [ "$1" == "-x" ] ; then
|
|
|
- CHOSEN_POD=$(find_unlistened --in=here | rofi -dmenu -p "podcast")
|
|
|
+ CHOSEN_POD=$(find_unlistened --in=here | cut -d'/' -f 2- | rofi -dmenu -p "podcast")
|
|
|
else
|
|
|
- CHOSEN_POD=$(find_unlistened --in=here | fzf)
|
|
|
+ CHOSEN_POD=$(find_unlistened --in=here | cut -d'/' -f 2- | fzf)
|
|
|
fi
|
|
|
if [ "${#CHOSEN_POD}" -gt 0 ] ; then
|
|
|
- play_pod $CHOSEN_POD
|
|
|
+ play_pod "${POD_SUB_DIR}/${CHOSEN_POD}"
|
|
|
fi
|
|
|
exit
|
|
|
;;
|