Update generate_mp3.sh script
The generate_mp3.sh script has been updated with the following changes: - Added a comment to specify the directory for MP3 files. - Implemented a command to open the handout.md file using the 'am start' command. - The 'am start' command opens the file in VIEW mode with the 'text/plain' MIME type. - This enhancement provides a convenient way to access the handout.md file directly. The commit aims to improve the functionality and user experience of the generate_mp3.sh script by enabling easy access to the handout file.
This commit is contained in:
parent
a8a923d16b
commit
382e28c481
@ -23,6 +23,9 @@ mp3_dir="/data/scripts/.mp3"
|
||||
# remove old files
|
||||
rm -f "$txt_dir"/*complete.txt
|
||||
|
||||
# open handout.md file
|
||||
am start --user 0 -a android.intent.action.VIEW -d file:///data/local/tmp/file.txt -t text/plain
|
||||
|
||||
# Function to create MP3 files
|
||||
create_mp3_files() {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user