134
个编辑
DrLee lihr(讨论 | 贡献) 无编辑摘要 |
DrLee lihr(讨论 | 贡献) (同名曲判断) |
||
第15行: | 第15行: | ||
} | } | ||
function p.fixLink(name) | local m = { | ||
["Quon"] = { | |||
["quon"] = "Quon_(Feryquitous)", | |||
["quonwacca"] = "Quon_(DJ_Noriken)" | |||
} | |||
} | |||
function p.fixLink(name, id) | |||
if m[name] then | |||
return m[name][id] | |||
end | |||
if l[name] then | if l[name] then | ||
return l[name] | return l[name] | ||
第58行: | 第68行: | ||
if isBeyond and song.difficulties[4].title_localized then hasBeyondSpecialName = true end | if isBeyond and song.difficulties[4].title_localized then hasBeyondSpecialName = true end | ||
local linkTo = p.fixLink(song.title_localized.en) | local linkTo = p.fixLink(song.title_localized.en, song.id) | ||
local display = song.title_localized.en | local display = song.title_localized.en | ||
if hasBeyondSpecialName then | if hasBeyondSpecialName then |
个编辑