Compare commits

..

No commits in common. "319554761e80482567265ade9677d6722a9c1d7b" and "a53ecb0d9d53a13c3a549b3b64a3d73f7db3d50b" have entirely different histories.

View File

@ -110,11 +110,7 @@ list_read() {
while read -r art; do
LINK="$(sub_link "$art")"
ENCLOSURE_TYPE="$(cat "$art" | jq -r '.enclosure.type // ""')"
if [ ! -z "$(printf "%s" "$LINK" | grep 'youtube.com\|odycdn\|twitch')" ] \
|| [ "$ENCLOSURE_TYPE" = "audio/mpeg" ]
then
if [ ! -z "$(printf "%s" "$LINK" | grep 'youtube.com\|odycdn\|simplecastaudio\|podcasts\|twitch')" ]; then
VID="$VID$LINK "
if [ -n "$VIDFILES" ]; then
VIDFILES=$(printf "%s\n%s" "$VIDFILES" "$art")
@ -243,10 +239,10 @@ sub_fzf() {
while true; do
NEWARTS="$(find . -type l -or -type f)"
export -f sub_preview
OUTPUT="$(printf "%s" "$NEWARTS" |
export SHELL="/bin/sh"
fzf --marker='*' --multi --print-query \
--preview "cd $DIR; mrss preview {}" \
--preview 'bash -c "sub_preview {}"' \
--bind "ctrl-d:change-query(/purge)+accept" \
--bind "ctrl-alt-d:change-query(/purge-all)+accept" \
--bind "enter:change-query(/read)+accept" \