Keith Edmunds
fabf3e18bf
Re-add profiling calls
2024-11-23 07:24:03 +00:00
Keith Edmunds
f19fc2e8c0
Remove dummy_for_profiling parameters
2024-11-16 13:06:35 +00:00
Keith Edmunds
40b5fc020d
Fix playlist_rows row_number corruption
2024-11-16 13:04:39 +00:00
Keith Edmunds
3cec08db85
Remove profiler decorations
2024-11-16 13:03:10 +00:00
Keith Edmunds
4c420d01ca
Preserve row order when moving rows
2024-11-16 10:44:30 +00:00
Keith Edmunds
7cfd2a45a2
Speed up moving rows
...
Fixes #262
Fixed #260
2024-11-16 09:58:08 +00:00
Keith Edmunds
61adc43b45
Add profiling to paste_rows and related functions
2024-11-01 15:18:47 +00:00
Keith Edmunds
42ebf2fa7b
Remove deep_rows query
...
Aim to fix sometimes slow moving of rows. Data from the 'deep' part is
no longer used anyway.
Fixes #258
2024-08-09 12:55:43 +01:00
Keith Edmunds
b8fcc79f8e
Black formatting and mypy fixups
2024-08-04 17:18:08 +01:00
Keith Edmunds
40cad1c98f
Fix resource leak
...
After around 1.5h of operation, we'd get messages such as:
vlcpulse audio output error: PulseAudio server connection failure: Connection terminated
Tracked down to not correctly releasing vlc player resources when
track had finished playing. Fixed now, and much simplified the fadeout
code as well.
2024-08-02 18:35:33 +01:00
Keith Edmunds
50d1e8bd4a
Fix unmarking row as played
...
Fixes #254
2024-07-31 13:16:06 +01:00
Keith Edmunds
feb8f0b6d7
Unmark row zero when no longer next track
...
Fixes #253
2024-07-31 13:16:06 +01:00
Keith Edmunds
0c76227bbc
Quieten logging: move many info to debug
2024-07-30 16:51:53 +01:00
Keith Edmunds
bd7fb79610
Clear fade graph when clearing next track
2024-07-30 16:36:29 +01:00
Keith Edmunds
59b6b87186
Fixup typos in playlistmodel.py
2024-07-30 04:21:04 +01:00
Keith Edmunds
076451ff89
Cleanup of playlistmodel.py
2024-07-29 21:49:17 +01:00
Keith Edmunds
d6f55c5987
Rewrite of track handling
...
Combine the old track_manager and playlist data structures into
RowAndTrack data structure.
2024-07-29 18:52:02 +01:00
Keith Edmunds
1513ad96d8
Fix track times bug
...
When update_track_times runs, it looks as track_sequence.current and
.next, but didn't check that those tracks referred to the current
playlist, which could cause a KeyError.
Fixes #252
2024-07-26 11:38:33 +01:00
Keith Edmunds
7658dc354c
More track timing cleanups
2024-07-22 18:47:29 +01:00
Keith Edmunds
3c884e54ca
Refactor set track times
2024-07-22 16:29:17 +01:00
Keith Edmunds
d7a37151b7
Fixup type hints, renamed function
2024-07-22 16:27:31 +01:00
Keith Edmunds
434e45b080
Reduce complexity of playlistmodel:headerData
2024-07-21 08:58:49 +01:00
Keith Edmunds
829172177c
Implement external browser
2024-07-19 19:59:18 +01:00
Keith Edmunds
30d8b0d5c8
Rework track hiding logic
...
Fixes #248
2024-07-19 15:58:58 +01:00
Keith Edmunds
5f3119be1f
Tighter mypy testing, fixed up type hints
2024-07-08 19:03:35 +01:00
Keith Edmunds
3831ebb01d
File header, type hints, Black
2024-06-22 21:51:41 +01:00
Keith Edmunds
6e4c386fe2
Manage deleting rows better
...
Fix incorrect updating of track_sequence row numbers.
2024-06-18 19:45:12 +01:00
Keith Edmunds
a46b9a3d6f
Return True/False on set_next_row
2024-06-03 20:29:50 +01:00
Keith Edmunds
1ee9a1ae22
Speed up moving rows
2024-06-03 20:29:17 +01:00
Keith Edmunds
e884201df4
Don't accept unreadable track into _TrackManager
2024-06-03 19:06:00 +01:00
Keith Edmunds
1d51edc50f
Most recent track first in tooltips
2024-06-02 21:05:09 +01:00
Keith Edmunds
648ef76234
Resume working
2024-06-02 19:19:35 +01:00
Keith Edmunds
983716e009
Row times updating working
2024-06-02 16:34:30 +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
fc4129994b
Fix move rows bug
...
Fixes #244
2024-05-22 15:26:57 +01:00
Keith Edmunds
f825304de4
Update track times after rescan
...
Fixes #242
2024-05-10 12:06:04 +01:00
Keith Edmunds
049a5508cc
Commit when adding track to header
...
Fixes #238
2024-05-02 19:46:43 +01:00
Keith Edmunds
aa208d72c1
Save to db after rescan
...
Fixes #237
2024-05-02 19:43:03 +01:00
Keith Edmunds
f898e4645b
Hover last played column to show list
...
Fixes #205
2024-04-28 16:41:16 +01:00
Keith Edmunds
1ce64804fb
Fix moving rows
...
Also fix associated tests.
Fixes #234
2024-04-28 12:54:32 +01:00
Keith Edmunds
2a55cd9c92
Replaced obsws-python with obs-websocket-py
...
Fixes #235
2024-04-28 11:30:54 +01:00
Keith Edmunds
e9a3047f00
Improve logging and FadeCurve generation. Tidy.
2024-04-28 10:50:20 +01:00
Keith Edmunds
e179e57459
Add required session.commit() calls
2024-04-27 21:56:11 +01:00
Keith Edmunds
2e8fae99ed
Pull in recent V3 updates
2024-04-27 21:54:17 +01:00
Keith Edmunds
a4858761c6
All tests working
2024-04-27 21:52:31 +01:00
Keith Edmunds
76021aa1c6
Put commit()s where needed, move some info to debug logging
2024-04-27 21:52:31 +01:00
Keith Edmunds
16e3c8235e
V4 WIP: mostly Black formatting
2024-04-27 21:52:31 +01:00