mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04:00
Fix sort order
This commit is contained in:
parent
406e25c49d
commit
0bd3c01d18
@ -30,7 +30,7 @@ void createThumbnail(original, thumb) {
|
||||
|
||||
void createIndexFile(db) {
|
||||
def indexFile = _args.outputPath.resolve("images/${db}/thumb/poster/index.txt")
|
||||
def index = indexFile.dir.listFiles{ it.image }.collect{ it.getNameWithoutExtension() }.toSorted()
|
||||
def index = indexFile.dir.listFiles{ it.image }.collect{ it.nameWithoutExtension as int }.toSorted()
|
||||
|
||||
index.join('\n').saveAs(indexFile)
|
||||
execute '/usr/local/bin/xz', indexFile, '--force'
|
||||
|
Loading…
x
Reference in New Issue
Block a user