Files
qbz/static/nas_settings.svg
T
vicrodh c0ea039476 Add network folder detection and folder settings
- Add network folder detection module using /proc/self/mountinfo
  - Detect CIFS/SMB, NFS, SSHFS, rclone, WebDAV, GlusterFS, CephFS
  - Classify mount types (local, network, virtual, FUSE unknown)
  - Check mount accessibility

- Add library folder metadata
  - Alias for friendly naming (e.g., "NAS Music", "External Drive")
  - Network folder flag with auto-detection
  - User override for manual network folder marking
  - Network filesystem type (detected or user-defined)
  - Enabled toggle to disable folders without removing

- Add FolderSettingsModal component
  - Edit folder alias, enabled state, network settings
  - Show accessibility status for network folders
  - Scan single folder button

- Update LocalLibraryView folder list
  - Show network icon with connected/disconnected states
  - Display alias with path below if set
  - Edit button (enabled for single selection)
  - Visual badges for disabled/unavailable folders

- Add Tauri commands
  - library_get_folders_with_metadata
  - library_update_folder_settings
  - library_scan_folder (scan single folder)
  - check_network_path, check_mount_accessible
2026-01-16 04:40:06 -06:00

7 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Svg Vector Icons : http://www.onlinewebfonts.com/icon -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 256 256" enable-background="new 0 0 256 256" xml:space="preserve">
<metadata> Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata>
<g><g><g><path fill="#000000" d="M26.8,10.4c-8.2,1.2-15.1,8.2-16.3,16.7C10.3,28.7,10,38.7,10,49.4v19.5h98.2h98.2V47.8c0-19.9,0-21.3-0.9-24.1c-1.7-5.5-6-10-12-12.4l-2.5-1l-80.9,0C65.6,10.1,28.1,10.2,26.8,10.4z M88.9,39.4v10.1H64.2H39.5V39.4V29.3h24.7h24.7V39.4z M140.4,29.8c2.7,0.7,5,2.7,6.3,5.2c1.5,3.1,1.5,5.9,0,9c-3.4,6.8-12.9,7.4-17.1,1c-1.2-1.7-1.3-2.4-1.3-5.5c0-3.1,0.2-3.8,1.2-5.4C132,30.3,136.4,28.6,140.4,29.8z M169.9,29.8c2.7,0.7,5,2.7,6.3,5.2c1.5,3.1,1.5,5.9,0,9c-3.4,6.8-12.9,7.4-17.1,1c-1.2-1.7-1.3-2.4-1.3-5.5c0-3.1,0.2-3.8,1.2-5.4C161.5,30.3,165.9,28.6,169.9,29.8z"/><path fill="#000000" d="M10,108.3v29.3h57.5h57.6l6.2-6.1c4.3-4.3,7.7-7.1,11.2-9.5c4.7-3.1,14.5-8.3,15.8-8.3c0.7,0,0.7,0-0.2-1.8c-1.1-2.2-0.7-6.8,0.7-9c2.5-3.7,7.5-5.4,11.8-4c3.4,1.1,6.6,5.2,6.7,8.3v1.2h9.1c8.7,0,10.9,0.2,18.7,1.9l1.2,0.3V94.8V79.1h-98.2H10V108.3z M88.9,108.3v9.9H64.2H39.5v-9.9v-9.9h24.7h24.7V108.3z M142.2,99.3c6.2,3.2,7.5,11.1,2.6,15.9c-4.9,4.9-12.7,3.6-15.9-2.6c-1.1-2-1.2-6.1-0.2-8.3c0.7-1.9,3.3-4.4,5.1-5.2C135.9,98.1,140.2,98.3,142.2,99.3z"/><path fill="#000000" d="M177.3,133.4v5.4l-3.8,1.1c-2.1,0.6-6.1,2.2-8.8,3.6l-5,2.5l-3.8-3.7l-3.7-3.7l-6.8,6.8l-6.8,6.8l3.7,3.7l3.7,3.7l-2.5,5c-1.4,2.8-3,6.7-3.6,8.8l-1.1,3.8h-5.4H128v9.7v9.7h5.4h5.4l1.1,3.8c0.6,2.1,2.2,6.1,3.6,8.8l2.5,5l-3.7,3.7l-3.8,3.8l6.8,6.8l6.8,6.8l3.8-3.8l3.7-3.7l5,2.5c2.7,1.4,6.7,3,8.8,3.6l3.8,1.1v5.4v5.4h9.7h9.7v-5.5v-5.5l1.5-0.3c3.1-0.7,7.1-2.3,11.5-4.5l4.5-2.3l3.8,3.8l3.8,3.8l6.8-6.8l6.8-6.8l-3.7-3.7l-3.8-3.8l2.8-5.7c1.6-3.1,3.2-7.1,3.6-8.8l0.7-3.1h5.5h5.5v-9.7v-9.7h-5.5H235l-0.3-1.5c-0.7-3.1-2.3-7.1-4.5-11.5l-2.4-4.5l3.8-3.8l3.8-3.8l-6.8-6.8l-6.8-6.8l-3.7,3.7c-2,2-3.8,3.7-4.1,3.7s-1.6-0.7-3-1.5c-3.3-1.9-8.8-4.2-11.9-4.9l-2.4-0.6v-5.5v-5.5H187h-9.7V133.4z M191.9,167.7c8.7,2.3,14.9,10.3,14.9,19.2c0,12.8-12.5,22.4-24.7,19.2c-11.8-3.1-18.2-16.4-13.1-27.3c2.4-5.3,8-10,13.2-11.2C184.9,166.9,189.3,167,191.9,167.7z"/><path fill="#000000" d="M10.1,169.3c0.1,21.2,0.2,21.6,1.2,24.2c2.3,5.7,7,10.2,12.4,11.9c2.9,0.9,4.2,0.9,44.9,0.9h42l-0.4-1.5c-2.6-12.4-2.7-24-0.1-35.1c1.3-5.7,3.7-12.5,6.2-17.3c1.1-2.3,2-4.2,2-4.3c0-0.1-24.4-0.2-54.2-0.2H10L10.1,169.3z M88.9,177v9.9H64.2H39.5V177v-9.9h24.7h24.7V177z"/></g></g></g>
</svg>