Comments (2)
Hi, just an idea..
I don't know how ashuffle specifically works, but I assume that it performs a listallinfo on startup for every execution. One approach would be to save down that info and only do a check on startup if there is new info (like total number of tracks changed or if mpd has a mechanism for this).
from ashuffle.
That's not a bad idea. It could probably key off of the db_update
field of the stats
command. A big question for me, is how it would interact with filters. I'm not totally sure of the timing breakdown at startup, but it seems like we'd probably want to cache the filtered song set (the loaded "shuffle chain") which would depend on the filters passed at startup.
from ashuffle.
Related Issues (20)
- ashuffle adds multiple albums with the same title HOT 2
- --exclude artist <artist> album <album> excludes all of artist HOT 8
- Allow excludes to be passed in a file HOT 3
- Recent ARM binaries are actually x86-64 HOT 5
- Build from source failed on Pi-4 HOT 6
- Support reading from pipe for continuous adding of songs HOT 4
- Ashuffle does not stop when oneshot single mode is enabled HOT 10
- How to shuffle one song from each tag HOT 4
- Make ashuffle release binaries fully static
- Add a --retry option to wait for mpd HOT 1
- Make possible to exclude songs by its length
- ashuffle build failure due to subproject CMake target absl_crc_internal missing HOT 5
- Add *BSD cross build and/or cross test to CI
- Building v3.14.1 on OpenBSD 7.4 HOT 5
- Ashuffle stops when a file is not found HOT 1
- Playlist is restarted when a file is not found HOT 5
- ashuffle reverts to track mode on library update when `--group-by` provided. HOT 2
- Add something like a --daemonize flag HOT 4
- Automatically reconnect to MPD without exiting HOT 3
- Unofficial fedora builds 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 ashuffle.