Description:`Files not in H265 will be transcoded into H265 using Nvidia GPU with ffmpeg, settings are dependant on file bitrate, working by the logic that H265 can support the same ammount of data at half the bitrate of H264. NVDEC & NVENC compatable GPU required. \n\n`,
Description:`Files not in H265 will be transcoded into H265 using CPU with ffmpeg, settings are dependant on file bitrate, working by the logic that H265 can support the same ammount of data at half the bitrate of H264. \n\n`,
Description:`This plugin removes title metadata from video/audio/subtitles, if it exists. Video checking is mandatory, audio and subtitles are optional.\n\n`,
tooltip:`By default if you enable audio or subtitle cleaning the plugin only looks for titles with more then 3 full stops, this is what i think is the safest way to identify junk metadata without removing real metadata that you might want to keep. Here you can specify your own text for it to also search for to match and remove. Comma separated. Optional.
\\nExample:\\n
MiNX-SmallHDepisodes
\\nExample:\\n
MiNX-SmallHDepisodes,GalaxyTV-smallexcellence!`,
},
],
};
@ -45,11 +54,17 @@ function plugin(file, librarySettings, inputs) {
};
// Set up required variables.
varffmpegCommandInsert="";
varvideoIdx=0;
varaudioIdx=0;
varsubtitleIdx=0;
varconvert=false;
// Check if inputs.custom_title_matching has been configured. If it has then set variable
// Check if file is a video. If it isn't then exit plugin.
if(file.fileMedium!=="video"){
@ -81,7 +96,7 @@ function plugin(file, librarySettings, inputs) {
videoIdx++;
}
// Check if title metadata of audio stream has more then 3 full stops. If so then it's likely to be junk metadata so remove.
// Check if title metadata of audio stream has more then 3 full stops. If so then it's likely to be junk metadata so remove. Then check if any audio streams match with user input custom_title_matching variable, if so then remove.
// Check if title metadata of subtitle stream has more then 3 full stops. If so then it's likely to be junk metadata so remove.
// Check if title metadata of subtitle stream has more then 3 full stops. If so then it's likely to be junk metadata so remove. Then check if any audio streams match with user input custom_title_matching variable, if so then remove.