Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux : unable to add from a network location #59

Open
philstopford opened this issue Mar 2, 2023 · 2 comments
Open

Linux : unable to add from a network location #59

philstopford opened this issue Mar 2, 2023 · 2 comments

Comments

@philstopford
Copy link
Contributor

philstopford commented Mar 2, 2023

This isn't an issue on Windows, but trying to add in a file from the file browser from a network share (e.g. smb://user@myserver/share/myfile.mp4) yields an error that the file could not be found.

The only way to avoid this seems to be a direct mount into the file system, which is inconvenient in many cases and often requires super user rights.

@CineEncoder
Copy link
Owner

Hello!
I'll see what can be done.

@philstopford
Copy link
Contributor Author

This seems to be coming from MediaInfo itself.

I found that Qt's absolutePath also doesn't help. Faced with something like smb://myserver/myshare/myfile.mp4

'absolutePath' turns this into :

currentWorkingDirectory/smb:/myserver/myshare

Using .path() avoids this, but MediaInfo.Open() then somehow fails when presented with the smb:// path. I noticed that running mediainfo itself from the command line simply yields an access denied error when presented with an smb:// path. There doesn't appear to be a way to provide credentials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants