INSTALL 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. AUTHOR: glucose
  2. 1) mkv_check.sh relies on mkvinfo in order to validate mkv files. mkvinfo must therefore
  3. be included in your glftpd/bin directory. The easiest way to do this is by installing
  4. the mkvtoolnix package on your Linux distribution of choice using your package manager
  5. i.e. apt-get install mkvtoolnix
  6. Please refer to http://www.bunkus.org/videotools/mkvtoolnix/downloads.html for further
  7. installation instructions.
  8. Include mkvinfo in the needed_bins variable in your glftpd/libcopy.sh and run libcopy.sh.
  9. You should then find mkvinfo in glftpd/bin and all libraries it depends on in their
  10. respective directories.
  11. 2) copy mkv_check.sh to glftpd/bin
  12. 3) customize the settings in mkv_check.sh
  13. 4) include mkv_check.sh in the glftpd.conf by replacing your post_check with
  14. post_check /bin/mkv_check.sh *
  15. 5) copy mkv_check.tcl and mkv_check.zpt to pzs-ng/plugins
  16. 6) load mkv_check.tcl by adding
  17. source pzs-ng/plugins/mkv_check.tcl
  18. to your eggdrop configuration file AFTER the source for ngBot.tcl
  19. 7) customise the announce for passed/failed mkv uploads in mkv_check.zpt
  20. NOTE: you can disable announces for mkv's passing the checks by including
  21. set disable(MKV_PASS) 1
  22. in your ngBot.conf