Commit graph

81 commits

Author SHA1 Message Date
a23799b6b1 Rearranged some code. 2025-02-22 18:25:17 +01:00
851c2306b4 Fixed another crash that occurred because of an unexpected NoneType in the getting of the playing track's cover. 2025-02-21 20:37:24 +01:00
567afb1866 Fixed another crash by adding a check that makes sure that the current playlist is not NoneType before a current_playlist.has_tracks()-call. 2025-02-21 20:20:35 +01:00
39bd7e3167 Added a "track_info"-toolbar which shows an image found in the current audio file's metadata (usually the front-cover) and information about the currently playing track such as title and artist name. 2025-02-21 17:26:47 +01:00
ccda6b30c8 Added a "View" submenu to the window's menu and an action to the submenu that opens the background processes. 2025-02-20 19:23:31 +01:00
f2f3937fb2 Fixed a bug where the process widget of the playlist loading thread wouldn't get deleted if the playlist was too short.
The bug occurred because the creation of the widget was done through a PyQt-Signal but the deletion occurred in the same thread as the background process.
2025-02-20 19:17:44 +01:00
301896e12c Added loading of playlists to the process-dock. 2025-02-20 18:55:01 +01:00
6786a3dcd8 Did a little reformatting and removed that commented out test code. xD 2025-02-20 18:06:29 +01:00
a81ea15afd Fixed another crash that occurred because of another player.current_playlist.has_tracks()-check when the current playlist was None. 2025-02-20 17:53:03 +01:00
65564deb82 Added option to load playlists on start to the settings. 2025-02-20 17:44:09 +01:00
db191cbc44 Made drag n drop activate just when the playlist is fully loaded. 2025-02-19 18:57:23 +01:00
e5b7ebe6e8 Removed border from playlist titles. (slightly noticeable) 2025-02-12 14:21:59 +01:00
3ac97755bf Set the cursor when hovering over a Playlist title to a normal cursor and made the Player start with the last playlist as active tab. 2025-02-12 14:04:11 +01:00
0c2c91389d Playlists now get loaded when they are started and removed debug prints. 2025-02-12 13:50:12 +01:00
0879575882 Made the double click working again. 2025-02-11 17:34:04 +01:00
22ffd211df Got it working, but it's not better than before... 2025-02-04 14:43:08 +01:00
cf1b4bacd1 Added some checks so the player doesnt crash because of things removed in latest commits. 2025-02-04 11:17:35 +01:00
efe10e7d50 Added a comment. 2025-02-03 18:00:42 +01:00
d36326c029 Replaced shit that got removed in the last commit with something better. 2025-02-03 17:59:37 +01:00
bedca22ca6 Removed some mechanic that is going to be reimplemented. 2025-02-03 17:53:35 +01:00
6eac6468a0 Decreased the background progress update rate a little. 2025-02-03 14:12:38 +01:00
c55c1222f0 Added a dock widget that shows background processes. 2025-02-03 14:08:19 +01:00
67c3b9e226 Fixed another crash that occurred because of a missing playlist.has_tracks() check. 2025-02-03 14:06:16 +01:00
95d40dd30c Made a small memory optimisation by making the fonts a class variable and not an instance variable. 2025-02-02 16:08:25 +01:00
af4f267377 Fixed another crash that occurred when double-clicking on the tab-bar but not on a tab. 2025-02-01 13:43:49 +01:00
429ec8e683 Fixed a crash that occurred when trying to start an empty playlist. 2025-02-01 13:07:10 +01:00
060132be36 Added icon and desktop entry. 2025-01-31 21:25:46 +01:00
8a3d5a5b15 Fixed some crashs that occurred when clicking on the tab bar, but not on a tab. 2025-01-29 16:25:57 +01:00
96a9985099 Implemented deletion of playlists. 2025-01-28 18:23:43 +01:00
5ecc70e637 Removed debug print. 2025-01-28 17:46:45 +01:00
e5cc7c0cdb Improved unique name system. 2025-01-28 17:42:39 +01:00
a8560add65 Added unique names on playlist rename. 2025-01-27 18:32:41 +01:00
3e579a4fcb Implemented renaming of playlists. 2025-01-27 18:18:41 +01:00
b2aa7ffd8c Got the context menu and focusing working. 2025-01-27 18:02:06 +01:00
60dee10d1a Enabled input background again. (I disabled it for testing and accidentally committed that.) 2025-01-27 17:02:21 +01:00
649ad1d647 Moved playlist tabs related widgets to its own files. 2025-01-27 16:39:43 +01:00
9d844ae2dd Removed text from playlist tabs and added QLineEdit to them to have an input for renaming playlists. 2025-01-27 16:28:55 +01:00
120d04359e Made a tiny design tweak. 2025-01-27 14:47:08 +01:00
042c253d2f Added playing mark to tabs of currently playing playlist. 2025-01-27 14:30:45 +01:00
bff8681f5b Improved playlist design. 2025-01-26 17:18:42 +01:00
a48602d379 Removed an unnecessary line that was already commented out. 2025-01-26 16:51:08 +01:00
519b2d0adb Fixed some bugs that happened when tracks got rearranged. 2025-01-26 16:49:09 +01:00
74bff6ea13 Added history and improved marking of playing track. 2025-01-26 13:51:31 +01:00
29f86e2196 Made the first track have the play mark on start. 2025-01-26 12:58:37 +01:00
35f5bd9efb Removed unnecessary import that was a mistaken autoimport by pycharm. 2025-01-26 12:43:15 +01:00
3896d18393 Fixed playlist double-click behaviour. 2025-01-26 12:33:23 +01:00
2b1310990a Implemented playing of different playlist, but its buggy. 2025-01-25 22:59:19 +01:00
744d050bac Enabled drag and drop between PlaylistViews. 2025-01-25 22:41:29 +01:00
31e72c25d3 Added a button that adds a playlist. 2025-01-25 21:46:48 +01:00
dc46ac07bb Added option to always clear the cache of the last track when another track starts to greatly reduce memory usage. 2025-01-25 18:29:27 +01:00