Commit graph

104 commits

Author SHA1 Message Date
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
07e53ef2e7 OOPing it more: Removed gui_communication/menu_bar.py 2025-01-25 15:33:38 +01:00
5e5521bc67 Added settings gui class to ui/settings/__init__.py 2025-01-25 15:20:04 +01:00
d2c74438cb OOPing it more: Removed gui_communication/settings.py 2025-01-25 15:14:20 +01:00
3685f25882 Made the project also work with "pip install ." (without "-e") 2025-01-25 14:05:10 +01:00
905f157ee0 Improved comments. 2025-01-25 13:02:23 +01:00
f815e21aa8 Improved calculation of slider value when the slider gets clicked and added comments. 2025-01-25 12:58:09 +01:00
4ea3f04fb9 Deleted some unnecessary shit and finally found an easy way to figure out which tracks got dragged. 2025-01-25 11:58:34 +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
5cbc272ee3 Added setup.py and made all imports relative so it will work as a module. 2024-12-29 19:23:53 +01:00
239e50bfc9 Fixed a bug where the track metadata was shifted by 1 in the table. 2024-12-29 19:15:33 +01:00
6141f34f2f Fixed a crash that occured because i stupidly renamed a function but not all uses of it. 2024-12-29 19:05:15 +01:00
5ffdd27602 Made tracks in playlists not draggable because the playlist view isn't synced with the player's playlist. 2024-12-29 19:04:12 +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
5d6f67603a Added item flags so it is impossible to put other tracks into tracks. 2024-12-29 14:49:19 +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
1190059218 Made the play/pause button change icon on press. 2024-12-24 15:43:05 +01:00
7c6566e9a1 Added functionality to the save button. 2024-12-24 14:10:22 +01:00
ab018494e9 Added "Save All"-Button to the settings. 2024-12-24 14:02:55 +01:00
6498f43d5f Added "library_path" setting, added a gui for the settings, changed the window layout and did a bunch of other things. 2024-12-24 12:13:24 +01:00
259ec72442 Improved library style. 2024-12-23 18:09:55 +01:00
6aae95c865 Added settings and implemented restoring of window size. 2024-12-23 17:12:21 +01:00
99934e73b7 Made some gui improvements. 2024-12-23 16:02:22 +01:00
368bbbe6f8 Improved library style. 2024-12-22 21:20:18 +01:00
2f0c01601d Added library template. 2024-12-22 20:52:49 +01:00
8811ba7ab4 OOPed everything a little more. 2024-12-22 19:42:48 +01:00
19b6f4dcaa Made the Track Progress Slider clickable. 2024-12-22 19:09:37 +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
785483f92c Removed debug print. 2024-12-21 20:59:12 +01:00
a97fe2e0cf Fixed "crash" when the last track of the playlist finished. 2024-12-21 20:58:28 +01:00
bd69ddbcde Got progress and track length indicators working. 2024-12-21 20:50:09 +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