Commit Graph

128 Commits

Author SHA1 Message Date
Keith Edmunds
698fa4625a WIP V3: track start/stop times basics working
Only updates from header rows or current track. Changing
current track doesn't update correctly.
2023-11-07 23:14:26 +00:00
Keith Edmunds
4903330e44 V3 WIP Add ROWS_FROM_ZERO option 2023-10-22 22:51:37 +01:00
Keith Edmunds
5fb5e12bb8 WIP: V3: All headers displaying 2023-10-20 08:54:48 +01:00
Keith Edmunds
1c8fb05ffa WIP V3: gap and bitrate column background working 2023-10-19 15:05:30 +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
87ab973439 Implement playlist range sort and unsort 2023-10-12 02:43:17 +01:00
Keith Edmunds
2ca1d30609 Rewrite timers/tick code
Fixes #176
2023-07-09 23:18:37 +01:00
Keith Edmunds
09f0e11aa7 Improve clock management
- tick() implemented independently of Config.TIMER_MS
 - have tick() call periodic functions
 - don't rely on vlc get_time() (too coarse)
2023-06-19 09:40:32 +01:00
Keith Edmunds
b706008101 Make volume fade graph update much smoother.
VLC get_time and get_position are very granular, only updating about
3-4 times a second. Instead, calculate play_time by substracting track
start time from current time and expressing that as milliseconds.
2023-06-19 00:55:04 +01:00
Keith Edmunds
4eb3a98c95 Added volume fade graph. 2023-06-18 09:20:55 +01:00
Keith Edmunds
a8ffa6f231 Upgrade PyQt5 → PyQt6 2023-04-12 21:55:13 +01:00
Keith Edmunds
a923f32070 First pass of OBS scene change 2023-04-09 16:02:44 +01:00
Keith Edmunds
b126a70139 Fix and improve hide played tracks
Last played track is now not hidden until
Config.HIDE_AFTER_PLAYING_OFFSET milliseconds after next track starts
playing.
2023-03-12 13:00:46 +00:00
Keith Edmunds
d54f1bedda Remove colon-in-path conditional fix 2023-03-10 23:11:23 +00:00
Keith Edmunds
2422adea21 Fix play sometimes stopping almost immediately 2023-03-10 22:34:23 +00:00
Keith Edmunds
0794f061ee WIP: playlists.py refactor 2023-02-19 20:09:00 +00:00
Keith Edmunds
f8dcc69a55 Python typing fixups 2023-01-20 21:59:40 +00:00
Keith Edmunds
94b2f473e9 Cleanups from running vulture 2022-12-24 09:36:51 +00:00
Keith Edmunds
693e8f195d Notify when issue #147 occurs 2022-12-18 21:03:45 +00:00
Keith Edmunds
d9851adf65 Fix inability to play tracks with colon in path
Fixes #103
2022-12-17 19:47:17 +00:00
Keith Edmunds
f297923a2f Hide carts from config 2022-11-11 21:47:04 +00:00
Keith Edmunds
41379efd1b Limit number of matching tracks on import 2022-11-11 21:12:12 +00:00
Keith Edmunds
9ccff3db20 Specify colour of cart progress bars 2022-10-23 22:37:06 +01:00
Keith Edmunds
f42261277e Carts: tidy up code 2022-10-21 22:54:50 +01:00
Keith Edmunds
a649fa8c59 WIP: Carts 2022-10-15 20:15:30 +01:00
Keith Edmunds
0b91cf7da4 WIP: carts 2022-10-15 17:42:37 +01:00
Keith Edmunds
140722217b Add bitrates to database and display 2022-08-22 17:30:30 +01:00
Keith Edmunds
20e9880a03 Set alternate row colous using App.setPalette 2022-08-17 21:12:21 +01:00
Keith Edmunds
01a9ce342a Open wikipedia and songfacts from right click menu.
Also reorganised right click menu.
2022-08-15 17:06:01 +01:00
Keith Edmunds
7d71e8ce64 WIP: clocks working 2022-08-12 21:25:59 +01:00
Keith Edmunds
99409e8626 Right-click menu mostly working
Still to implement:
 - Move to playlist
 - Remove row
2022-08-07 20:20:56 +01:00
Keith Edmunds
89781c0a94 Revise menu, selected tracks duration summing OK 2022-08-07 16:15:11 +01:00
Keith Edmunds
7a14651bd7 Add function type hints. Section headers and note colours working 2022-08-05 21:52:17 +01:00
Keith Edmunds
ab47bb0ab4 SQLA2.0 playlist column headers display 2022-07-03 20:59:10 +01:00
Keith Edmunds
bef4507ef6 SQLA2.0 rewrote logging 2022-07-03 15:17:25 +01:00
Keith Edmunds
ff2f0d576c SQLA2.0 main window displays 2022-07-02 21:47:42 +01:00
Keith Edmunds
de3a746806 WIP: button to drop 3db 2022-06-18 19:04:01 +01:00
Keith Edmunds
1888c7f00d Fix cron job
Now only reports errors but does not attempt to fix them.

Fixes #114
2022-06-05 15:18:45 +01:00
Keith Edmunds
c7f7f25af0 Run file import in separate thread 2022-04-19 15:25:15 +01:00
Keith Edmunds
9c0371d41c Scroll current row to top; improve session handling 2022-03-04 18:17:57 +00:00
Keith Edmunds
e7004688d0 Add configurable web zoom factor 2022-03-04 16:53:10 +00:00
Keith Edmunds
a91309477b Rebase dev onto v2_id 2022-03-02 09:25:59 +00:00
Keith Edmunds
7f2dd68bce Rebase dev onto v2_id 2022-03-02 09:24:35 +00:00
Keith Edmunds
281a1d40bf Rebase dev onto v2_id 2022-03-02 09:23:56 +00:00
Keith Edmunds
cf58932fca Rebase dev onto v2_id 2022-03-02 09:16:07 +00:00
Keith Edmunds
ab9955b88a v2 tidy/refactor 2022-03-02 09:14:52 +00:00
Keith Edmunds
a164f4c962 Rebase dev onto v2_id branch 2022-03-02 09:10:46 +00:00
Keith Edmunds
cb50fc253b Make current track in playlist lighter green 2022-02-20 11:10:23 +00:00
Keith Edmunds
125a44c645 Add 'this month then' note colour 2021-10-16 10:33:32 +01:00
Keith Edmunds
6ccfae0ab1 Add note colouring by keyword
Fixes #71
2021-09-24 14:58:35 +01:00
Keith Edmunds
0a4730e5a7 Start implementing coloured text on tabs 2021-08-24 15:13:03 +01:00
Keith Edmunds
834ad68e00 Tab info for previous / current / next track 2021-08-21 20:47:55 +01:00
Keith Edmunds
94e7508a24 Default volume to 75 2021-08-14 12:03:46 +01:00
Keith Edmunds
bc54be237b Check tracks for readability
Check on load and on setting next track. Also provide info popup that
shows path.
2021-08-10 08:18:05 +01:00
Keith Edmunds
6936b24129 Facilitate dev and prod databases - fixes #15 2021-07-04 19:21:28 +01:00
Keith Edmunds
019e9f6cf3 Warn if leading silence over 500ms. Helps #11 2021-06-12 13:19:33 +01:00
Keith Edmunds
e498457395 Add option to force DEBUG message to stderr
If the default log level for stderr is greater than DEBUG, DEBUG
message won't be shown. The DEBUG(msg) function now takes an optional
Boolean second parameter. If that is True, the DEBUG message is always
sent to stderr.
2021-06-06 10:50:40 +01:00
Keith Edmunds
88e7ef2bca Update connection string and requirements.txt 2021-05-04 18:11:28 +01:00
Keith Edmunds
ada25eaa26 Set default volume 2021-05-02 23:34:03 +01:00
Keith Edmunds
2e41a673f4 Normalise tracks on import 2021-04-24 19:35:10 +01:00
Keith Edmunds
f452362c2a Add volume and stop, improve fading 2021-04-21 08:39:49 +01:00
Keith Edmunds
b4079c2b13 Allow configuration of max VLC volume 2021-04-12 18:55:41 +01:00
Keith Edmunds
b049f3207d Ensure all rows in playlist are updated. 2021-04-11 15:13:39 +01:00
Keith Edmunds
958c3a8086 Yet another colour for notes 2021-04-11 15:12:57 +01:00
Keith Edmunds
36816c6d96 Tweak note colour 2021-04-10 23:27:42 +01:00
Keith Edmunds
f61c6fd74f Implement deleting of notes 2021-04-10 17:45:54 +01:00
Keith Edmunds
830c88cc33 Add Config.TESTMODE 2021-04-10 17:21:27 +01:00
Keith Edmunds
62f6775e90 Let notes have times 2021-04-10 17:20:09 +01:00
Keith Edmunds
6adaa844e1 Change notes color to bootstrap bg-info 2021-04-10 13:58:55 +01:00
Keith Edmunds
233cce7800 Headers, timer colours, all looking good 2021-04-04 19:49:33 +01:00
Keith Edmunds
dadd251587 Refactoring mostly done; manage playlist metadata 2021-04-04 12:57:43 +01:00
Keith Edmunds
cf52eb3c9c Playlist drag and drop; track colours 2021-04-02 00:22:29 +01:00
Keith Edmunds
d3b739dc36 Fix fading; lots of tidying! 2021-03-30 19:42:39 +01:00
Keith Edmunds
ddce8f2391 Remove pytiger; select next track at end 2021-03-27 16:27:48 +00:00
Keith Edmunds
e5037371af Tidying 2021-03-27 00:17:09 +00:00
Keith Edmunds
28143ced6c Counters updating; store full path; round milliseconds 2021-03-26 23:55:53 +00:00
Keith Edmunds
31cf7ca3e6 QTimer added, TOD clock updating 2021-03-26 18:56:43 +00:00
Keith Edmunds
b58b9fc188 Restructure project layout; implement logging 2021-03-26 09:19:04 +00:00