From 73275cb0989624a1a0938ad99a46cd9c6e9c4ad0 Mon Sep 17 00:00:00 2001 From: coolnsx Date: Sun, 3 May 2026 01:00:47 +0530 Subject: [PATCH] =?UTF-8?q?=EF=BB=BF=20-=20Temporary=20commit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .functions | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.functions b/.functions index 7f34548..2b5968f 100644 --- a/.functions +++ b/.functions @@ -44,9 +44,9 @@ error_linux() { } player_droid() { - dir="/storage/emulated/0/.mpv" + dir="/sdcard/mpv" file="$dir/mpv.config.mp4" - if [ -w "${dir%*/.mpv}" ]; then + if [ -w "${dir%*/mpv}" ]; then [ -d "${dir}" ] || mkdir "${dir}" printf "%s" "$3" | sed 's| --|\n|g; s|^--||g' > "$file" sleep 10 && : > "$file" & @@ -57,7 +57,6 @@ player_droid() { printf "> allow storage permission\n" printf "> add → include='$file'\n" printf " to MPV → Settings > Advanced > mpv.conf\n" - printf " Make sure to press enter after pasting the content above for MPV to recognise it.." fi am start --user 0 -a android.intent.action.VIEW -d "$1" -n is.xyz.mpv/.MPVActivity -e "title" "$2" >/dev/null 2>&1 #am start --user 0 -a android.intent.action.VIEW -d "$1" -n org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity -e "title" "$2" >/dev/null 2>&1