Bug Frodo Webdav broken?
#46
Just as an FYI, I was able to workaround this with the release version of Frodo on a Synology DSM webdav implementation by:

Log into the Synology through SSH with Putty,

Modify the following file:
/usr/syno/apache/conf/httpd-webdav.conf-sys

Change the line:
Options None

To:
Options Indexes

Then reboot the Synology.

This change allows webdav directory listing.
Reply
#47
(2013-02-19, 03:01)bradycl_98258 Wrote: Just as an FYI, I was able to workaround this with the release version of Frodo on a Synology DSM webdav implementation by:

Log into the Synology through SSH with Putty,

Modify the following file:
/usr/syno/apache/conf/httpd-webdav.conf-sys

Change the line:
Options None

To:
Options Indexes

Then reboot the Synology.

This change allows webdav directory listing.

Do you know what this function is calling in iis7.5 or how to solv it?

I have tryed directory browsing on/off with no result Sad

Edit :

Debugg information about the error in version 12(Frodo XBMCSetup-20130214-c7d89b0-master)
16:51:27 T:1700 DEBUG: CApplication::OnKey: return (0xf00d) pressed, action is Select
16:51:27 T:1700 DEBUG: CGUIMediaWindow::GetDirectory (dav://username:password@Server.url.here:80/)
16:51:27 T:1700 DEBUG: ParentPath = [sources://video/]
16:51:27 T:4208 DEBUG: CurlFile::Open(0968F228) http://server.url.here:80/
16:51:27 T:4208 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to http://server.url.here
16:51:27 T:4208 ERROR: XFILE::CDAVDirectory::GetDirectory - Unable to process dav directory (dav://username:password@Server.url.here:80/)
16:51:27 T:1700 ERROR: XFILE::CDirectory::GetDirectory - Error getting dav://username:password@Server.url.here:80/
16:51:27 T:1700 ERROR: CGUIMediaWindow::GetDirectory(dav://username:password@Server.url.here:80/) failed
16:51:27 T:1700 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
16:51:27 T:1700 DEBUG: ParentPath = []

Debugg information Version 11.0 (Eden) Where it works perfect
17:07:05 T:5676 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
17:07:05 T:5676 DEBUG: ParentPath = [sources://video/]
17:07:05 T:5952 DEBUG: Thread Background Loader start, auto delete: 0
17:07:05 T:5952 DEBUG: Thread Background Loader 5952 terminating
17:07:07 T:5676 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
17:07:07 T:5676 DEBUG: CGUIMediaWindow::GetDirectory (dav://username:password@Server.url.here:80/)
17:07:07 T:5676 DEBUG: ParentPath = [sources://video/]
17:07:07 T:3004 DEBUG: FileCurl::Open(0907F11C) http://server.url.here:80/
17:07:07 T:3004 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to http://server.url.here
17:07:07 T:5676 DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: SELECT * FROM tvshowview where c17=1
17:07:07 T:2948 DEBUG: Thread Background Loader start, auto delete: 0
17:07:07 T:2948 DEBUG: FileCurl::Open(0B31EDD0) http://server.url.here:80/HD%20MOVIES/
17:07:08 T:2948 DEBUG: Thread Background Loader 2948 terminating
17:07:09 T:5676 DEBUG: CWinEventsWin32::WndProcWindow is active
Reply
#48
Just a question, would it be possible for xbmc to automatically try basic and if that fails digest auth for webdav? Its kinda a pain to manually edit sources.xml. I can do it, sure - but not the relatives I want to share my stuff with over webdav Smile
Reply
#49
Support for digest authentication would be really great.

How hard would that be to implement?
Reply
#50
(2013-02-20, 10:02)aeugeln Wrote: Support for digest authentication would be really great.

How hard would that be to implement?

It is supported, look here - http://wiki.xbmc.org/index.php?title=HTTP. I was merely wondering if it could work without manually adding |auth=digest.
Reply
#51
(2013-02-19, 03:01)bradycl_98258 Wrote: Just as an FYI, I was able to workaround this with the release version of Frodo on a Synology DSM webdav implementation by:

Log into the Synology through SSH with Putty,

Modify the following file:
/usr/syno/apache/conf/httpd-webdav.conf-sys

Change the line:
Options None

To:
Options Indexes

Then reboot the Synology.

This change allows webdav directory listing.

This!

Thanks a lot! Worked for me in my initial testing. Now my plotting of the best library ever can continue!
Reply
#52
Hi,

I'm still having problems. I'm using OpenElec rc4 (built Feb. 11. 2013, GIT:fb595f2) on a Raspberry with an IIS8 (Server 2012E)
Source is accepted, but scan fails. No problems when accessing in browser. Directory listing is set.

Maybe the patch is not in this build?

Log snippet looks like this:

23:24:38 T:2925864032 WARNING: FillBuffer: curl failed with code 22
23:24:38 T:2925864032 ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
23:24:38 T:2925864032 ERROR: GetDirectory - Unable to get http directory
23:24:38 T:3043287040 ERROR: GetDirectory - Error getting https://name:[email protected]:443/test/folder/
23:24:38 T:3043287040 ERROR: CGUIDialogFileBrowser::GetDirectory(https://name:[email protected]:443/test/folder/) failed
23:24:42 T:2848978016 WARNING: FillBuffer: curl failed with code 22
23:24:42 T:2848978016 ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
23:24:42 T:2848978016 ERROR: GetDirectory - Unable to get http directory
23:24:42 T:3043287040 ERROR: GetDirectory - Error getting https://name:[email protected]:443/test/folder/
23:24:42 T:3043287040 ERROR: CGUIDialogFileBrowser::GetDirectory(https://name:[email protected]:443/test/folder/) failed
23:24:48 T:2857366624 WARNING: FillBuffer: curl failed with code 22
23:24:48 T:2857366624 ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
23:24:48 T:2857366624 ERROR: GetDirectory - Unable to get http directory
23:24:48 T:3043287040 ERROR: GetDirectory - Error getting https://name:[email protected]:443/test/folder/
23:24:48 T:3043287040 ERROR: CGUIDialogFileBrowser::GetDirectory(https://name:[email protected]:443/test/folder/) failed
23:25:21 T:2857366624 NOTICE: Thread Jobworker start, auto delete: true
23:25:22 T:2857366624 WARNING: FillBuffer: curl failed with code 22
23:25:22 T:2857366624 ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
23:25:22 T:2857366624 ERROR: GetDirectory - Unable to get http directory
23:25:22 T:3043287040 ERROR: GetDirectory - Error getting https://name:[email protected]:443/test/folder/
23:25:22 T:3043287040 ERROR: CGUIDialogFileBrowser::GetDirectory(https://name:[email protected]:443/test/folder/) failed
23:25:33 T:2857366624 WARNING: FillBuffer: curl failed with code 22
23:25:33 T:2857366624 ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
23:25:33 T:2857366624 ERROR: GetDirectory - Unable to get http directory
23:25:33 T:3043287040 ERROR: GetDirectory - Error getting https://name:[email protected]:443/test/folder/
23:25:33 T:3043287040 ERROR: CGUIDialogFileBrowser::GetDirectory(https://name:[email protected]:443/test/folder/) failed
Reply
#53
Change webdav server to apache and you will get it work.
Windows iis* webdav server dosent work with xbmc v12.

Pm me if you whant more info.
Reply
#54
Yeah, I kinda spoke too soon.

WebDAV and browsing files works on all my devices.

WebDAV and library only works on iOS, not Android or OpenELEC.

Haven't tested it on my Windows XBMC-installation but the files are always local to that machine so I don't really need it.

However, since it's working on the iPad my guess is that it's a bug which is probably ironed out in coming releases.

Here's to hoping!
Reply
#55
Well,

I installed Apache on 8080 and 8443. I cursed/learned a bit, and it works better, but not good enough.

The source is recognized and I can actually browse the folders and play the files in xbmc. Alas, when adding to library, xbmc hums a while but nothing gets added.
In the logs I can see it running through the folders and files, asking for mime types (I had to add flac...Smile ) but library does not appear.

Any ideas?

Thanks in advance
Reply
#56
Damned,

I was ready to take the challenge and look into the code. So I installed Frodo on a Win7 machine, to test and set the development environment up.
Guess what, my WebDAV setup worked fine on Win7, scanning and adding all the files to the library. Hrmphh...

Looks like it is an OpenElec and/or Raspberry Xbmc problem.

Makes debugging sort of more complex...

Now what...?
Reply
#57
Hmm,

this was thought as a no brainer labour of love thing for a relative. Just playing some mp3s. Keeps growing. :-)

I now tried my WebDAV source on my main system .Atom/Ion1 with OpenElec RC5 (Frodo).

It worked, but MUCH slower db scan than the XBMC on Windows 7.

That narrows it (to me at least) down to the Raspberry OpenElec/Xbmc implementation, not OpenElec in general.

Need to think about the above question... what now...
Reply
#58
Hey guys

I had some problems with openelec+frodo+secure webdav

What fixed it for me was adding the servername in my apache configs

<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
ServerName yoursite.yourdomain.com

Hope it helps someone
Reply
#59
Hi Steini,

thanks for the tip. I checked, but I have ServerName set. Having Apache side by side to IIS its running on por 8443, so its:
Servername yoursite.yourdomain.com:8443

Did you have WebDAV running on the Raspberry PI?
Reply
#60
Sorry i have not checked, my rasperry is at a friends house. Working on pc/linux/ipad/iphone/openelec/atv2 so i guess it works on the pi Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Frodo Webdav broken?0