Keith Edmunds
40756469ec
WIP query tabs
2025-02-23 21:06:42 +00:00
Keith Edmunds
306ab103b6
Add favourite to queries table
2025-02-23 21:06:42 +00:00
Keith Edmunds
994d510ed9
Move querylistmodel from SQL to filter
2025-02-23 21:06:42 +00:00
Keith Edmunds
8b8edba64d
Add Filter class to classes
2025-02-23 21:06:42 +00:00
Keith Edmunds
678515403c
Guard against erroneous SQL statements in queries
2025-02-23 21:06:42 +00:00
Keith Edmunds
e6404d075e
Query searches working
...
More UI needed
2025-02-23 21:06:42 +00:00
Keith Edmunds
7c0db00b75
Create databases in dbmanager
2025-02-23 21:06:42 +00:00
Keith Edmunds
e4e061cf1c
Add open querylist menu
2025-02-23 21:06:42 +00:00
Keith Edmunds
61021b33b8
Fix hide played button
2025-02-23 21:06:42 +00:00
Keith Edmunds
a33589a9a1
"=" header fixes
...
Fixes : #276
2025-02-23 21:06:42 +00:00
Keith Edmunds
3547046cc1
Misc cleanups from query_tabs branch
2025-02-23 21:06:41 +00:00
Keith Edmunds
95983c73b1
Log to stderr timer10 stop/start
2025-02-23 21:06:41 +00:00
Keith Edmunds
499c0c6b70
Fix "=" header
...
Fixes : #276
2025-02-23 21:06:41 +00:00
Keith Edmunds
33e2c4bf31
Fix order of playdates on hover
...
Fixes : #275
2025-02-23 21:06:41 +00:00
Keith Edmunds
589a664971
New template from manage templates correctly marked in db
2025-02-23 17:34:23 +00:00
Keith Edmunds
67bf926ed8
Refactor musicmuster and template management
2025-02-23 17:28:03 +00:00
Keith Edmunds
040020e7ed
Refactor playlist management functions
2025-02-23 17:26:43 +00:00
Keith Edmunds
911859ef49
Show red start in tab of templates
2025-02-23 17:24:47 +00:00
Keith Edmunds
68bdff53cf
Move menu.yaml into app/
2025-02-23 09:20:30 +00:00
Keith Edmunds
632937101a
WIP dynamic menu for playlist
...
New playlist shows faves on submenu
2025-02-22 22:27:05 +00:00
Keith Edmunds
639f006a10
Add favourite to playlists
2025-02-22 20:23:07 +00:00
Keith Edmunds
9e27418f80
Remove queries table definition
...
It mistakenly was introduced to the wrong branch. It persists on the
query_tabs branch.
2025-02-22 20:13:44 +00:00
Keith Edmunds
c1448dfdd5
WIP: manage templates: template rows have different background
2025-02-22 19:42:48 +00:00
Keith Edmunds
5f396a0993
WIP: template management: new, rename, delete working
2025-02-22 19:16:42 +00:00
Keith Edmunds
e10c2adafe
WIP: template management: edit and delete working
2025-02-22 11:34:36 +00:00
Keith Edmunds
b0f6e4e819
Framework for dynamic submenus
2025-02-21 15:18:45 +00:00
Keith Edmunds
afd3be608c
Move menu definitions to YAML file
2025-02-21 14:16:34 +00:00
Keith Edmunds
aef8cb5cb5
Fix hide played button
2025-02-15 10:39:26 +00:00
Keith Edmunds
53664857c1
"=" header fixes
...
Fixes : #276
2025-02-14 21:45:23 +00:00
Keith Edmunds
c8b571b38f
Misc cleanups from query_tabs branch
2025-02-14 21:44:20 +00:00
Keith Edmunds
b3bd93d71c
Only have one db.create_all(), and that in dbmanager
2025-02-14 21:39:10 +00:00
Keith Edmunds
57ffa71c86
Log to stderr timer10 stop/start
2025-02-14 19:49:13 +00:00
Keith Edmunds
a8a38fa5b7
Fix "=" header
...
Fixes : #276
2025-02-14 19:38:06 +00:00
Keith Edmunds
24b5cb5fe0
Fix order of playdates on hover
...
Fixes : #275
2025-02-14 19:27:47 +00:00
Keith Edmunds
955bea2037
Query tabs WIP
2025-02-11 21:11:56 +00:00
Keith Edmunds
5ed7b822e1
Put menus in correct order
2025-02-11 19:55:07 +00:00
Keith Edmunds
b40c81e79a
Split UI into section files; remove infotabs
2025-02-11 18:18:25 +00:00
Keith Edmunds
7a98fe3920
Create queries table; set up cascade deletes
2025-02-07 16:58:26 +00:00
Keith Edmunds
6792b2a628
Better management of hiding played sections
...
Only scroll if top visible line is above current header.
2025-02-07 12:54:44 +00:00
Keith Edmunds
a3c405912a
Fixup logging when no module log.debug output specifed
2025-02-05 18:07:22 +00:00
Keith Edmunds
4e73ea6e6a
Black formatting
2025-02-05 17:46:16 +00:00
Keith Edmunds
c9b45848dd
Refine and fix file_importer tests
2025-02-05 17:43:38 +00:00
Keith Edmunds
5cae8e4b19
File importer - more tests
2025-02-01 22:11:01 +00:00
Keith Edmunds
f4923314d8
Remove spurious logging. Start 10ms timer at a better time.
...
The 10ms timer was paused for five seconds when starting a track to
avoid a short pause (issue #223 ). That fixed the problem. However, it
doesn't need to be started until the fade graph starts changing, so we
now don't start it until then. It's possible that this may help the
occasional 'slow to refresh after moving tracks' issue that has been
seen which may be caused by timer ticks piling up and needing to be
serviced.
2025-01-31 09:55:21 +00:00
Keith Edmunds
24787578bc
Tweaks to FileImporter and tests
2025-01-31 09:55:21 +00:00
Keith Edmunds
1f4e7cb054
Cleanup around new logging
2025-01-31 09:55:21 +00:00
Keith Edmunds
92e1a1cac8
New FileImporter working, tests to be written
2025-01-31 09:55:21 +00:00
Keith Edmunds
52a773176c
Refine module and function logging to stderr
2025-01-31 09:55:21 +00:00
Keith Edmunds
cedc7180d4
WIP: FileImporter runs but needs more testing
2025-01-31 09:55:21 +00:00
Keith Edmunds
728ac0f8dc
Add function name to console log output
2025-01-31 09:55:21 +00:00
Keith Edmunds
4741c1d33f
Make failure to connect to OBS a warning, not error
2025-01-31 09:55:21 +00:00
Keith Edmunds
aa52f33d58
Fixup new logging
2025-01-31 09:55:21 +00:00
Keith Edmunds
2f18ef5f44
Cascade deleted tracks to playlist_rows and playdates
2025-01-31 09:55:21 +00:00
Keith Edmunds
4927f237ab
Use locking when creating singleton
2025-01-31 09:55:21 +00:00
Keith Edmunds
3afcfd5856
Move to YAML-configured logging
2025-01-27 12:13:13 +00:00
Keith Edmunds
f9943dc1c4
WIP file_importer rewrite, one test written and working
2025-01-21 21:26:06 +00:00
Keith Edmunds
b2000169b3
Add index to notecolours
2025-01-18 11:02:56 +00:00
Keith Edmunds
5e72f17793
Clean up type hints
2025-01-17 21:35:29 +00:00
Keith Edmunds
4a4058d211
Import rewrite WIP
2025-01-13 15:29:50 +00:00
Keith Edmunds
3b71041b66
Remove profiling calls (again)
2025-01-10 20:37:49 +00:00
Keith Edmunds
d30bf49c88
Don't select unplayable track as next track
2025-01-10 20:27:26 +00:00
Keith Edmunds
3a3b1b712d
Much improved file importer
2025-01-10 19:50:53 +00:00
Keith Edmunds
85cfebe0f7
Fix crash importing files
2025-01-01 13:13:54 +00:00
Keith Edmunds
e23f6e2cc8
Make getting current row safer
2024-12-30 08:39:01 +00:00
Keith Edmunds
68e524594d
Recover from git cockup: reimplement template management
2024-12-29 18:34:44 +00:00
Keith Edmunds
a8931e8b2b
Remove references to 'deleted' column
2024-12-29 18:18:39 +00:00
Keith Edmunds
6c05ed8c6f
Revert "Implement template management"
...
This reverts commit 02c0c9c861 .
Bugfix to be added
2024-12-29 18:15:27 +00:00
Keith Edmunds
02c0c9c861
Implement template management
...
Allow template edits and deletions. Deletions are now true deletes,
not just flagged in database as deletes, and this applies to all
playlists. Includes schema changes to cascade deletes.
2024-12-29 18:06:31 +00:00
Keith Edmunds
72930605db
Implement File|New to create from template (possibly empty)
2024-12-29 14:32:32 +00:00
Keith Edmunds
712c965095
Clean up data structures in musicmuster.py
...
Replace self.playlists and self.selection with self.current and a new
Current() class
2024-12-28 17:16:19 +00:00
Keith Edmunds
4bff1a8b59
Update musicmuster to use self.selection
2024-12-28 12:53:19 +00:00
Keith Edmunds
e55fab71cf
Clean up direct references to playlist tab from musicmuster
2024-12-28 10:06:33 +00:00
Keith Edmunds
7ce07c1cc7
Handle hide sections/tracks better
2024-12-27 20:01:46 +00:00
Keith Edmunds
839467a5e3
Resove active/proxy model coding
2024-12-27 19:48:16 +00:00
Keith Edmunds
e5dc3dbf03
Fix adding duplicate track and merging comments
...
Fixes #271
2024-12-26 15:05:07 +00:00
Keith Edmunds
b14b90396f
Major update: correct use of proxy model
...
Fixes #273
2024-12-26 14:09:21 +00:00
Keith Edmunds
937f3cd074
Fix search
...
Fixed #272
2024-12-23 21:20:59 +00:00
Keith Edmunds
cb16a07451
Menu reorganised. Other minor cleanups.
2024-12-23 19:19:01 +00:00
Keith Edmunds
6da6f7044b
Add tooltip to radio buttons on import file choices
2024-12-22 17:26:33 +00:00
Keith Edmunds
a1709e92ae
Misc tidying
2024-12-22 15:23:22 +00:00
Keith Edmunds
b389a348c1
Remove mtime from Track
2024-12-22 15:23:04 +00:00
Keith Edmunds
4c53791f4d
Rewrite file importer
2024-12-22 15:22:21 +00:00
Keith Edmunds
d400ba3957
Make AudioMetadata a NamedTuple
2024-12-22 15:16:02 +00:00
Keith Edmunds
6e258a0ee2
Split music_manager from classes
2024-12-22 15:14:00 +00:00
Keith Edmunds
205667faa1
Tighten up AudacityController type hints
2024-12-22 15:11:30 +00:00
Keith Edmunds
d9abf72f6a
Fix section hiding
...
We were suppressing hiding when section contained previous track.
Now, when all are played, we hide.
2024-12-21 16:40:51 +00:00
Keith Edmunds
96807a945c
Resize rows in config-defined chunks
2024-12-17 20:55:25 +00:00
Keith Edmunds
b9cb7cc326
Fixup section hiding
2024-12-16 22:23:01 +00:00
Keith Edmunds
efde8fe7bc
Implement hiding played sections
2024-12-14 20:46:19 +00:00
Keith Edmunds
b16845f352
Add return type hint
2024-12-14 19:42:14 +00:00
Keith Edmunds
42b5c2413c
Fix "=" subtotal line
2024-12-14 17:34:46 +00:00
Keith Edmunds
2ce6eb95ed
Remove "ago" from last played string
2024-12-14 17:11:35 +00:00
Keith Edmunds
734960e0f3
Set row padding in preferences
2024-12-14 17:11:16 +00:00
Keith Edmunds
17d88ca8fe
Optionally remove colour codes from non-timing headers
2024-12-14 15:37:33 +00:00
Keith Edmunds
954b404031
Don't show deleted templates
2024-12-14 14:56:27 +00:00
Keith Edmunds
0391eed88e
Optionally remove header colour directives from header
2024-12-14 14:49:07 +00:00
Keith Edmunds
f7f4cdc622
Implement header row foreground colour
2024-12-14 12:01:41 +00:00
Keith Edmunds
cc01d04fb8
Remove section timing marks from displayed headers
2024-12-14 10:22:25 +00:00
Keith Edmunds
ac18773ebd
Merge branch 'dev'
2024-12-13 21:37:11 +00:00
Keith Edmunds
61dcf7fc91
Don't bring Audacity to focus when starting app
2024-12-13 12:54:48 +00:00