Comments (5)
Android client contains such functionality, audioserver also allows to download full folder as .tar archive.
Caching in web client is quite complex problem - while there is a Cache API in modern browsers, HTML media player is not working with that, it uses it's own caching. It'll then probably require to use Web Audio API to use cached content - I think it's quite complex task in browser.
For sure it'll require complete rebuild of web client, which is something I'll not do in near future (probably never). Web client was created as simple front end to start with. More complex web client is of course possible and probably even desirable, but now lacking time and interest to do that.
from audioserve.
The front end I'm working on allows you to cache all the files.
Currently the way it works is on the overview page there is a download button, if it's pressed all the files are downloaded to Cache API. If the app is installed as a PWA then this cache is persistant, if it's not then it could be cleared up, I haven't tested how that will present itself yet. If you don't click the button and start playing, what I'm doing at the moment it downloading the first file putting it in cache, and playing the cached file (no issues with seeking playing the cached file), then when it gets to the next file it downloads that one into cache it and then plays, and so on. The plan is for those files to be cleared up when the book is finished (and to maybe download the next book when it's near the end of the file).
Once that is all working as it should I'll then put back the options to allow transcoding instead of downloading and caching, but that is less important for me.
The one slight wrinkle in that is single file m4b's as you would essentially need to download the whole file to start off with, so I'm not sure how I'm going to deal with that yet. On the current web client the file is essentially cut up into smaller files and streamed.
from audioserve.
from audioserve.
@wtanksleyjr - current version of audioserve already allows to download a folder in zip format without compression (that is default now, tar is still possible under program option)
from audioserve.
New client how enables to cache whole folder (similar to Android client).
Only requirement is to serve client securely so Service Worker is available.
from audioserve.
Related Issues (20)
- Dependency Dashboard
- Where to donate HOT 2
- Track skips when transcoding is enabled HOT 6
- New web client requires HTTPS HOT 3
- Error upgrading to v0.26.2 from v.0.24.1
- Build fails without feature folder-download HOT 3
- Local Linux build fails HOT 3
- Change document.title to current track name. HOT 2
- Some m4b files fail to play HOT 1
- Cover icons for client browsing and MediaSession HOT 2
- 0.20.0: "Error deserializing data from db tag for enum is not valid, found xxx" HOT 3
- Feature request: Mark audio files as "listened"/"completed" HOT 6
- iOS and mac decode problems HOT 4
- Rust Version too Low for Build HOT 2
- Audioserve android don't support nginx auth HOT 3
- Natural Ordering of files HOT 5
- ffprobe process HOT 2
- Artificially Low Limit on File Name Length HOT 5
- [ Feature Request ] package this as a Start9 Service HOT 2
- [Feature Request] Allow "Device Group" to be configured from an HTTP Header HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audioserve.