mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 17:16:07 +01:00
fromfilename: Move <title> regex to the very end
since it's the least significant as discussed in the PR's thread.
This commit is contained in:
parent
2839302d53
commit
5461ddf9f2
1 changed files with 1 additions and 1 deletions
|
|
@ -30,10 +30,10 @@ PATTERNS = [
|
|||
r'^(?P<artist>.+)[\-_](?P<title>.+)$',
|
||||
r'^(?P<track>\d+)[\s.\-_]+(?P<artist>.+)[\-_](?P<title>.+)$',
|
||||
r'^(?P<track>\d+)[\s.\-_]+(?P<title>.+)$',
|
||||
r'^(?P<title>.+)$',
|
||||
r'^(?P<track>\d+)\s+(?P<title>.+)$',
|
||||
r'^(?P<title>.+) by (?P<artist>.+)$',
|
||||
r'^(?P<track>\d+).*$',
|
||||
r'^(?P<title>.+)$',
|
||||
]
|
||||
|
||||
# Titles considered "empty" and in need of replacement.
|
||||
|
|
|
|||
Loading…
Reference in a new issue