From 0daee54085810797eea235b513b8357636cda49f Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 15 Jul 2017 11:45:55 -0400 Subject: Begin updating the playlist format --- todo.txt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index 39f1517..b2b443d 100644 --- a/todo.txt +++ b/todo.txt @@ -167,7 +167,7 @@ TODO: Figure out a way to make the same mpv process be reused, so that options TODO: Figure out how to stream audio data directly, or at least at a lower level (and stupider, as in "man git" stupid). -TODO: Validate paths in getDownloaderFor, maybe? +TODO: Validate local file paths in getDownloaderFor, maybe? TODO: Figure out the horrible, evil cause of the max listeners warning I'm getting lately.. current repro: play a bunch of files locally. @@ -183,3 +183,23 @@ TODO: Re-implement skip. TODO: Re-implement skip and view up-next track. (Done!) + +TODO: In the playlist downloader, we can't guarantee filenames - the OS likes + to do its own verification, e.g. by removing colons. Maybe we can use + sanitize file name? + (Done!) + +TODO: In the playlist downloader, it would be nice if we skipped past existing + files before trying to do any old files, so that the 'percent complete' + status is more accurate. After all, we might skip 20% of the total track + count because 20% were downloaded, and then we'd download one track, + which makes up 10%, and then the rest would still be downloaded, which + take up 70%. It would be better if we went from 0%, skipped ALL complete + tracks to get to 90%, then did the 10% for the downloaded tracks. + +TODO: Tracks should be able to contain more data than the title and downloader + argument, by being stored as objects instead of arrays. This would also + make it easier to implement things such as temporary state stored on + tracks by sticking Symbols onto the track objects. It'd be particularly + useful to store the original group path for tracks in flattenGroup, for + example. -- cgit 1.3.0-6-gf8a5