infomaniac50 / dokan

Automatically exported from code.google.com/p/dokan
0 stars 1 forks source link

VLC Does not open File when Share is hosted on a Dokan Mount #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the DokanNetMirror example (Or Liquesce)
2. Create Dokan Mount
3. Share a Directory
4) OPen VLC and browse the share
5) Attempt to open a media file

What is the expected output? 
For the file to start playing

What do you see instead?
VLC Reports:
VLC is unable to open the MRL 
'file:///X:/TV%20Shows/Stargate%20Universe/Stargate.Universe.S02E10.720p.HDTV.x2
64-CTU.mkv'. Check the log for details. )

What version of the product are you using?
0.5.3

On what operating system?
Tested on XP SP3 and Win 7

Please provide any additional information below.
VLC Seems to fall over when it gets a "NOT_IMPLEMETED" Error from the OS when 
it attempts to make a request for FileAllInformation.
This works when the VLC is pointed directly at the Mount, Just not when the 
Mount is accessed via a standard windows share.

See the log file from VLC (Not really useful)

Original issue reported on code.google.com by smurf...@gmail.com on 4 Dec 2010 at 10:42

Attachments:

GoogleCodeExporter commented 9 years ago
For more information see "http://liquesce.codeplex.com/workitem/7812"

Original comment by smurf...@gmail.com on 4 Dec 2010 at 10:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
2 files, 1 showing VLC Access to a Windows Direct Share, the other showing what 
happens when the share is on the Dokan Mount

Original comment by smurf...@gmail.com on 4 Dec 2010 at 11:21

Attachments:

GoogleCodeExporter commented 9 years ago
Solved by this:

It seems that this is something to do with SMB 1 opportunistic locking.
The Liquesce service that is feeding the XP client will need to have the 
following registry key REG_DWORD value set to 0:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Ena
bleOplocks

See the following for an explanation of the setting: 
http://support.microsoft.com/kb/296264

Original comment by smurf...@gmail.com on 29 Apr 2012 at 5:53