cine-encoder icon indicating copy to clipboard operation
cine-encoder copied to clipboard

Linux : unable to add from a network location

Open philstopford opened this issue 2 years ago • 2 comments

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.

philstopford avatar Mar 02 '23 17:03 philstopford

Hello! I'll see what can be done.

CineEncoder avatar Mar 08 '23 15:03 CineEncoder

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.

philstopford avatar Apr 14 '23 21:04 philstopford