Commit 9ad76e4f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

filename: episode numbers can have more than 2 digits (fixes #14859)

parent d2007feb
...@@ -42,7 +42,7 @@ function read_meta() ...@@ -42,7 +42,7 @@ function read_meta()
-- Find "Show.Name.S01E12-blah.avi" -- Find "Show.Name.S01E12-blah.avi"
local title, seasonNumber local title, seasonNumber
_, _, showName, seasonNumber, episodeNumber = string.find(name, "(.+)S(%d%d)E(%d%d).*") _, _, showName, seasonNumber, episodeNumber = string.find(name, "(.+)S(%d+)E(%d+).*")
if not showName then if not showName then
return return
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment