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
04c2c6377a
Increase play debounce time 500ms → 1000ms
2024-07-26 11:20:15 +01:00
Keith Edmunds
9973f00055
Enhance debugging for failed fade graph creation
2024-07-26 11:18:29 +01:00
Keith Edmunds
53e169ae6b
Add x bit to musicmuster.py
2024-07-23 17:50:14 +01:00
Keith Edmunds
234f6fcdbb
Typo fixed
2024-07-23 17:47:18 +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
96080cdca0
Simply musicmuster:play_next
...
Split out return_pressed_in_error()
2024-07-21 09:49:18 +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
a51dd3a998
Show preview time in m:ss
...
Fixes #250
2024-07-19 15:06:22 +01:00
Keith Edmunds
7a6c8a0f95
Mark playlist last used on creation
...
Fixes #249
2024-07-19 12:46:10 +01:00
Keith Edmunds
5f3119be1f
Tighter mypy testing, fixed up type hints
2024-07-08 19:03:35 +01:00
Keith Edmunds
2394327d38
Make load playlists the last init action
2024-07-07 11:57:24 +01:00
Keith Edmunds
c7d6ae4cb6
Fix end of track signalling
2024-07-07 11:16:49 +01:00
Keith Edmunds
7333fd570f
Error checking, type annotations, minor edits
2024-07-07 10:19:17 +01:00
Keith Edmunds
68a253bc7c
Improve type hints, other minor edits
2024-07-06 20:35:06 +01:00
Keith Edmunds
c11573906a
Make tick_100ms more efficient
2024-07-06 19:01:27 +01:00
Keith Edmunds
87d2d7adae
Add issue 223 debugging and quicklog function
2024-07-06 14:26:29 +01:00
Keith Edmunds
dc3b46d2d6
Unload pygame music file after use
2024-07-06 12:37:15 +01:00
Keith Edmunds
f2867deb2f
mypy linting
2024-07-03 18:03:41 +01:00
Keith Edmunds
553376a99e
Preview with pygame working
2024-07-03 17:55:09 +01:00
Keith Edmunds
e3d7ae8e0f
WIP: preview forward/back working
2024-07-03 16:11:13 +01:00
Keith Edmunds
9656bac49f
WIP: preview via pygame working
2024-07-03 15:41:14 +01:00
Keith Edmunds
a971298982
WIP: remove some references to preview track manager
2024-07-03 14:01:34 +01:00
Keith Edmunds
4fe6e9186c
Merge branch 'sounddevice' into dev
2024-07-03 13:50:46 +01:00
Keith Edmunds
8bc41f2fcd
Fix error message
2024-07-03 13:50:40 +01:00
Keith Edmunds
92eb3fc953
Fix inability to close playlists
2024-07-03 12:52:46 +01:00
Keith Edmunds
a8f709d2da
Quieten logging
2024-06-27 21:41:15 +01:00
Keith Edmunds
e711ab84ab
Move some logging from info to debug
2024-06-27 20:43:38 +01:00
Keith Edmunds
67bc3377cb
Fix logging error
2024-06-27 20:41:56 +01:00
Keith Edmunds
8618813197
Tidy up function
2024-06-23 14:35:05 +01:00
Keith Edmunds
c139215603
Improve drag and drop targetting
2024-06-22 21:52:08 +01:00
Keith Edmunds
3831ebb01d
File header, type hints, Black
2024-06-22 21:51:41 +01:00
Keith Edmunds
0cd5d97405
Make default syslog level DEBUG
2024-06-21 23:17:00 +01:00
Keith Edmunds
a8fad358b9
Fix database URL reference
2024-06-20 18:23:04 +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
a4174e84ce
Make use of get_tags more resilient
2024-06-17 16:31:23 +01:00
Keith Edmunds
fe8537c9c1
replace_files.py functionality now in musicmuster
2024-06-17 16:18:06 +01:00
Keith Edmunds
5e4277646b
Black formatting
2024-06-16 08:40:45 +01:00
Keith Edmunds
71257e4d67
Ensure one db instance only
...
Ensure testing db is correctly set to sqlite
2024-06-16 08:40:03 +01:00
Keith Edmunds
21156d8fa1
Improve getting/setting of Settings
2024-06-16 08:16:24 +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
2f32f2e914
Update fade graph when starting next track before current has finished
2024-06-03 19:05:19 +01:00
Keith Edmunds
1d51edc50f
Most recent track first in tooltips
2024-06-02 21:05:09 +01:00
Keith Edmunds
35b5402853
Fix: end of preview caused main play end of track actions
2024-06-02 20:53:26 +01:00
Keith Edmunds
648ef76234
Resume working
2024-06-02 19:19:35 +01:00
Keith Edmunds
909fb27bed
All preview/intro management working
2024-06-02 17:58:20 +01:00
Keith Edmunds
09fdd7e4dc
Display of countdown timer works
2024-06-02 16:50:49 +01:00
Keith Edmunds
983716e009
Row times updating working
2024-06-02 16:34:30 +01:00
Keith Edmunds
4ec1c0e09c
Fade graph no longer lagging
2024-06-02 14:31:14 +01:00
Keith Edmunds
0361d25c7b
WIP: fade graph working, slightly laggy
2024-06-02 13:33:57 +01:00
Keith Edmunds
c5ca1469dc
Remove all carts code
2024-06-02 12:04:26 +01:00
Keith Edmunds
5278b124ca
WIP: implemented trackmanager, tracks play, clocks work
2024-06-02 11:57:45 +01:00
Keith Edmunds
fbcedb6c3b
Create trackmanager.py
...
music.py is fully absorbed into trackmanager.py and thus removed
Substantial parts of classes.py are absorbed into trackmanager.py
2024-06-02 10:00:31 +01:00
Keith Edmunds
8ea0a0dad5
WIP: moving player to PlaylistTrack. Player works.
2024-06-01 17:41:22 +01:00
Keith Edmunds
b1f682d2e6
Uncheck preview armed at end of preview
2024-05-25 09:36:19 +01:00
Keith Edmunds
3d3df85845
PoC: added intro time display and editing
2024-05-25 09:29:03 +01:00
Keith Edmunds
8ebaa2798f
Set intro timer background colour
2024-05-24 16:48:48 +01:00
Keith Edmunds
afc3014b18
Much improved stderr reporting on exceptions
2024-05-24 15:04:07 +01:00
Keith Edmunds
45a22c47d0
Implement intro timing and countdown
2024-05-24 14:27:00 +01:00
Keith Edmunds
fb5376cdf0
WIP time to vocals: record button icons
2024-05-24 14:25:54 +01:00
Keith Edmunds
01916c4adc
WIP: time to vocals: preview +- working
2024-05-24 14:25:51 +01:00
Keith Edmunds
1d33622c13
WIP: time to vocals
2024-05-24 14:20:59 +01:00
Keith Edmunds
b86f0ac1b7
Unifty format of VLC config variables
2024-05-24 14:19:16 +01:00
Keith Edmunds
3871da048d
Reimplement issue #223 fix
2024-05-24 13:36:06 +01:00
Keith Edmunds
bd125f2a1a
Fix typo getting play time in tick_1000ms
2024-05-23 19:19:11 +01:00
Keith Edmunds
36e28ca4f4
Fix bug storing open tabs
2024-05-22 16:52:35 +01:00
Keith Edmunds
71e76e02d1
Merge changes from master
2024-05-22 15:45:21 +01:00
Keith Edmunds
fc4129994b
Fix move rows bug
...
Fixes #244
2024-05-22 15:26:57 +01:00
Keith Edmunds
a7932adfe4
Add more protection against hitting return twice
2024-05-10 12:48:39 +01:00
Keith Edmunds
f825304de4
Update track times after rescan
...
Fixes #242
2024-05-10 12:06:04 +01:00
Keith Edmunds
37e450ab22
Bugfix replace files
...
Fixes #243
2024-05-10 11:48:40 +01:00
Keith Edmunds
4a5fe74a9f
Save open state of playlists
2024-05-06 12:25:04 +01:00
Keith Edmunds
d050fa0d84
Fix file importing
...
Imported track wasn't moved to destination
2024-05-06 12:12:56 +01:00
Keith Edmunds
e25d4ad311
Fixup tests
2024-05-05 18:38:50 +01:00
Keith Edmunds
c1d2fcd8cd
Save open tabs properly
...
Fixes #239
2024-05-04 21:15:08 +01:00
Keith Edmunds
253550b490
Implement SQLAlchemy Pool.pre_ping
...
Fixes #241
2024-05-04 20:35:14 +01:00
Keith Edmunds
f2db9967fb
Reduce stdout output
2024-05-04 02:08:00 +01:00
Keith Edmunds
a24ff76b6b
Build in replace_file functionality
...
Major rewrite of file importing
Fixes #141
2024-05-03 22:40:21 +01:00
Keith Edmunds
6aa09bf28a
Save new playlist (commit to db)
2024-05-02 22:44:11 +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
57e81b0f17
Allow artist search in title box with "a/"
2024-04-28 18:45:37 +01:00
Keith Edmunds
dfc51e1399
Hover previous track to see list
...
Fixes #205
2024-04-28 17:07:02 +01:00
Keith Edmunds
f898e4645b
Hover last played column to show list
...
Fixes #205
2024-04-28 16:41:16 +01:00
Keith Edmunds
80687df82e
Don't react to second of two quick 'return' key presses
...
Fixes #228
2024-04-28 13:15:15 +01:00
Keith Edmunds
09dcba90a9
Attempt to detect sound system access problem
...
Fixes #232
2024-04-28 13:02:54 +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
cad26ff8f9
Fix #233
2024-04-27 21:54:18 +01:00
Keith Edmunds
46964b5f66
Update tests
2024-04-27 21:54:18 +01:00
Keith Edmunds
1011b2f549
Fixup replace_files for Alchemical
2024-04-27 21:54:18 +01:00
Keith Edmunds
2e8fae99ed
Pull in recent V3 updates
2024-04-27 21:54:17 +01:00