Skip to content

Commit a03ac50

Browse files
committed
feat: use local variables to enhance xp when calling playlist_explorer recursively
1 parent 6f4e2b0 commit a03ac50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

yt-x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,7 @@ ${RED}󰈆${RESET} Exit" | launcher "Select Media Action" | sed 's/. //g')"
872872
echo "$current_recent_videos" | jq "{\"entries\":[.entries[] | select(.id != \"$id\")]}|.entries+=[$(echo "$video" | jq '.title |= sub("^[0-9]+ "; "")')]" | jq "{\"entries\":.entries[-$NO_OF_RECENT:]}" >"$CLI_CONFIG_DIR/recent.json"
873873
;;
874874
Mix)
875+
local url0 _search_results
875876
video_id=$(echo "$video" | jq '.id' -r)
876877
url0=$urlForAll
877878
urlForAll="https://www.youtube.com/watch?v=${video_id}&list=RD$video_id"

0 commit comments

Comments
 (0)