Synology - eigan/mediasort GitHub Wiki

  • Install PHP7 and WebStation, enable phar support for PHP7.
  • Login via SSH
  • Download the latest mediasort.phar from releases by using wget
  • Now you should be able to php70 mediasort.phar

Create an executable

Create /usr/local/bin/mediasort

Add this:

php70 /path/to/mediasort.phar "$@"