mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Create force_transcode_filter_notes
This commit is contained in:
parent
3d5959a913
commit
819703f866
1 changed files with 9 additions and 0 deletions
9
examples/force_transcode_filter_notes
Normal file
9
examples/force_transcode_filter_notes
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// add COPYRIGHT=processed during video transcoding
|
||||
// <io> -map 0 -c copy -c:v libx265 -metadata:s:v:0 COPYRIGHT=processed
|
||||
|
||||
// check COPYRIGHT=processed metadata to see if file has been transcoded or not
|
||||
if(file.ffProbeData.streams[0]?.tags?.COPYRIGHT === 'processed'){
|
||||
response.infoLog += 'File has already been transcoded \n';
|
||||
response.processFile = false;
|
||||
return response;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue