Commit graph

36 commits

Author SHA1 Message Date
b106c5eb21 Fixed a bug where the cache of the first track gets cleared when started by doubleclick. 2025-01-26 12:27:49 +01:00
027c2f6ac8 Fixed a crash where the current_track of a playlist won't get updated when the playlist is loaded from the command line. 2025-01-26 12:07:18 +01:00
31e72c25d3 Added a button that adds a playlist. 2025-01-25 21:46:48 +01:00
1007ac045f Implemented saving of playlists to disk. 2025-01-25 20:45:43 +01:00
3e2d482415 Improved a comment. 2025-01-25 18:33:37 +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
cba4fd67fa Implemented editing of playlist.
(Changes aren't persistent.)
2025-01-25 18:04:46 +01:00
028c38b1b6 OOPed the way playlist views are created. 2025-01-25 17:21:43 +01:00
88b846f3b6 Made the player always cache also the next track when Player.play() gets executed so that there is completely no delay when the track finished and a new track starts. 2025-01-25 16:17:42 +01:00
6e99c85f88 Removed unused imports that were still there. 2025-01-25 16:04:11 +01:00
cd6d37497f OOPing it more: Removed gui_communication/track_control.py and the complete gui_communication directory. 2025-01-25 16:02:03 +01:00
bd0fd769d9 Fixed the issue that the progress timer was further than the playback when you pause too often. 2025-01-24 14:13:23 +01:00
878583eaac Modified function cache() so that the player can load all ffmpeg compatible files. 2024-12-29 20:10:34 +01:00
ae6081971b Removed debug print. 2024-12-29 19:29:20 +01:00
efcae74382 Added indicator icon that shows on the currently playing track. 2024-12-29 18:55:55 +01:00
29cc80feae Improved icon changing of play/pause button. 2024-12-29 15:18:38 +01:00
44854af42f Added "Custom Sorting" to playlist view. 2024-12-29 15:10:51 +01:00
da27963884 Connected PlaylistView.itemDoubleClicked to a function that then tells the player to play that track. 2024-12-29 14:31:21 +01:00
8fbb40d2f9 Added requirements.txt and loading of track metadata. 2024-12-29 13:50:19 +01:00
af2b7b6c8d Implemented displaying of tracks in a QTreeWidget. 2024-12-28 20:41:18 +01:00
10c36b37a1 Added command_line.py to control the player via command line. 2024-12-28 18:12:59 +01:00
94269fdae4 Added a "Playlist" class. 2024-12-24 17:22:30 +01:00
8811ba7ab4 OOPed everything a little more. 2024-12-22 19:42:48 +01:00
7844e15aa2 OOPed everything a little more. 2024-12-22 17:41:54 +01:00
19563930c5 Fixed some progress bar bugs again. 2024-12-22 17:20:18 +01:00
d453afc6d0 Undid some "OOPing" that just made it unnecessarily more complicated. 2024-12-22 16:23:56 +01:00
fac2dc0f1b Fixed some "crashes" that occurred on track control button presses when the current_playlist variable was empty. 2024-12-22 16:18:03 +01:00
d3a6cb7dd8 OOPed everything a little. 2024-12-22 16:11:43 +01:00
3dfb07ab14 Fixed import that won't work if the script isn't executed by pycharm. 2024-12-22 00:03:08 +01:00
4918d70d53 Removed test effect. 2024-12-21 21:06:10 +01:00
a97fe2e0cf Fixed "crash" when the last track of the playlist finished. 2024-12-21 20:58:28 +01:00
24d589b172 Implemented seeking. 2024-12-21 20:20:06 +01:00
dd44f10832 Moved track_progress_timer to its own file and fixed another progress displaying bug. 2024-12-21 19:42:26 +01:00
44c9fafb2c Made the progress slider not be at the end when the track is paused and corrected the formula for setting the remaining time in unpause_track_progress_timer() 2024-12-21 19:14:17 +01:00
45d97f5aeb Got shitty basic features working. 2024-12-21 19:00:06 +01:00
ce254c8b54 Added opening of files via command line and added simple controls. 2024-12-21 16:07:27 +01:00