mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-21 21:43:17 +03:00
Adds ability to generate NFO file from the JSON metadata in the utils module
This commit is contained in:
@@ -26,6 +26,9 @@ function registerFileDB(file_path, type, multiUserMode = null, sub = null) {
|
||||
|
||||
utils.fixVideoMetadataPerms(file_id, type, multiUserMode && multiUserMode.file_path);
|
||||
|
||||
// creates XML if kodi support is enabled
|
||||
if (true) utils.generateNFOFile(file_id, type, multiUserMode && multiUserMode.file_path);
|
||||
|
||||
// add thumbnail path
|
||||
file_object['thumbnailPath'] = utils.getDownloadedThumbnail(file_id, type, multiUserMode && multiUserMode.file_path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user