2008-03-15, 00:27
Well, I got it, but it looks bad. What it does is:
1. get some more details on the file and find the location of the pieces (that is bad) file.
2. open the pieces file
3. download each piece into a single file
And then you have your file download. Now that sound good. However, it isn't and this is why:
The files (flv) consist of a number of 256kb large files. So if a flv has size 350MB (normal episode), it would contain: (350MB*1024kb/MB)/(256kb) = (358400kb)/(256kb) = 1400 pieces!!!! Now as a normal episode lasts about 45 minutes, that would mean that every piece would last 45mins*60s/1400 = 1.92 seconds!
So in my opinion it is NOT POSSIBLE to stream the files using XBMC. UNLESS MPlayer or DVDPlayer can play files while they are being downloaded. In that case I would start downloading all parts in a single (cache) file on the HD, after 10 or 20 parts are downloaded, I would start the playback of the file, and keep downloading until completed and hope that the playback would continue.
Could a DEV tell me if DVDPlayer/MPlayer is capable of that?
1. get some more details on the file and find the location of the pieces (that is bad) file.
2. open the pieces file
3. download each piece into a single file
And then you have your file download. Now that sound good. However, it isn't and this is why:
The files (flv) consist of a number of 256kb large files. So if a flv has size 350MB (normal episode), it would contain: (350MB*1024kb/MB)/(256kb) = (358400kb)/(256kb) = 1400 pieces!!!! Now as a normal episode lasts about 45 minutes, that would mean that every piece would last 45mins*60s/1400 = 1.92 seconds!
So in my opinion it is NOT POSSIBLE to stream the files using XBMC. UNLESS MPlayer or DVDPlayer can play files while they are being downloaded. In that case I would start downloading all parts in a single (cache) file on the HD, after 10 or 20 parts are downloaded, I would start the playback of the file, and keep downloading until completed and hope that the playback would continue.
Could a DEV tell me if DVDPlayer/MPlayer is capable of that?