DrKain / subclean

A cross-platform CLI tool and node module to remove advertising from subtitles. Supports Bazarr and bulk cleaning!
MIT License
54 stars 5 forks source link

[Bug] Error: expected timestamp at row 1, but received: "��1 #32

Closed speedbmp closed 1 year ago

speedbmp commented 1 year ago

[Clean] [561/6192] Cleaning "Animal House.bluray.srt" [Error] Unable to parse "Z:\VS-Movies\Animal House (1978)\Animal House.bluray.srt" [Error] Please create an issue on GitHub with a copy of this file.

[Error] Error: expected timestamp at row 1, but received: "��1 "

Animal House.bluray - Copy.txt

speedbmp commented 1 year ago

rename the file and remove .txt and change to .srt

DrKain commented 1 year ago

Thanks for reporting. This is a duplicate of #8 (same issue, different character encoding).
You can fix the current subtitle with the Bazarr setting mentioned in the linked issue or using Notepad++ (Encoding -> Convert to UTF-8)

I do plan on adding a parameter to convert these subs when found, but I don't have the time for it right now.

speedbmp commented 1 year ago

Sounds good thanks