mirror of
https://github.com/Jonny007-MKD/OTR-SaneRename
synced 2025-01-22 08:49:48 +01:00
Added conversion of EPG file from LATIN1 to UTF8 for better Umlaut support
This commit is contained in:
parent
f657e2837e
commit
40e36a79a5
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue