1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-SaneRename synced 2024-05-19 23:44:02 +02:00

Added conversion of EPG file from LATIN1 to UTF8 for better Umlaut support

This commit is contained in:
Jonny007-MKD 2014-09-04 13:55:39 +02:00
parent f657e2837e
commit 40e36a79a5

View file

@ -227,6 +227,8 @@ function funcGetEPG {
eecho "Downloading $epg_csv failed (Exit code: $error)!" eecho "Downloading $epg_csv failed (Exit code: $error)!"
logNexit 40 logNexit 40
fi fi
iconv -f LATIN1 -t utf8 "$wget_file" -o "${wget_file}.iconv"
mv "${wget_file}.iconv" "$wget_file"
fi fi
epg="$(grep "$series_title" "$wget_file" | grep "${file_time}")" # Get the line with the movie epg="$(grep "$series_title" "$wget_file" | grep "${file_time}")" # Get the line with the movie