Page 1 of 1
Missing path to root directory in 2.0 ?
Posted: 22 Apr 2012 15:15
by martin
under 2.x:
Code: Select all
http://192.168.1.105:8080/requests/browse.xml?dir=c:\avi\
why there in first subdirectory missing item with path to root directory, as it was n 1.x ?!
Code: Select all
<element type="directory" size="0" date="Tue Jan 01 00:00:00 1980 " path="c:\\.." name=".." extension=""/>
It is next new amazing feature or bug ? How i can know browse whole PC, as was possible under 1.x, when is not returned this parameter ?
Re: Missing path to root directory in 2.0 ?
Posted: 23 Apr 2012 18:46
by VLC_help
Does Tools -> Messages (set Verbosity to 2) complain something when you send the request?
Re: Missing path to root directory in 2.0 ?
Posted: 23 Apr 2012 19:09
by martin
do not understand ...
it is nothing with Messages ... there missing this item in list of directory. You can compare from webbrowser it with vlc 1.x and 2.x. It is not in commands. VLC2 does not return it
Re: Missing path to root directory in 2.0 ?
Posted: 24 Apr 2012 19:47
by VLC_help
But messages would complain if it is e.g. issue with permissions.
Re: Missing path to root directory in 2.0 ?
Posted: 24 Apr 2012 22:12
by martin
why permission ? I can manually get list for root, when I put ...dir=c:\, whole Pc, when i put ...dir= , but when i am in dir=c:\avi , there is missing first item for going to c:\
Then i must make stupid routine for go to root. There in 1.x it works well and when i trying same for mounted disk on win PC (F:), there all works for 2.0.1 well too. Why not for local PC disk ?
It is new feature for local win PC disks or no ?
Re: Missing path to root directory in 2.0 ?
Posted: 25 Apr 2012 20:23
by VLC_help
HTTP interface in VLC 2.0.x and newer is made with LUA so it is not the same one as the one in VLC 1.1.x
I will test this during weekend
Re: Missing path to root directory in 2.0 ?
Posted: 29 Apr 2012 13:34
by VLC_help
At least my VLC 2.0.1 returns .. as first entry when it is possible (so dir=c:\ doesn't return it but dir=c:\softa does)
Code: Select all
<element type="dir" path="c:\softa/.." name=".." access_time="315525600" uid="0" creation_time="315525600" gid="0" modification_time="315525600" mode="16895" uri="file:///c:/softa%2F.." size="0"/>
Re: Missing path to root directory in 2.0 ?
Posted: 29 Apr 2012 18:13
by martin
1 ) Yes, but how get you then paths to all disk (whole computer) ?
2) Did you try with this
display list of items in root ?
Re: Missing path to root directory in 2.0 ?
Posted: 30 Apr 2012 20:44
by VLC_help
1. I can open feature request ticket for this during weekend.