getOverrideThumbnailFilename method
The map value used to store the override thumbnail of an item.
Implementation
String getOverrideThumbnailFilename({
required AppModel appModel,
required MediaItem item,
}) {
String key =
'${item.mediaIdentifier}/${item.mediaSourceIdentifier}/override_thumbnail';
String basename = key.hashCode.toString();
String filename = path.join(appModel.thumbnailsDirectory.path, basename);
return filename;
}