From 382d5afc7e2ac24f67b7c891328b8b9bb7e91058 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 13 Jul 2021 23:14:20 -0300 Subject: timestamp files!!! --- todo.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index ed7c830..e7a2e31 100644 --- a/todo.txt +++ b/todo.txt @@ -579,3 +579,19 @@ TODO: "Challenge 1 (Tricks)" etc in FP World 3 are "Challenge (Tricks)"! Bad. TODO: Pressing next track (shift+N) on the last track should start the first track, if the queue is being looped. + +TODO: Timestamp files. Oh heck yes. + (Done!) + +TODO: Show the current chunk of a track you're on according to its timestamps, + in both the queue and the main listing! (Put the playing indicator next + to both the track itself and the timestamp element.) + + Possibly tricky, but try to make this tie in with the "time since/until" + indicator thingies at the bottom of the queue listing element too! + +TODO: Some kind of timestamp indicator in the progress bar area??? E.g, name + of the current timestamp, and MAYBE some kind of visual breakup of the + progress bar itself? + +TODO: Timestamp editing within mtui itself????????? -- cgit 1.3.0-6-gf8a5 From ee9ba81c076b7986e8fe752b3badbc6a8b7aec50 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 17 Jul 2021 20:32:57 -0300 Subject: show playback icon next to current timestamp --- todo.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index e7a2e31..f41609b 100644 --- a/todo.txt +++ b/todo.txt @@ -595,3 +595,9 @@ TODO: Some kind of timestamp indicator in the progress bar area??? E.g, name progress bar itself? TODO: Timestamp editing within mtui itself????????? + +TODO: Automatically expand/collapse timestamp lists in the queue sidebar! + +TODO: Apparently, seeking to a timestamp under a previous track in the queue + doesn't respect the current queue order (i.e. it sticks the track after + the current track). Definitely a bug! -- cgit 1.3.0-6-gf8a5 From a55e2dda6b7cd2e413445964f44a98a8a07058a7 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 17 Jul 2021 20:37:08 -0300 Subject: fix playOrSeek messing with queue order --- todo.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index f41609b..ad1ebac 100644 --- a/todo.txt +++ b/todo.txt @@ -601,3 +601,4 @@ TODO: Automatically expand/collapse timestamp lists in the queue sidebar! TODO: Apparently, seeking to a timestamp under a previous track in the queue doesn't respect the current queue order (i.e. it sticks the track after the current track). Definitely a bug! + (Done - fixed!) -- cgit 1.3.0-6-gf8a5 From 8f0ccabc8b12465771f770508fd0786baf49a518 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 17 Jul 2021 21:18:59 -0300 Subject: show relative timestamp info in queue sidebar! --- todo.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index ad1ebac..dadbca7 100644 --- a/todo.txt +++ b/todo.txt @@ -589,6 +589,7 @@ TODO: Show the current chunk of a track you're on according to its timestamps, Possibly tricky, but try to make this tie in with the "time since/until" indicator thingies at the bottom of the queue listing element too! + (Done - both parts!) TODO: Some kind of timestamp indicator in the progress bar area??? E.g, name of the current timestamp, and MAYBE some kind of visual breakup of the -- cgit 1.3.0-6-gf8a5 From c30367f90211e6cfa61482bb68f829ee210e5cb6 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 17 Jul 2021 21:43:22 -0300 Subject: auto expand/collapse timestamps (for SQP) --- todo.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index dadbca7..f8202c2 100644 --- a/todo.txt +++ b/todo.txt @@ -598,8 +598,12 @@ TODO: Some kind of timestamp indicator in the progress bar area??? E.g, name TODO: Timestamp editing within mtui itself????????? TODO: Automatically expand/collapse timestamp lists in the queue sidebar! + (Done!) TODO: Apparently, seeking to a timestamp under a previous track in the queue doesn't respect the current queue order (i.e. it sticks the track after the current track). Definitely a bug! (Done - fixed!) + +TODO: Next/previous buttons should seek between timestamps if there are more + within the same track. -- cgit 1.3.0-6-gf8a5 From be3c0c9d03c8257237121bfd89acf25dec36ff48 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 17 Jul 2021 22:04:46 -0300 Subject: make next/previous buttons pay heed to timestamps! --- todo.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index f8202c2..fa437df 100644 --- a/todo.txt +++ b/todo.txt @@ -607,3 +607,9 @@ TODO: Apparently, seeking to a timestamp under a previous track in the queue TODO: Next/previous buttons should seek between timestamps if there are more within the same track. + (Done!) + +TODO: Should skipping back to a previous track with timestamps automatically + seek to the final timestamp within that track? I'm undecided, but at the + moment leaning *slightly* towards "no". I may be biased due to it is + harder to code that behavior though! :P -- cgit 1.3.0-6-gf8a5 From 4e0cb3a38deb8600cbcacb3f87b9e6dba8930aa1 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 6 Aug 2021 15:42:38 -0300 Subject: order: alphabetize order of groups --- todo.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index fa437df..7e5fa1c 100644 --- a/todo.txt +++ b/todo.txt @@ -613,3 +613,16 @@ TODO: Should skipping back to a previous track with timestamps automatically seek to the final timestamp within that track? I'm undecided, but at the moment leaning *slightly* towards "no". I may be biased due to it is harder to code that behavior though! :P + +TODO: The timestamp comment regex should probably skip dashes and other common + punctuation between the timestamp itself and the comment! + +TODO: Pressing ^L to locate the currently playing track (in the queue listing) + should focus the current timestamp, if there is one. + +TODO: I don't think "jump to" (/) works with timestamp items, lol. + +TODO: "Alphabetize order of groups" order option. Listen to the releases of + an artist, or your whole library, alphabetically - or prefix group names + with the date of release and play works chronologically! Or do whatever + other shenanigansy inline metadata you like. -- cgit 1.3.0-6-gf8a5 From 341a34320e89ed1ebc29c5a9c8675d18dd02e185 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 6 Aug 2021 15:57:42 -0300 Subject: reveal in queue --- todo.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index 7e5fa1c..3b29b7e 100644 --- a/todo.txt +++ b/todo.txt @@ -626,3 +626,8 @@ TODO: "Alphabetize order of groups" order option. Listen to the releases of an artist, or your whole library, alphabetically - or prefix group names with the date of release and play works chronologically! Or do whatever other shenanigansy inline metadata you like. + (Done!) + +TODO: "Reveal in queue" option in the context menu for tracks that are part of + the queue! Also, rename existing "Reveal" option to "Reveal in library". + (Done!) -- cgit 1.3.0-6-gf8a5 From 864b45520acae62962a10f335eab3950ed84c6fc Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 6 Aug 2021 18:27:44 -0300 Subject: get fractional playback pos & duration from mpv This fixes a side-effect of timestamp files with fractional timestamps: mtui always used to assume it was at .000 of the current second, so it would briefly highlight the previous timestamp before completely passing the second the timestamp starts within. --- todo.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index 3b29b7e..290b8c0 100644 --- a/todo.txt +++ b/todo.txt @@ -631,3 +631,6 @@ TODO: "Alphabetize order of groups" order option. Listen to the releases of TODO: "Reveal in queue" option in the context menu for tracks that are part of the queue! Also, rename existing "Reveal" option to "Reveal in library". (Done!) + +TODO: Timestamps which have a timestampEnd property (all of them I think?) + should display their duration in the right column. -- cgit 1.3.0-6-gf8a5 From f147a47164ab5fbe37e96d0b27e2e769efa7cdfe Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 14 Aug 2021 00:46:57 -0300 Subject: json todo --- todo.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index 290b8c0..af31659 100644 --- a/todo.txt +++ b/todo.txt @@ -634,3 +634,6 @@ TODO: "Reveal in queue" option in the context menu for tracks that are part of TODO: Timestamps which have a timestampEnd property (all of them I think?) should display their duration in the right column. + +TODO: Read timestamps as JSON when the file extension is .json. (Right now + any .timestamps.json file is ignored!) -- cgit 1.3.0-6-gf8a5 From ec0b00d62f5fe02248de71552f5cd3d76589295c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 10 Oct 2021 10:46:23 -0300 Subject: "Loop mode" option: no loop, loop, shuffle This also reorganizes the menubar options a little. --- todo.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index af31659..90ed41b 100644 --- a/todo.txt +++ b/todo.txt @@ -637,3 +637,14 @@ TODO: Timestamps which have a timestampEnd property (all of them I think?) TODO: Read timestamps as JSON when the file extension is .json. (Right now any .timestamps.json file is ignored!) + +TODO: "Remove from queue" seems to always restore the cursor to a non-timestamp + input. This might be an issue with other queue-modifying actions too! + +TODO: The "From: " text in the playback info element *does* cut + off its text in an attempt to not go outside the screen bounds... but it + goes over the info pane edges anyway, so there's probably a math issue + there. + +TODO: "Play later" has a slight chance of keeping the track in the same place, + which is accentuated when there's only a couple tracks left in the queue. -- cgit 1.3.0-6-gf8a5 From fc1da6ee8ea604f1f6fcf2d0c82775fc7eeb8e32 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 10 Oct 2021 10:58:36 -0300 Subject: update controls to loop queue on last track --- todo.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index 90ed41b..a6ce5ef 100644 --- a/todo.txt +++ b/todo.txt @@ -577,8 +577,9 @@ TODO: "BAM #45.3 - no" displays as "BAM #45.no" in the queue? Seems wrong! TODO: "Challenge 1 (Tricks)" etc in FP World 3 are "Challenge (Tricks)"! Bad. (Done!) -TODO: Pressing next track (shift+N) on the last track should start the first - track, if the queue is being looped. +TODO: Pressing next track (N) on the last track should start the first track, + if the queue is being looped. + (Done!) TODO: Timestamp files. Oh heck yes. (Done!) -- cgit 1.3.0-6-gf8a5 From e8a55f10dd9749ad240b165e318db0a1d2f00a9a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 1 Jun 2022 23:35:03 -0300 Subject: miscellaneous improvements to queue looping --- todo.txt | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index a6ce5ef..b10c614 100644 --- a/todo.txt +++ b/todo.txt @@ -649,3 +649,44 @@ TODO: The "From: " text in the playback info element *does* cut TODO: "Play later" has a slight chance of keeping the track in the same place, which is accentuated when there's only a couple tracks left in the queue. + +TODO: "Loop mode" should be an option under the Queue menu, not Playback. + (Done!) + +TODO: "Loop mode" setting should be displayed in the queue's length label! + Probably on the same line as ex. "2 / 3", and only when the currently + playing track is selected. + (Done!) + +TODO: "Clear past current" and "clear up to current" should probably be visible + from the Queue menu! + +TODO: The queue length lebel is kinda busy, and doesn't fit everything so well + on thinner screens. That should get checked out! + (Done!) + +TODO: When the last track in the queue finishes playing and the queue is set to + shuffle, the currently selected index in the queue listing won't be moved + to the new first track (so, reset to zero). The cursor just ends up on + whatever track had been the last in the queue (which is obviously now in + some random location - even possibly the first track, but usually not). + I have a feeling this is the result of shuffling first - which updates + the selected index to go to wherever the last track ended up - and then + playing the first track, but not moving the cursor back to the start + because it's apparently not at the end anymore. But I could be totally + misremembering how this code works. :P --- Nope not even related LOL. + Good guess though! We don't even have to worry about that situation, with + the way selecting the new playing track works. It checks against the + track which *was* playing... but that was getting cleared to make the + shuffle work properly (applying to the whole queue instead of just the + stuff past the current track, which is nothing when you're at its end). + Now we just use a flag to ignore the current playback position. Since the + currently playing track is retained for the 'playing track' event, the + existing code does the rest of the work and selects the newly playing + track (whatever's been shuffled to the start) all on its own! + (Done!) + +TODO: Apparently pressing any key while the UI is booting up will make the + screen totally black and unresponsive (and apparently inactive) until the + screen is resized. I think we're interrupting a control sequence somehow, + and that isn't being handled very well? -- cgit 1.3.0-6-gf8a5 From 43f1a1dd1b44065663a797603012394c52a9baea Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 13 May 2023 13:31:58 -0300 Subject: use ESM module syntax & update tui-lib Exciting update! This doesn't make any substantial changes exactly but does update the most quickly-archaic parts of older Node code. --- todo.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index b10c614..4c93789 100644 --- a/todo.txt +++ b/todo.txt @@ -690,3 +690,9 @@ TODO: Apparently pressing any key while the UI is booting up will make the screen totally black and unresponsive (and apparently inactive) until the screen is resized. I think we're interrupting a control sequence somehow, and that isn't being handled very well? + +TODO: Pressing escape while you've got items selected should deselect those + items, rather than stop playback! ...Or SHOULD IT??? Well, yes. But it's + still handy to not be locked out of stopping playback altogether. + Alternative: clear the selection (without stopping playback) only if the + cursor is currently on a selected item. -- cgit 1.3.0-6-gf8a5