hjy

Results 87 comments of hjy

https://aplayer.js.org/#/zh-Hans/

video progress thumbnail

https://www.npmjs.com/package/spdy lets try http2 ---------- express does not support h2 yet.

video number for zip

sort by read time store read history in different data structure clientUitl.js

tag fixing

onebook显示img folder只显示单层。其实该BFS,否则和zip显示不一致。 现在就是一个音乐文件夹,图片在表层。然后MP3在mp3子文件夹,要打开两个。特别迷惑。 现在所有和img folder相关的逻辑都是错的。因为img folder需要tree traversal才能获得相关全部信息。 但我又没办法所有文件夹都存到sql里面。因为init 扫描会很慢。 用户手动把folder打包成tar包会方便很多。 ![image](https://user-images.githubusercontent.com/3008723/106233963-b33df100-6232-11eb-95e3-9168d61aa58f.png)

所有sqlite文件整合成一个,就可以用sql join了。性能可能会有提升吧。 但其实数据量很小,其实现在这样也挺好。

现在sql全是宽表,都可以拆开。但有点麻烦。

``` module.exports.extractAll = async function (filePath, outputPath) { if (!global._has_7zip_) { throw "this computer did not install 7z" } const opt = ['x', filePath, `-o${outputPath}`, "-aos"]; // get7zipOption(filePath, outputPath); let...