Provider: WebDAV #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WebDAV photo source provider. Useful for Nextcloud, ownCloud, Synology WebDAV, Box, and other WebDAV-compatible storage.
Config Schema
Implementation Notes
webdavclient3library or rawPROPFIND/GETrequests withrequestslist_photos()does aPROPFINDwithDepth: infinity(or recursiveDepth: 1calls) to enumerate filesget_photo()does aGETrequest, loads into PILPhotoRef.id= relative path from configured rootPhotoRef.date=getlastmodifiedproperty from PROPFIND responseSpecific Platform Notes
https://host/remote.php/dav/files/{username}/https://nas:5006/(port 5006 for HTTPS)https://dav.box.com/dav/Dependencies
requests(already a Flask dependency)No additional libraries strictly needed — WebDAV is just HTTP with PROPFIND/PROPPATCH. Using raw
requestswith XML parsing avoids adding another dependency.Depends on #9 (core architecture).