Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

liweitianux
Copy link
Member

@liweitianux liweitianux commented Mar 6, 2024

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"

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
Copy link
Member Author

Tested with the latest minidlna 1.3.3 from FreeBSD ports.

@tuxillo tuxillo merged commit ed36934 into DragonFlyBSD:master Mar 28, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants