Files
qbz/static/network_folder.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
1.1 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="M49.5,10.7c-4.6,1.6-7.9,5-9.4,9.6c-0.7,2-0.7,9-0.6,71.5l0.1,69.2l1.2,2.6c1.5,3.1,3.8,5.5,7,7.2l2.4,1.2h77.3c75.2,0,77.4,0,79.6-0.9c3-1.2,6.8-4.8,8.1-7.8l1.1-2.4v-55.4V50.3l-1.2-2.4c-1.7-3.2-4.1-5.5-7.2-7l-2.6-1.2l-39.2-0.1l-39.3-0.1l-5.4-11c-5.9-12-7.6-14.5-11.6-16.4c-4.2-2-6.4-2.1-33.1-2.1C55.1,10,51.3,10.1,49.5,10.7z"/><path fill="#000000" d="M113.2,202v14.8L67,216.8L20.7,217l-2.3,1.2c-3,1.4-5.7,4.2-7.2,7.2c-1.6,3.3-1.6,9.1,0,12.5c1.4,3,4.2,5.7,7.2,7.2l2.3,1.2H128h107.3l2.3-1.2c3-1.4,5.7-4.2,7.2-7.2c1.6-3.3,1.6-9.1,0-12.5c-1.4-3-4.2-5.7-7.2-7.2l-2.3-1.2l-46.3-0.1l-46.3-0.1V202v-14.8H128h-14.8V202z"/></g></g></g>
</svg>