Commit Graph

242 Commits

Author SHA1 Message Date
Keith Edmunds
747f28f4f9 WIP: track ending signal 2025-04-14 19:18:26 +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
11400536b5 test_file_importer tests pass 2025-04-13 12:22:41 +01:00
Keith Edmunds
a8791f925d All test_playlistmodel tests pass 2025-04-13 10:17:58 +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
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
f9c8541b17 WIP: moving to signals 2025-04-08 16:11:39 +01:00
Keith Edmunds
f3b1e05e83 WIP Remove repository.py dependency on helpers.py 2025-04-05 16:32:31 +01:00
Keith Edmunds
c182a69a5d WIP: remove session from playlistmodel 2025-04-04 18:54:46 +01:00
Keith Edmunds
4eaab98745 WIP: progressing no sessions in app files 2025-04-04 16:19:17 +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
3cd764c893 WIP: moving rows within playlist works 2025-03-29 18:20:38 +00:00
Keith Edmunds
4e89d72a8f WIP: move within playlist tests working 2025-03-29 18:20:38 +00:00
Keith Edmunds
6296566c2c WIP: Can play tracks without errors 2025-03-29 18:20:38 +00:00
Keith Edmunds
3db71a08ae WIP remove sessions, use reporistory 2025-03-29 18:20:38 +00:00
Keith Edmunds
7b0e2b2c6c WIP: playlists load, can't play track 2025-03-29 18:20:38 +00:00
Keith Edmunds
4265472d73 Keep track of selected rows in model 2025-03-29 18:20:38 +00:00
Keith Edmunds
c94cadf24f WIP: Use PlaylistRowDTO to isolate SQLAlchemy objects 2025-03-29 18:20:38 +00:00
Keith Edmunds
ca4c490091 Add log_call decorator and issue 287 logging 2025-03-29 18:19:14 +00:00
Keith Edmunds
c9ff1aa668 Improver performance loading playlists 2025-03-09 19:23:55 +00:00
Keith Edmunds
4e51b44b44 More work on data() return types 2025-03-09 16:40:19 +00:00
Keith Edmunds
74402f640f Only invalidate required roles 2025-03-08 21:36:09 +00:00
Keith Edmunds
963da0b5d0 No db calls when servicing data() except for caching 2025-03-08 21:30:37 +00:00
Keith Edmunds
85493de179 Remove profiling decorators 2025-03-08 12:03:47 +00:00
Keith Edmunds
2f8afeb814 WIP Issue 285 2025-03-08 12:02:07 +00:00
Keith Edmunds
6dd34b292f Improve ApplicationError reporting 2025-03-07 15:44:21 +00:00
Keith Edmunds
ccc1737f2d Issue 285: additional logging and profiling 2025-03-07 09:30:23 +00:00
Keith Edmunds
911859ef49 Show red start in tab of templates 2025-02-23 17:24:47 +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
53664857c1 "=" header fixes
Fixes: #276
2025-02-14 21:45:23 +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
92e1a1cac8 New FileImporter working, tests to be written 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
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
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
e5dc3dbf03 Fix adding duplicate track and merging comments
Fixes #271
2024-12-26 15:05:07 +00:00