Hello,
I have the same problem as Christian, but the environment is different.
I have Tvheadend 4.3-1854 on a raspberry Pi3b+ that runs with raspbian buster, and the storage harddisk is in a NAS (at the moment whs2011).
I had a working solution with autofs for my mpd service, the harddisk spinned down when the mpd playlist was empty.
since i installed tvheadend (and made the nas storage work, what was a bit difficult), it doesn't spin down anymore.
output of "mount": ... type cifs rw,relatime,vers=default,sec=ntlmv2,cache=strict,username=hts,uid=136,forceuid,gid=136,forcegid,addr= ... ,file_mode=0777,dir_mode=0777,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)
Is it a problem of automount, or does tvheadend keep writing/reading to/from the storage so that it can't be unmounted?
Stefan