From 9a0489260ea1e908c784e63000842eea1d970522 Mon Sep 17 00:00:00 2001 From: coolnsx Date: Tue, 7 Nov 2023 12:25:26 +0530 Subject: [PATCH] MOAR BIFURCATION --- yt-music | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yt-music b/yt-music index 74ab8aa..5351f7d 100755 --- a/yt-music +++ b/yt-music @@ -169,7 +169,7 @@ update_rich_presence() { printf "\\000\\000\\000\\000\\$(printf "%03o" "${#handshake}")\\000\\000\\000%s" "$handshake" #wait for response which comes within 1 second(max 2 seconds) - sleep 3 + sleep 2 set_activity "$payload" } | nc -U "$discord_ipc" >"/tmp/ipclog" } @@ -183,8 +183,8 @@ play() { #get song's audio url random_no=$(head /dev/urandom | tr -dc '0-4' | cut -c1) - andy_yt_ver="6.22.51" - extra_up=$((random_no >= 2)) + andy_yt_ver="6.26.50" + extra_up=$((random_no > 1)) droid_agent="com.google.android.apps.youtube.music/$andy_yt_ver (Linux; U; Android 1$random_no) gzip" json="{ \"context\": {