From b67b4a657bee82934e24620a4583d9c8f9a6812a Mon Sep 17 00:00:00 2001 From: Ratatoskr Date: Tue, 13 Feb 2024 09:50:36 +0100 Subject: [PATCH] Update generate_mp3.sh script This commit includes changes to the 'generate_mp3.sh' script: - Removed the commented-out command to open 'handout.md' file. - Updated the command to open 'handout.html' file using 'am start'. - Improved comments and formatting in the script. The changes aim to enhance the script by removing unnecessary code and improving readability. Note: Ensure that the 'am start' command works as expected with the updated file path. --- generate_mp3.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/generate_mp3.sh b/generate_mp3.sh index b2c7d1d..c140a58 100644 --- a/generate_mp3.sh +++ b/generate_mp3.sh @@ -26,8 +26,7 @@ mp3_dir="/sdcard/.mp3" # remove old files rm -f "$txt_dir"/*complete.txt -# open handout.md file -#am start --user 0 -a android.intent.action.VIEW -d content://pl.solidexplorer2.files/storage/emulated/0/.text/handout.html -t text/html +# open handout.html file am start --user 0 -n org.bromite.chromium/org.chromium.chrome.browser.ChromeTabbedActivity -d content://pl.solidexplorer2.files/storage/emulated/0/.text/handout.html -t text/html # Function to create MP3 files