In the case of bad network situation, Youku androidclient download video will be terminated, the user abandoned the download click to delete the task, switch to the network good situation to download, will show that the video is in the download queue, and then Clientui interface but nothing to see. Causes users to not be able to download at all.
In fact, Youku downloads are all in the form of read files.
In the Youku Android file directory there, (right now not to consider hanging on SD card and other storage optimization) is the memory device/youku/offinedata has a lot of download video directory, there is the time of the directory creation, pictures, flv form of diversity, info file, youku.m3u8 file
Download information (including download queue and so on is put in this directory), now delete this file, that is resolved.
Research and development should consider:
First, when the user deletes the download task, do I have the corresponding download task directory purged?
Second, when the app starts, there will usually be an asynchronous/synchronous initialization file (such as cleaning seven days, five days of data) of the code module, here can not add a few deleted/canceled download task directory I will help users clear?
Research and development The logic of one more step is to guarantee the user experience better
(original) Youku androidclient bug fix in download