Keith Edmunds
978b83ba67
WIP: V3 header rows span columns
2023-10-19 18:29:09 +01:00
Keith Edmunds
9a01bf2c2c
Don't error on header rows
2023-10-19 15:09:49 +01:00
Keith Edmunds
1c8fb05ffa
WIP V3: gap and bitrate column background working
2023-10-19 15:05:30 +01:00
Keith Edmunds
bec336d2a3
WIP V3: playlist populates from database
2023-10-19 13:49:07 +01:00
Keith Edmunds
51a827093a
Add return type in music.py
2023-10-19 13:49:07 +01:00
Keith Edmunds
8acd279cfe
Clean up music.py interface
2023-10-17 22:52:51 +01:00
Keith Edmunds
d2444159ac
Improved fading
...
fade() takes an optional parameter, fade_seconds
fading is now logarithmic
2023-10-17 22:38:57 +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
f35b8b93b1
Fix up cron database check
2023-10-16 20:39:53 +01:00
Keith Edmunds
64c3e3066b
Filter virtualenv lines from stackprinter dump
2023-10-16 20:31:32 +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
d7c64141f2
Remove unused app/ui/playlist_ui.py
2023-10-15 22:25:48 +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
ae87ac82ba
Migrate model to SQLAlchemy 2.0 DeclarativeBase
2023-10-15 09:51:02 +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
Keith Edmunds
ee391e42e7
Minor tidying
2023-10-10 01:27:13 +01:00
Keith Edmunds
c078fa69e7
Only create one infotab at initialisation.
2023-10-06 19:10:19 +01:00
Keith Edmunds
da8272b29b
Fix flickering when first marking a track as next
...
Pre-create the infotabs as adding the first one caused the flicker.
2023-10-06 18:04:11 +01:00
Keith Edmunds
b3905e062d
Improve artist search
...
Replicate recent changes in title search to artist search
2023-10-06 10:58:15 +01:00
Keith Edmunds
6d48bcc9d0
Remove double ampersand in last track header
2023-10-06 10:52:28 +01:00
Keith Edmunds
f3a5ed2e72
Track selection dialog bugfix
...
If multiple tracks had the name name, only one would be listed.
2023-10-05 13:49:52 +01:00
Keith Edmunds
bb700d26f1
Faster track selection diaglog
...
Use better query to load last_played times along with tracks
2023-10-04 08:11:41 +01:00
Keith Edmunds
b2f826dfcc
Much improved performance adding tracks
2023-10-01 15:17:27 +01:00
Keith Edmunds
c1fae2f91a
Much improved performance adding tracks
2023-10-01 15:09:41 +01:00
Keith Edmunds
403c470c8a
In track add dialog, ESC clears currently selected track
2023-09-30 21:32:08 +01:00
Keith Edmunds
8651dae3f3
Save wheel events
2023-09-30 20:46:16 +01:00
Keith Edmunds
c087858674
Add track dialog: add header if note given but no track selected
2023-09-30 20:45:12 +01:00
Keith Edmunds
494e124ac8
Separate path display from title/artist buttons, track add dialog
2023-09-30 20:38:46 +01:00
Keith Edmunds
b7a33d2676
Update Black
2023-09-30 20:37:56 +01:00
Keith Edmunds
dcab21bdde
Reset preview button if preview track ends
...
Fixes #178
2023-07-14 17:16:14 +01:00
Keith Edmunds
cd04ec6339
Flake8 fixes
2023-07-09 23:27:13 +01:00
Keith Edmunds
a0a2903706
Make updating of clock backgrounds more efficient
2023-07-09 23:23:18 +01:00
Keith Edmunds
da267562ea
Fix clocks for resumed track
2023-07-09 23:19:27 +01:00
Keith Edmunds
2ca1d30609
Rewrite timers/tick code
...
Fixes #176
2023-07-09 23:18:37 +01:00
Keith Edmunds
cb2017e953
Add button icons; wire up Stop button
2023-07-09 16:20:10 +01:00
Keith Edmunds
c7284c4397
Merge branch 'buttons' into dev
2023-07-09 16:15:29 +01:00
Keith Edmunds
986257bef6
Flake8 and Black run on all files
2023-07-09 16:12:21 +01:00
Keith Edmunds
fbc780b579
Put elapsed/total time below Preview button
2023-07-09 15:40:56 +01:00
Keith Edmunds
722043d049
Move Stop button away from other buttons
...
Fixes #177
2023-07-09 15:39:22 +01:00
Keith Edmunds
f44d6aa25e
Documentation skeleton in place
2023-07-02 19:18:28 +01:00
Keith Edmunds
d3834928fd
Remove padding around volume graph
2023-06-22 00:24:32 +01:00