Repository navigation
Fix SMB:// in capitals, unreadable downloads and lost Stash ratings - #105
Conversation
|
661a2cb to
ba13963
Compare
|
/oc Please re-review the change since the first review.
|
|
No new findings. The cached read-only SQLite handle remains a documented, accepted limitation. I found no reason to reopen it in this follow-up. Verified by code inspection and |
53e2f9e to
e635c6a
Compare
ba13963 to
003d35d
Compare
Fixes for files, network shares and Stash write-back.
SMB://andSFTP://in capitals were taken for web links, which never opened ("No protocol handler" for SMB, "Protocol not found" for SFTP).smb://andsftp://are now recognised in any case. The app and the library keep the scheme in lowercase (remote::lowerScheme()), soSMB://nas/media/a.mp4finds the same record assmb://nas/media/a.mp4. TypingSMB://nasin Add a computer now namesnasinstead of a host calledsmb:.Downloads: a local source whose
stat()failed for any reason (permission denied on a parent folder, say) failed with "The video isn't there any more". It now fails as gone only when the file doesn't exist (ENOENT/ENOTDIR), as a remote source does. Otherwise it waits and is tried again every 10 s. A local source that can't be read, at the start or partway through the copy, now says so; a failed write to the drive still waits as before.stat()fails, file thereThe message is a new string, with all six translations.
Stash outbox: a rating or play that couldn't be written to the outbox was logged and dropped. It now stays in memory, in order, and is tried again with the next rating or play, before the next send or send preview, and once more when the worker stops. The outbox file format is unchanged.
[123][123]Pinning
/: the file browser no longer offers to pin/, as first-run setup already didn't (File system has no tick there). Pinning it would put every video on the device into the Library, apps' and games' videos and every mounted drive's included. One small check,Places::pinnable(), is shared by both. An existing pin of/still shows Unpin, so it can be removed. Whole computers (smb://nas) and shares stay pinnable.Known and left as is
Library::addCopy()still assumes it gets a file path. Its only caller passes completed downloads; folder pins go throughPlaces.Important
AI disclosure
anthropic/claude-opus-5-5highopenai/gpt-6.2-astrahighAgent harness OpenCode 2.3.2