diff options
author | Eric Wong <e@80x24.org> | 2022-04-01 08:58:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-07-16 06:13:00 +0000 |
commit | 2cfb6b0a1a92bbfd1811a15893ac9563f027c0c4 (patch) | |
tree | d24e8baf6f040b7831e340fbbec8c5f9a3769078 | |
parent | 7e3d2bf2f097c2f9a226f93a2ec7fac3688f0a0e (diff) | |
download | dtas-2cfb6b0a1a92bbfd1811a15893ac9563f027c0c4.tar.gz |
Sometimes I get non-English song titles and copy+paste them from non-UTF8 texts.
-rw-r--r-- | lib/dtas/splitfx.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb index 1584e16..bb31ab5 100644 --- a/lib/dtas/splitfx.rb +++ b/lib/dtas/splitfx.rb @@ -290,6 +290,7 @@ class DTAS::SplitFX # :nodoc: t = T.new t.tbeg = @t2s.call(start_time) t.comments = @comments.dup + title.valid_encoding? or warn "#{title.inspect} encoding invalid" t.comments["TITLE"] = title t.env = @env.dup |