Skip to content

Tankōbon / main/services/library-organizer / templatedStem

Function: templatedStem() ​

templatedStem(fileName, entry, extension): string

Defined in: main/services/library-organizer.ts:142

The name, without extension, that the template fileName (AppSettings.libraryFileName) gives entry's file: each field filled from the entry (a missing series, volume, year or author giving the translated "Unknown"; the author as in the author level), then made safe like a folder name and cut so that extension still fits in MAX_NAME_BYTES.

Parameters ​

fileName ​

string

entry ​

OrganizedEntry

extension ​

string

Returns ​

string