I'm suggesting if the mediasmartservd project was made into a Synology SPK package as the powerbutton package was, it would be much easier to install.
See here...
https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Service_Application/How_to_install_applications_with_Package_Center#t2.2