Keith Edmunds
d25beeda89
Added reference drag 'n' drop to archive
2023-10-22 22:55:10 +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
4903330e44
V3 WIP Add ROWS_FROM_ZERO option
2023-10-22 22:51:37 +01:00
Keith Edmunds
d81b4c84b8
WIP V3: add drag and drop example to archive
2023-10-21 14:44:57 +01:00
Keith Edmunds
d6572c13b5
V3 WIP Black formatting
2023-10-21 14:07:42 +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
93d780f75a
V3 WIP: ESC works in editing
2023-10-21 11:03:03 +01:00
Keith Edmunds
b75dc4256a
WIP V3 don't send session to playlist tab
2023-10-21 09:02:36 +01:00
Keith Edmunds
d0645a1768
Tidy up InterceptEscapeWhenEditingTableCellInView.py
2023-10-21 07:25:55 +01:00
Keith Edmunds
0690a66806
Edit partially working
...
setData called but not implemented
ESC not detected in edit
2023-10-20 23:17:19 +01:00
Keith Edmunds
07669043eb
WIP V3
2023-10-20 20:49:52 +01:00
Keith Edmunds
d579eb81b4
WIP V3
2023-10-20 20:47:08 +01:00
Keith Edmunds
cbdcd5f4fc
Fix column spanning to not be recursive
2023-10-20 16:25:48 +01:00
Keith Edmunds
bb14b34c2e
WIP V3: column widths set/save works
2023-10-20 11:30:54 +01:00
Keith Edmunds
dbbced7401
Fix repr() for Settings
2023-10-20 11:06:50 +01:00
Keith Edmunds
5fb5e12bb8
WIP: V3: All headers displaying
2023-10-20 08:54:48 +01:00
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