Kodi Community Forum

Full Version: xbmc ftp protocol pre-loding 5M chunk of data before it start playing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there way I can turn off downloading last 5M of data before it start playing from remote site ?

I'm not sure what's the purpose of downloading it but this makes
slow start up on slow line because each video has to get last 5M or more
data has to be download before it start playing..

Please see attched filezilla log.
I started spongebob at 9:51:09 but it it actually started at 9:51:31


(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 230 Logged on
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> PWD
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 257 "/" is current directory.
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> CWD #US.TV.Kids.cartoons
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons" is current directory.
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> CWD SpongeBob.movies
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons/SpongeBob.movies" is current directory.
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> PASV
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 227 Entering Passive Mode (192,168,0,2,241,138)
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> TYPE I
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 200 Type set to I
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> SIZE SpongeBob SquarePants - Who Bob What Pants (2008).avi
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 213 734179328
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> REST 730457974
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 350 Rest supported. Restarting at 730457974
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> RETR SpongeBob SquarePants - Who Bob What Pants (2008).avi
(009785)3/16/2011 9:51:09 AM - sunny3 (216.*.*.*)> 150 Connection accepted, restarting at offset 730457974
(009785)3/16/2011 9:51:22 AM - sunny3 (216.*.*.*)> 226 Transfer OK
(009785)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> disconnected.
(009786)3/16/2011 9:51:23 AM - (not logged in) (216.*.*.*)> Connected, sending welcome message...
(009786)3/16/2011 9:51:23 AM - (not logged in) (216.*.*.*)> USER sunny3
(009786)3/16/2011 9:51:23 AM - (not logged in) (216.*.*.*)> 331 Password required for sunny3
(009786)3/16/2011 9:51:23 AM - (not logged in) (216.*.*.*)> PASS ******
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 230 Logged on
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> PWD
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 257 "/" is current directory.
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> CWD #US.TV.Kids.cartoons
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons" is current directory.
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> CWD SpongeBob.movies
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons/SpongeBob.movies" is current directory.
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> PASV
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 227 Entering Passive Mode (192,168,0,2,241,139)
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> TYPE I
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 200 Type set to I
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> SIZE SpongeBob SquarePants - Who Bob What Pants (2008).avi
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 213 734179328
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> REST 10252
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 350 Rest supported. Restarting at 10252
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> RETR SpongeBob SquarePants - Who Bob What Pants (2008).avi
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 150 Connection accepted, restarting at offset 10252
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 426 Connection closed; transfer aborted.
(009786)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> disconnected.
(009787)3/16/2011 9:51:23 AM - (not logged in) (216.*.*.*)> Connected, sending welcome message...
(009787)3/16/2011 9:51:23 AM - (not logged in) (216.*.*.*)> USER sunny3
(009787)3/16/2011 9:51:23 AM - (not logged in) (216.*.*.*)> 331 Password required for sunny3
(009787)3/16/2011 9:51:23 AM - (not logged in) (216.*.*.*)> PASS ******
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 230 Logged on
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> PWD
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 257 "/" is current directory.
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> CWD #US.TV.Kids.cartoons
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons" is current directory.
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> CWD SpongeBob.movies
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons/SpongeBob.movies" is current directory.
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> PASV
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 227 Entering Passive Mode (192,168,0,2,241,140)
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> TYPE I
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 200 Type set to I
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> SIZE SpongeBob SquarePants - Who Bob What Pants (2008).avi
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 213 734179328
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> REST 10256
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 350 Rest supported. Restarting at 10256
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> RETR SpongeBob SquarePants - Who Bob What Pants (2008).avi
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 150 Connection accepted, restarting at offset 10256
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> 426 Connection closed; transfer aborted.
(009787)3/16/2011 9:51:23 AM - sunny3 (216.*.*.*)> disconnected.
(009788)3/16/2011 9:51:24 AM - (not logged in) (216.*.*.*)> Connected, sending welcome message...
(009788)3/16/2011 9:51:27 AM - (not logged in) (216.*.*.*)> USER sunny3
(009788)3/16/2011 9:51:27 AM - (not logged in) (216.*.*.*)> 331 Password required for sunny3
(009788)3/16/2011 9:51:27 AM - (not logged in) (216.*.*.*)> PASS ******
(009788)3/16/2011 9:51:27 AM - sunny3 (216.*.*.*)> 230 Logged on
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> PWD
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> 257 "/" is current directory.
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> CWD #US.TV.Kids.cartoons
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons" is current directory.
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> CWD SpongeBob.movies
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons/SpongeBob.movies" is current directory.
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> PASV
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> 227 Entering Passive Mode (192,168,0,2,241,141)
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> TYPE I
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> 200 Type set to I
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> SIZE SpongeBob SquarePants - Who Bob What Pants (2008).avi
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> 213 734179328
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> REST 10252
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> 350 Rest supported. Restarting at 10252
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> RETR SpongeBob SquarePants - Who Bob What Pants (2008).avi
(009788)3/16/2011 9:51:29 AM - sunny3 (216.*.*.*)> 150 Connection accepted, restarting at offset 10252
(009788)3/16/2011 9:51:33 AM - sunny3 (216.*.*.*)> 426 Connection closed; transfer aborted.
(009788)3/16/2011 9:51:33 AM - sunny3 (216.*.*.*)> disconnected.
(009789)3/16/2011 9:51:33 AM - (not logged in) (216.*.*.*)> Connected, sending welcome message...
(009789)3/16/2011 9:51:33 AM - (not logged in) (216.*.*.*)> USER sunny3
(009789)3/16/2011 9:51:33 AM - (not logged in) (216.*.*.*)> 331 Password required for sunny3
(009789)3/16/2011 9:51:33 AM - (not logged in) (216.*.*.*)> PASS ******
(009789)3/16/2011 9:51:33 AM - sunny3 (216.*.*.*)> 230 Logged on
(009789)3/16/2011 9:51:33 AM - sunny3 (216.*.*.*)> PWD
(009789)3/16/2011 9:51:33 AM - sunny3 (216.*.*.*)> 257 "/" is current directory.
(009789)3/16/2011 9:51:34 AM - sunny3 (216.*.*.*)> CWD #US.TV.Kids.cartoons
(009789)3/16/2011 9:51:34 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons" is current directory.
(009789)3/16/2011 9:51:34 AM - sunny3 (216.*.*.*)> CWD SpongeBob.movies
(009789)3/16/2011 9:51:34 AM - sunny3 (216.*.*.*)> 250 CWD successful. "/#US.TV.Kids.cartoons/SpongeBob.movies" is current directory.
(009789)3/16/2011 9:51:34 AM - sunny3 (216.*.*.*)> PASV
(009789)3/16/2011 9:51:34 AM - sunny3 (216.*.*.*)> 227 Entering Passive Mode (192,168,0,2,241,142)
you can try turning off the cache and you'll be very disappointed. yes, it's needed, in particular for such a horrible protocol (for streaming) as ftp.
Why does cache loads last part of video in advance ?
If it's used as cache, shouldn't it load beginning part ?

Adjusting cache in advancedsettings seems not effecting this behavior
nor th other cache setting for video file.

<network>
<cachemembuffersize>5242880</cachemembuffersize> <!-- number of bytes used for buffering streams ahead in memory
</network>
because those files (=.avi's) have the index at the end.
I guess you're right..
I just tested with half download avi file which has missing index at the end of file and this file started immediately but of course seeking function in xbmc make it hangs due to missing index I guess.