You sure this was your first reply? Kinda feels like I've seen your name and avatar hundreds of times already.
Anyway, instead of complaining again, here's a script that removes karaoke. I wrote this a couple of months ago, but sharing is caring so here you go.
Save the following in an executable text file and put that text file in a folder with all the subs. It's assumed the subs are in the container .ass (if not just change the script accordingly) and that you run Linux (could work with Windows, too. But I don't know.).
#!/bin/bash
IFS="|"
if test -z ; then
WORKDIR="$PWD"
else
WORKDIR=""
fi
for f in `find $WORKDIR -maxdepth 1 -name '*.ass' -printf "%p|"`; do
# Remove Karaoke
sed -i 's/,OP English,.*//g' "$f"
sed -i 's/,OP Romaji,.*//g' "$f"
sed -i 's/,OP Kanji,.*//g' "$f"
done
For the part under "Remove Karaoke" it's necessary to look up what kind of indicator is used in the subs and put that in. For example, if its looks like
Dialogue: 10,0:02:21.20,0:02:22.58,karaoke,,0,0,0,,karaoketextkaraoketextkaraoketext
Dialogue: 10,0:02:22.58,0:02:24.74,karaoke,,0,0,0,,karaoketextkaraoketextkaraoketext
Dialogue: 10,0:02:25.08,0:02:26.83,karaoke,,0,0,0,,karaoketextkaraoketextkaraoketext
Dialogue: 10,0:02:33.46,0:02:36.26,karaoke,,0,0,0,,karaoketextkaraoketextkaraoketext
write
sed -i 's/
,karaoke,.*//g' "$f" instead.
コメント (1)
Stupid karaoke subs can go to hell.
Ep 06, OP
I passionately hate this shit.
Ep 06, some song in the middle of the episode and it has fucking karaoke subs. Rage.