zhanghai / zhanghai/MaterialFiles

Error when using 'Open With' from SMB share

Open
#1,097 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

When using Material Files to open a MIDI file from my Synology NAS share via SMB with a program called MIDI Clef, I get the following error:

File Error: Unknown error (Unable to create StorageItemDocument for content://me.zhanghai.android.files.file_provider/smb%253A%252F%252FSYNOLOGYNAS%252Fchoirmusic%252Ftest.mid)

where SYNOLOGYNAS is Hostname, choirmusic is the name of the share, and test.mid is the file.

Works fine using other File Managers ... but really like Material Files!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by opening test.mid from the Synology NAS SMB share through Material Files with MIDI Clef. Trace the Android “Open With” handoff for the SMB content URI; done means MIDI Clef opens the file without the StorageItemDocument error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.