Keith Edmunds
c139215603
Improve drag and drop targetting
2024-06-22 21:52:08 +01:00
Keith Edmunds
21156d8fa1
Improve getting/setting of Settings
2024-06-16 08:16:24 +01:00
Keith Edmunds
909fb27bed
All preview/intro management working
2024-06-02 17:58:20 +01:00
Keith Edmunds
5278b124ca
WIP: implemented trackmanager, tracks play, clocks work
2024-06-02 11:57:45 +01:00
Keith Edmunds
8ea0a0dad5
WIP: moving player to PlaylistTrack. Player works.
2024-06-01 17:41:22 +01:00
Keith Edmunds
3d3df85845
PoC: added intro time display and editing
2024-05-25 09:29:03 +01:00
Keith Edmunds
45a22c47d0
Implement intro timing and countdown
2024-05-24 14:27:00 +01:00
Keith Edmunds
be0fc27896
Move player functionality into music.py
2024-05-06 15:55:51 +01:00
Keith Edmunds
f2db9967fb
Reduce stdout output
2024-05-04 02:08:00 +01:00
Keith Edmunds
e179e57459
Add required session.commit() calls
2024-04-27 21:56:11 +01:00
Keith Edmunds
7cd03d7a2b
Fix up db import
2024-04-27 21:52:31 +01:00
Keith Edmunds
16e3c8235e
V4 WIP: mostly Black formatting
2024-04-27 21:52:31 +01:00
Keith Edmunds
9d44642fea
Migrate to Alchemical
2024-04-27 21:52:28 +01:00
Keith Edmunds
6699d829e5
Resize rows on copy/paste
...
Fixes #226
2024-04-04 14:14:44 +01:00
Keith Edmunds
50b051a864
Improve resize rows speed
2024-03-22 14:21:37 +00:00
Keith Edmunds
90697652b0
Speed up row insertion
2024-03-21 16:57:37 +00:00
Keith Edmunds
609544ddd4
Implement random sort
2024-03-08 23:25:07 +00:00
Keith Edmunds
ab867c1a67
Logging changes to try to debug #223
2024-03-01 11:07:42 +00:00
Keith Edmunds
1753534e20
Allow canceling Audactity edit
...
Fixes #221
2024-02-23 17:30:01 +00:00
Keith Edmunds
c511bf053e
Rework Audacity initialisation
2024-02-10 15:51:23 +00:00
Keith Edmunds
42676789c1
Remove commented-out code
2024-01-19 10:27:53 +00:00
Keith Edmunds
128fe2925f
Disable selected row timing during move_unplayed
2024-01-12 10:36:05 +00:00
Keith Edmunds
84cf22a196
Escape double quotes in finlename for Audacity
2024-01-11 23:08:56 +00:00
Keith Edmunds
37711f883f
Rework Audacity import/export
2023-12-22 13:40:24 +00:00
Keith Edmunds
4b6c8b0634
Rewrite logging
...
Add lots of log.info() statements
2023-12-17 00:12:03 +00:00
Keith Edmunds
2432039b72
Best-efforts resize row heights on open
2023-12-16 12:37:41 +00:00
Keith Edmunds
74bdbe2975
Improve open in / import from Audacity
2023-12-16 12:34:23 +00:00
Keith Edmunds
f228a371f2
Ensure all rows correctly resized for height
2023-12-16 02:37:49 +00:00
Keith Edmunds
b74007119d
Name source and proxy models consistently
2023-12-16 02:36:16 +00:00
Keith Edmunds
d73bdb264d
Don't prompt user when editing if no changes made
2023-12-15 18:46:03 +00:00
Keith Edmunds
c6befd219c
Improve playlist load speed
2023-12-15 17:48:42 +00:00
Keith Edmunds
60c085ad12
Fix errors copy rows from search results
2023-12-14 18:20:16 +00:00
Keith Edmunds
bf438c3d99
Fix sometimes rows too tall after loading playlist
2023-12-14 18:12:00 +00:00
Keith Edmunds
0082f76b56
Rescan after Audacity
2023-12-08 20:54:37 +00:00
Keith Edmunds
83a817234d
Remotely open and save files in Audacity
2023-12-08 19:57:25 +00:00
Keith Edmunds
540846223b
WIP Audacity
2023-12-08 18:21:42 +00:00
Keith Edmunds
6985170378
Audacity class
2023-12-08 18:21:42 +00:00
Keith Edmunds
06ef175b46
Fix moving rows when played rows are hidden
...
Fixes #210
2023-12-08 13:35:22 +00:00
Keith Edmunds
243bc765f9
Clean up editing
...
No need to disable (and re-enable) play controls.
Fixes #191
2023-12-01 22:44:28 +00:00
Keith Edmunds
1b92b79cf0
Stop inadvertent editing of cell after cancelling search
2023-12-01 18:45:30 +00:00
Keith Edmunds
03f19dfb9c
Improve loading time for long playlists
...
Fixes #199
2023-12-01 17:08:13 +00:00
Keith Edmunds
c56e097f75
Merge v3
2023-12-01 09:56:52 +00:00
Keith Edmunds
30b836895e
Change intro gap warning to 300ms
2023-12-01 09:53:59 +00:00
Keith Edmunds
4816520343
Fix bug with unended timed section
2023-12-01 09:51:42 +00:00
Keith Edmunds
1502b10701
Fix (innocuous) mypy warning
2023-11-29 22:01:38 +00:00
Keith Edmunds
9cbdccb98b
V3 polish
2023-11-29 15:04:50 +00:00
Keith Edmunds
3af9bef3f6
V3: fix preview button behaviour
...
Was asking user to select a track when next track selected.
2023-11-29 08:02:14 +00:00
Keith Edmunds
1db3990cd6
V3: add note colouring
2023-11-29 07:57:36 +00:00
Keith Edmunds
6061b20398
V3 polish
2023-11-28 21:56:20 +00:00
Keith Edmunds
3179c6f5de
V3 tweaks and polishes
2023-11-28 14:29:09 +00:00
Keith Edmunds
0f1d5117cc
V3 tweaks
2023-11-27 22:44:20 +00:00
Keith Edmunds
4eabf4a02a
WIP V3: ready for testing
2023-11-27 21:46:19 +00:00
Keith Edmunds
b1442b2c7d
WIP V3: check track already present in playlist when adding
2023-11-27 20:55:24 +00:00
Keith Edmunds
3cab9f737c
WIP V3: click on current/next header scrolls to track
2023-11-27 16:16:33 +00:00
Keith Edmunds
04f0e95653
WIP V3: fix minor issues
2023-11-27 15:21:20 +00:00
Keith Edmunds
480c832852
WIP V3: implement searching with QSortFilterProxyModel (ooo!)
2023-11-26 15:22:01 +00:00
Keith Edmunds
23a9eff43b
WIP V3 wire in QSortFilterProxyModel
2023-11-23 18:28:10 +00:00
Keith Edmunds
25e3be6fae
WIP V3: add track to header working
2023-11-23 17:12:03 +00:00
Keith Edmunds
223fb3bdec
WIP V3: tests for moving rows between playlists pass
2023-11-22 16:57:16 +00:00
Keith Edmunds
e3d20c9bdc
WIP V3: cleanup
2023-11-20 11:24:12 +00:00
Keith Edmunds
88e638a56e
WIP V3: search wikipedia/songfacts from menu
2023-11-19 21:31:09 +00:00
Keith Edmunds
4f4408400f
WIP V3: info popup implemented
2023-11-19 03:11:03 +00:00
Keith Edmunds
f4a374f68c
WIP V3: select duplicate rows working
2023-11-19 03:09:58 +00:00
Keith Edmunds
199f0e27fa
WIP V3: fixup row insertion/deletion
...
All row insertions and deletions are now wrapped in beginRemoveRows /
endRemoveRows (and similar for insertions).
2023-11-17 22:17:47 +00:00
Keith Edmunds
93c5475a29
WIP V3: preview button works
2023-11-16 18:06:21 +00:00
Keith Edmunds
2861511f1f
WIP V3: remove functions, formatting
2023-11-16 00:08:12 +00:00
Keith Edmunds
a8aa157484
Remove lots of unuse functions from playlists.py
2023-11-15 23:54:06 +00:00
Keith Edmunds
71f3e4cda8
WIP V3: delete rows works
2023-11-15 23:40:48 +00:00
Keith Edmunds
9467ae4ee5
WIP V3: show selected time plus drag 'n' drop refinements
2023-11-15 22:37:42 +00:00
Keith Edmunds
de710b1dc7
WIP V3: start/end times, moving row bug
...
Start/end times now stored separately from self.playlist_rows. Moving
next row to above current row now works.
2023-11-15 20:09:00 +00:00
Keith Edmunds
d5871fe77f
WIP V3: context menu started
...
Sort by title implemented
2023-11-14 23:45:47 +00:00
Keith Edmunds
0d2dad9f3c
WIP V3: remove references to HEADER_NOTES_COLUMN in playlists.py
2023-11-12 22:36:17 +00:00
Keith Edmunds
6d648a56b7
WIP V3: fix editing headers rows
2023-11-08 18:34:10 +00:00
Keith Edmunds
a8ac67b9e3
V3 WIP Black
2023-11-05 08:03:02 +00:00
Keith Edmunds
a35905dee8
WIP V3: play track working
2023-11-03 15:16:27 +00:00
Keith Edmunds
e137045812
WIP V3: select next track works with caveats
...
Peformance isn't great
Selecting a non-existent track isn't caught
2023-11-01 22:53:25 +00:00
Keith Edmunds
d9ad001c75
Relayout files
...
Created classes.py and moved common classes to classes.py. Ordered
imports.
2023-11-01 19:08:22 +00:00
Keith Edmunds
15ecae54cf
Move MusicMusterSignals into helpers
2023-11-01 07:49:40 +00:00
Keith Edmunds
fedcfc3eea
WIP V3: Add track to header row implemented
2023-10-31 20:09:45 +00:00
Keith Edmunds
813b325029
Black reformatting, tidying
2023-10-31 08:15:24 +00:00
Keith Edmunds
734d5cb545
Make MusicMusterSignals a singleton class
...
Moved into datastructures.py
2023-10-31 08:14:34 +00:00
Keith Edmunds
3557d22c54
WIP V3: insert track works
2023-10-30 21:55:02 +00:00
Keith Edmunds
858c86d907
test_insert_header_row passes
2023-10-25 22:17:52 +01:00
Keith Edmunds
86a1678f41
WIP V3: move row initial tests working
...
More tests to write
2023-10-24 20:48:28 +01:00
Keith Edmunds
9d3e4b8d0c
V3 WIP Drag and drop partly implemented
...
UI works but outputs model changes needed to stdout
2023-10-22 22:53:59 +01:00
Keith Edmunds
95c7ccbf34
WIP V3: editing saves
2023-10-21 13:49:13 +01:00
Keith Edmunds
5d19d1ed9f
Move playlists_v3 to playlists
2023-10-21 11:07:25 +01:00
Keith Edmunds
2ca2471f5e
Fix bug where unable to preview first row of playlist.
2023-10-16 23:25:09 +01:00
Keith Edmunds
d57ffbdb09
Implement select duplicate rows
...
Fixes #157
2023-10-16 23:16:56 +01:00
Keith Edmunds
3e2293195a
Improve track creation in database
...
Pass all arguments to Tracks.__init__ on track creation
Smarten up metadata collecting
Reformat code
Reinstate stackprinter, but with more sensible settings (mostly
defaults, oddly enough)
2023-10-16 19:44:51 +01:00
Keith Edmunds
8cd8f80883
Shift-sort reverses sort
2023-10-15 22:46:32 +01:00
Keith Edmunds
3a612558e4
Set playlist column widths before populating playlist
...
Big speed improvment. Loading a 540 line playlist went from 0.445s to
0.264s.
2023-10-15 22:17:46 +01:00
Keith Edmunds
9ac2911a55
Typing and mypy fixes
2023-10-15 21:04:54 +01:00
Keith Edmunds
3513c32a62
Speed increases, more typing, cleanup
...
Pull all playlist row info in one database query when loading a
playlist.
Fixup some type hints in models.
Comment out stackprinter calls - they mostly get in the way
interactively.
2023-10-15 19:04:58 +01:00
Keith Edmunds
a8c5a56c1a
Implent subtotal times and unplayed time
2023-10-13 19:01:22 +01:00
Keith Edmunds
8cebf7829b
Save playlist after undoing sort
2023-10-12 18:44:01 +01:00
Keith Edmunds
c8a7ae7f73
Black formatting
2023-10-12 08:55:26 +01:00
Keith Edmunds
87ab973439
Implement playlist range sort and unsort
2023-10-12 02:43:17 +01:00
Keith Edmunds
06e457a3da
Save sorted selection
2023-10-10 01:28:31 +01:00
Keith Edmunds
8e2edb6af3
Add sort selection
2023-10-10 01:27:36 +01:00