DragonFlyBSD / DeltaPorts

FreeBSD Ports Collection + DeltaPorts = DragonFly Ports (a.k.a. DPorts)
29 stars 30 forks source link

net/minidlna: Ignore sparseness check to make 'rescan' work #1470

Closed liweitianux closed 7 months ago

liweitianux commented 8 months ago

The sparseness check function check_notsparse() isn't supported by DragonFly, and it caused the 'rescan' to not work; i.e., updated files were not indexed upon startup when the -r option was specified.

Just ignore the sparseness check to make the 'rescan' work as expected.

By the way, the -r option is recommended to add for minidlna; for example, add this to /etc/rc.conf:

minidlna_enable="YES"
minidlna_flags="-r"
liweitianux commented 8 months ago

Tested with the latest minidlna 1.3.3 from FreeBSD ports.