Commit graph

65 commits

Author SHA1 Message Date
1007ac045f Implemented saving of playlists to disk. 2025-01-25 20:45:43 +01:00
a7fc19f98b Moved import into the main function so that when the program is executed with the wrong command line parameters, the pygame hello-message won't get printed. 2025-01-25 20:44:30 +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
f0969d013d Added 1 to the custom sort index bc. users may not understand why the first track index is a 0. 2025-01-25 17:26:55 +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
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
a3481f59bc Added that egg-info. 2025-01-25 11:58:56 +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
74a723d6db Finally added the requirements. 2025-01-25 11:56:47 +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
096415fe22 Added ffmpeg as requirement to the README.md 2024-12-29 20:12:18 +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
e7ddf1b7e4 Added README.md 2024-12-29 19:27:26 +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