start info
This commit is contained in:
parent
dcf117a276
commit
ab4f7788ae
3 changed files with 45 additions and 0 deletions
24
Readme.md
24
Readme.md
|
@ -0,0 +1,24 @@
|
|||
# HP MoR split
|
||||
|
||||
Goal is to split large files into smaler ones, so one can easier check where one stands.
|
||||
I do not share the originalfiles, but one can get them freely from the original website.
|
||||
|
||||
`wget https://hpmorpodcast.com/wp-content/uploads/episodes/HPMoR_Part_{1..6}.mp3`
|
||||
|
||||
```
|
||||
$ sha256sum HPMoR_Part_?.mp3
|
||||
128546d71d714271bd088e07f298bf96cb7602dbb8847fdd3a4c77157e062a79 HPMoR_Part_1.mp3
|
||||
59620d8c4d7ea24c863ee46cab1461367cb994f65d2ae469cdf865f74d02e816 HPMoR_Part_2.mp3
|
||||
9a064888e7df3d4002156f972ed8ae674f995f781e46ed8d058865eefe700ed7 HPMoR_Part_3.mp3
|
||||
4146f76642a0a8d29b9a51261ccdb9b4ef03ac4b5704986934b02261ec4863df HPMoR_Part_4.mp3
|
||||
e04c71e16fc6ab1a72872efe33776b1fc892082dc59fdb452714d59bce792337 HPMoR_Part_5.mp3
|
||||
1a7ebce777becb6a0c0e8efec1155f8dbf0d179224db71ca78e3d8122a804422 HPMoR_Part_6.mp3
|
||||
```
|
||||
|
||||
## Make Hour long files
|
||||
|
||||
Use hmake.sh
|
||||
|
||||
## Chapiel files
|
||||
|
||||
Please commit to charpters.csv to collect the necessary data.
|
5
charpters.csv
Normal file
5
charpters.csv
Normal file
|
@ -0,0 +1,5 @@
|
|||
C007,2:43:51,
|
||||
C008,3:23:34,
|
||||
C011,4:35:18,There is no chapter 11
|
||||
C012,4:35:19,
|
||||
C013,4:58:10,
|
|
16
hmake.sh
Executable file
16
hmake.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
if [ -z $H ]
|
||||
then echo -e "usage:\tH=4 bash $0"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
i=0
|
||||
while ffmpeg -ss ${i}:00:00 -t 1:00:00 -i HPMoR_Part_${H}.mp3 h/hpmot_p${H}_h${i}.mp3
|
||||
do
|
||||
if [ `du -t 5K h/hpmot_p${H}_h${i}.mp3 |wc -l` -lt 1 ]
|
||||
then
|
||||
rm h/hpmot_p${H}_h${i}.mp3
|
||||
break
|
||||
fi
|
||||
let i++
|
||||
done
|
Loading…
Reference in a new issue