Commit Graph

1391 Commits

Author SHA1 Message Date
Keith Edmunds
bf89172f8a Move definition of db into dbmanager 2025-04-16 21:01:35 +01:00
Keith Edmunds
9f234bb007 Fix segfault inserting tracks 2025-04-16 10:33:01 +01:00
Keith Edmunds
6fb6339843 Much improved row move implementation 2025-04-16 10:23:44 +01:00
Keith Edmunds
bf5563f2f1 Black changes 2025-04-16 10:23:17 +01:00
Keith Edmunds
8fa98a2207 Have model check for adding existing track 2025-04-15 21:22:07 +01:00
Keith Edmunds
e7af25ad6e Restore last open playlists in correct order 2025-04-15 18:24:56 +01:00
Keith Edmunds
d6bb3d04d8 Row edit updates now handled in PlaylistRow 2025-04-15 10:22:10 +01:00
Keith Edmunds
a0ded4b73d Handle signal_insert_track better. 2025-04-15 10:21:26 +01:00
Keith Edmunds
6496ea2ac4 Don't close when track playing; mark as played in playlist 2025-04-14 21:23:00 +01:00
Keith Edmunds
c61df17dd5 Mark playlist rows played in db 2025-04-14 20:09:14 +01:00
Keith Edmunds
747f28f4f9 WIP: track ending signal 2025-04-14 19:18:26 +01:00
Keith Edmunds
5f0da55a24 Remove old ui files 2025-04-14 12:52:59 +01:00
Keith Edmunds
498923c3b3 Connect up signal_insert_track 2025-04-14 09:45:06 +01:00
Keith Edmunds
b34e0a014a WIP: more database updates; all tests run 2025-04-13 19:49:05 +01:00
Keith Edmunds
f9c33120f5 Document and clean up signals 2025-04-13 18:05:00 +01:00
Keith Edmunds
ffb1b238f4 WIP: Make ds.track_update more generic 2025-04-13 16:34:37 +01:00
Keith Edmunds
83780bfb68 Clean up unused signals 2025-04-13 15:38:09 +01:00
Keith Edmunds
cd793f9668 WIP: fix ds names, tidy row moving 2025-04-13 15:17:01 +01:00
Keith Edmunds
7f3e235e9d All tests pass 2025-04-13 13:13:49 +01:00
Keith Edmunds
324dd770df test_ui tests pass 2025-04-13 12:59:26 +01:00
Keith Edmunds
11400536b5 test_file_importer tests pass 2025-04-13 12:22:41 +01:00
Keith Edmunds
d596792375 All test_queries tests pass 2025-04-13 10:29:54 +01:00
Keith Edmunds
a8791f925d All test_playlistmodel tests pass 2025-04-13 10:17:58 +01:00
Keith Edmunds
5317ecdf18 Remove sessions from test_misc.py 2025-04-13 09:21:36 +01:00
Keith Edmunds
a2baf489c3 Remove sessions from test_playlistmodel.py 2025-04-13 09:16:49 +01:00
Keith Edmunds
aec994bafd Rename ds functions; fix add track to header 2025-04-13 09:12:33 +01:00
Keith Edmunds
0c717241ff Command out @log_call decorators 2025-04-12 19:24:25 +01:00
Keith Edmunds
728d012257 WIP: working on tests 2025-04-12 19:16:09 +01:00
Keith Edmunds
ac685426d9 Implement NoteColoursDTO 2025-04-12 11:15:54 +01:00
Keith Edmunds
38c49b32d7 WIP: rename repository.py → ds.py 2025-04-12 11:15:21 +01:00
Keith Edmunds
9a6bb038e1 WIP: fix insert tracks from query at selected row 2025-04-12 10:31:11 +01:00
Keith Edmunds
0478e25109 Fix bug inserting multiple tracks from query 2025-04-12 09:28:22 +01:00
Keith Edmunds
199abc9c0c Fix showing tracks from queries 2025-04-11 17:13:03 +01:00
Keith Edmunds
f9c8541b17 WIP: moving to signals 2025-04-08 16:11:39 +01:00
Keith Edmunds
5e492f4569 WIP: sessions only in repository and mocels 2025-04-07 18:33:16 +01:00
Keith Edmunds
f3b1e05e83 WIP Remove repository.py dependency on helpers.py 2025-04-05 16:32:31 +01:00
Keith Edmunds
e71f1d072f Update environment 2025-04-05 15:52:34 +01:00
Keith Edmunds
c182a69a5d WIP: remove session from playlistmodel 2025-04-04 18:54:46 +01:00
Keith Edmunds
e39518e5ee WIP: remove sessions from file_importer 2025-04-04 18:52:31 +01:00
Keith Edmunds
4eaab98745 WIP: progressing no sessions in app files 2025-04-04 16:19:17 +01:00
Keith Edmunds
2fce0b34be WIP: clean up imports 2025-04-04 16:17:51 +01:00
Keith Edmunds
ed7ac0758c No more sessions in playlists!
Save/restore playlist column widths.
2025-03-30 13:55:17 +01:00
Keith Edmunds
098ce7198e Remove stack dump from ApplicationError dialog 2025-03-30 13:54:10 +01:00
Keith Edmunds
38b166737b WIP: add track to header
Logic works; playlistrow.py doesn't yet update database but prints a
message saying db needs to be updated.
2025-03-30 13:30:04 +01:00
Keith Edmunds
0ea12eb9d9 Clean up merge from dev 2025-03-30 12:05:41 +01:00
Keith Edmunds
75cc7a3f19 Merge changes from dev 2025-03-30 11:56:24 +01:00
Keith Edmunds
f64671d126 Improve function logging
Use @log_call decorator

Add 'checked' parameter to menu slots because PyQt6 will pass a
boolean 'checked' parameter even when the menu item can't be checked.

Remove superfluous logging calls.
2025-03-29 21:04:59 +00:00
Keith Edmunds
2bf1bc64e7 WIP: Unify function to move rows within/between playlists 2025-03-29 18:20:38 +00:00
Keith Edmunds
3c7fc20e5a Remove kae.py from git 2025-03-29 18:20:38 +00:00
Keith Edmunds
52d2269ece WIP: Move rows within and between playlists working 2025-03-29 18:20:38 +00:00