check for k at the end of bitrate. otherwise mpv hangs

This commit is contained in:
Ren Tatsumoto 2020-09-20 03:23:19 +03:00
parent 3cfbe163e8
commit f8d1154dbb

View file

@ -330,6 +330,10 @@ if not config.audio_folder_path:endswith('/') then
config.audio_folder_path = config.audio_folder_path .. '/' config.audio_folder_path = config.audio_folder_path .. '/'
end end
if not config.audio_bitrate:endswith('k') then
config.audio_bitrate = config.audio_bitrate .. 'k'
end
------------------------------------------------------------ ------------------------------------------------------------
-- Finally, set an 'entry point' in mpv -- Finally, set an 'entry point' in mpv