Updated
This commit is contained in:
parent
e0ad7770e2
commit
ca1e603cc0
@ -118,7 +118,9 @@ class MetadataAndBaseInfoToFileOut(@Autowired override var coordinator: Coordina
|
|||||||
|
|
||||||
fun getTitle(): String {
|
fun getTitle(): String {
|
||||||
val title = getAlreadyUsedForCollectionOrTitle()?: metadata?.data?.title ?: baseInfo.title
|
val title = getAlreadyUsedForCollectionOrTitle()?: metadata?.data?.title ?: baseInfo.title
|
||||||
return Regexes.illegalCharacters.replace(title, " - ")
|
var cleaned = Regexes.illegalCharacters.replace(title, " - ")
|
||||||
|
cleaned = Regexes.trimWhiteSpaces.replace(cleaned, " ")
|
||||||
|
return cleaned
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getVideoPayload(): JsonObject? {
|
fun getVideoPayload(): JsonObject? {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user