Refactor directory comment, update file opening command, and improve German MP3 creation comment in generate_mp3.sh:
- Refactored a directory comment in the script for clarity. - Updated the file opening command to use the correct path (/sdcard/handout.html). - Improved the comment explaining the creation of German MP3 files.
This commit is contained in:
parent
45955451d7
commit
0fb0ae1e48
@ -19,12 +19,11 @@ category_order=("date" "time")
|
|||||||
# Directories
|
# Directories
|
||||||
txt_dir="/data/scripts/.text"
|
txt_dir="/data/scripts/.text"
|
||||||
mp3_dir="/data/scripts/.mp3"
|
mp3_dir="/data/scripts/.mp3"
|
||||||
|
|
||||||
# remove old files
|
# remove old files
|
||||||
rm -f "$txt_dir"/*complete.txt
|
rm -f "$txt_dir"/*complete.txt
|
||||||
|
|
||||||
# open handout.md file
|
# open handout.md file
|
||||||
am start --user 0 -a android.intent.action.VIEW -d file:///data/local/tmp/file.txt -t text/plain
|
am start --user 0 -a android.intent.action.VIEW -d file:///sdcard/handout.html -t text
|
||||||
|
|
||||||
# Function to create MP3 files
|
# Function to create MP3 files
|
||||||
create_mp3_files() {
|
create_mp3_files() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user