need help with custom template media info

randac56

Member
May 25, 2018
915
0
16
Hi all ive installed media info all working fine smiley.gif just wondered if any1 knows how to add a custom template
i want to add this to the 1 in rutorrent
General.............: %FileName%
File Size...........: %FileSize/String4%\r\nVideo Codec.........: %Format%\r\nRuntime.............: %Duration/String%\r\nOverall Bitrate.....: %OverallBitRate/String%\r\n\n
any ideas ?
many thanks for any help
 

peshua19

Member
May 25, 2018
897
0
16
He wants to use --Inform, there is no need to compile anything. The obvious answer is to change the system call in that plugin, ideally making the command used configurable if it isn't.
 

lisas4567

Member
May 25, 2018
773
0
16
great thanks very much worked a treat smiley.gif
modify this $commands[] = getExternal("mediainfo")." ".escapeshellarg($filename);
and point to you own template