Ftp-client big files size problem, unless inside rar-archive
#1
Hello,

I have verified this as a problem on:
xbmc 9.11Alpha2 on Windows.
xbmc 9.04 on xbox

When using xbmc built-in ftp-client to browse a ftp-server, files with a large size are not shown correctly. The filesize is presented as a few hundred megabytes, when the file in reality is 4,5 GB.

I can succesfully stream the movie if the 4,5GB dvd-image file is located inside a multi-file rar-archive on my ftp-server. But if the same .img-file IS NOT inside the rar-archive on the ftp-server, streaming the dvdr movie does not work. Often, the dvd-menu appear, but Im unable to start any chapter of the movie.

If I use other ftp clients to access the same file on a ftp-server (not using xbmc ftpclient), the problem does not exist.
If I use xbmc and access the same file using a CIFS-share on the server, the problem does not exist.
If I use xbmc and acess the same file inside a rar-archive on a ftp-server, the problem does not exist.

I think xbmc ftp-client have a problem with large files, can someone confirm this or even better, improve this?

Please let me know if I can help or provide further details.
This problem should be very easy to reproduce.

(Yes, I know ftp is not the best suited protocoll for streaming content.)

Many thanks for a GREAT product.

Debug log below:
13:03:39 T:2588 M:1262297088 DEBUG: CApplication::OnKey: 61453 pressed, action is 7
13:03:39 T:2588 M:1262284800 DEBUG: CGUIMediaWindow::GetDirectory (ftp://username:[email protected]/)
13:03:39 T:2588 M:1262284800 DEBUG: ParentPath = [ftp://username:[email protected]/Disk8/]
13:03:39 T:2588 M:1262284800 DEBUG: FileCurl::Open(0012D5A0) ftp://username:[email protected]%2dAnGie/
13:03:43 T:2588 M:1262309376 DEBUG: FileCurl::Close(0012D5A0) ftp://username:[email protected]%2dAnGie/
13:03:43 T:2588 M:1262309376 DEBUG: Saving fileitems [ftp://username:[email protected]/]
13:03:43 T:2588 M:1262309376 DEBUG: -- items: 1, sort method: 0, ascending: false
13:03:43 T:5956 M:1262276608 DEBUG: thread start, auto delete: 0
13:03:43 T:2364 M:1262415872 DEBUG: thread start, auto delete: 1
13:03:43 T:5956 M:1261969408 DEBUG: Thread 5956 terminating
13:03:43 T:2364 M:1261752320 DEBUG: host name = my.ftpserver.com
13:03:43 T:2588 M:1262411776 DEBUG: Clearing cached fileitems [ftp://username:[email protected]/]
13:03:48 T:2588 M:1261907968 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0



using the Windows ftp-command (file size is 4651057152 bytes)
ftp> dir
200 PORT Command successful.
150 Opening ASCII mode data connection
drw-rw-rw- 1 user group 0 Apr 5 2009 .
drw-rw-rw- 1 user group 0 Apr 5 2009 ..
-rw-rw-rw- 1 user group 4651057152 Aug 26 2008 [email protected]
226 Transfer complete. 234 bytes transferred. 0,23 KB/sec.
ftp: 234 bytes received in 0,00Seconds 234000,00Kbytes/sec.
ftp>

Using xbmc,the following is shown in the GUI (note: wrong file size):

[email protected] 339.6 MB

XBMC Screenshot is available here:
http://rapidshare.com/files/306413858/xb...t.JPG.html
Reply
#2
Devs typically prefer a full debug log. See my sig for how to post a problem.
Reply
#3
Hello.

Thanks, I have uploaded the complete debug log here:
http://rapidshare.com/files/306423251/xbmc.log.html
Reply
#4
I tested opengl windows build 25010.
I have not yet tested on xbox, will do tonight.

Now the problem I had is solved. FTP streaming works when the dvd-movie image file is a standard img or iso-file. Before, this only worked when the same file was located inside a multi-file rar-archive.

The filesize is still shown wrong in the gui, but playback now works Smile
I should add: I don´t care about the shown filesize.

I tested this because I noticed the below ticket had been fixed.
vdrfan, from this day you are officially my hero.

Many thanks

Revision: 24894
Author: vdrfan
Date: 11:00:40 AM, Sunday, November 22, 2009
Message:
fixed: Ticket #7703 - ISO videos wont play when using FTP
Reply
#5
You're welcome Wink
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
Ftp-client big files size problem, unless inside rar-archive0