diff options
Diffstat (limited to 'greentext-voice.sh')
-rwxr-xr-x | greentext-voice.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/greentext-voice.sh b/greentext-voice.sh new file mode 100755 index 0000000..690088f --- /dev/null +++ b/greentext-voice.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +text=$(echo "$*" | sed 's/</ less than /g; s/>/ greater than /g') +checksum=$(echo -n "415${text}1mp35883747uetivb9tb8108wfj" | md5sum | cut -d' ' -f1) +curl "https://cache.oddcast.com/tts/gen.php" -d EID=4 -d LID=1 -d VID=5 -d "TXT=$text" -d IS_UTF8=1 -d EXT=mp3 -d FNAME= -d ACC=5883747 -d API= -d SESSION= -d "CS=$checksum" -d cache_flag=3 | ffplay -nodisp -autoexit - |