1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00
Commit Graph

65 Commits

Author SHA1 Message Date
63c55e1bd4
WIP: Add album detail view
TODO: Fix crash!
Unexpected outstanding background CATransaction
2019-06-22 13:45:44 -04:00
9351061a8d
Set button state on server state change 2019-05-18 15:23:12 -04:00
ad04250760
Shuffle/repeat buttons change server state 2019-05-18 15:23:12 -04:00
d211651e16
Move view code where it belongs 2019-05-18 15:19:45 -04:00
b59c70e4ed
Add queue position numbers to the queue 2019-05-18 15:19:45 -04:00
c01a662c84
Tidy up more of the window handling 2019-05-18 15:15:10 -04:00
49269ca21b
Handle closing and opening windows 2019-05-18 15:15:10 -04:00
e6bbe4f35d
Add dynamic dock menu with "Now Playing" section
Inspired pretty heavily by iTunes.
2019-05-18 15:15:10 -04:00
8e6396dbe9
WIP: Dock menu 2019-05-18 15:15:10 -04:00
edcfe49b19
Unsubscribe from the store if the view is deallocated 2019-05-10 15:31:07 -04:00
5591cda7fa
Remove NotificationsController and most == methods 2019-05-10 15:30:32 -04:00
ef9f1e12c1
Touch the user notifications controller
Static lets are lazily initialised.
2019-05-01 19:48:09 -04:00
96bb9679ab
We don't need to pass these since the store knows 2019-04-30 20:55:32 -04:00
8bab7c2bf5
Refactor more of the things!
1. Move all the mpdClient actions into a reducer.
2. Move global stuff into their own global struct
2019-04-30 09:11:50 -04:00
4d2a8087ed
Import AppKit rather than Cocoa
Importing Cocoa pulls in CoreData, which we're not using.

https://github.com/brentsimmons/NetNewsWire/blob/master/Technotes/CodingGuidelines.md
2019-04-29 08:59:04 -04:00
0de001ce16
Give the queue its own local state 2019-04-29 08:31:44 -04:00
22bb7efef2
Completely rejigger preferences system to use ReSwift 2019-04-28 18:02:09 -04:00
8882c4246c
Refactor all the things!
I discovered Xcode's refactor function 😁
2019-04-28 10:48:10 -04:00
d2d4705e87
Current artwork and notifications 2019-04-27 22:39:18 -04:00
86feface73
Move ReSwift stuff into extensions 2019-04-27 20:48:49 -04:00
81b0626017
Move database updating indicator to ReSwift 2019-04-27 20:48:49 -04:00
5f80a1b8e9
Reimplement reset album art 2019-04-27 20:48:49 -04:00
40ae6909cd
Album images load! 2019-04-27 20:48:49 -04:00
2e6c903d74
Mostly working, albumlist is not showing album art 2019-04-27 20:48:48 -04:00
bb5a7c2c5c
Transport and progress finished 2019-04-27 20:45:27 -04:00
5651276bd6
WIP: Big ReSwift refactor 2019-04-27 20:45:26 -04:00
3c9a18a9fe
Move notification into its own service 2019-04-14 20:09:32 -04:00
4094fc19ea
Show album art on notification 2019-04-14 19:40:35 -04:00
e441d7b0d6
Send desktop notifications on track or state change 2019-04-14 19:33:10 -04:00
fc99c59d53
Stop album view jumping occasionally 2019-04-01 19:45:51 -04:00
f014c4f929
Ensure artwork is fetched when the pref is changed 2019-03-31 17:33:10 -04:00
6bec0c170d
Big album art display works!
Still to be done: if an image does not exist on the filesystem it will
keep fetching it remotely. We probably shouldn't do this.
2019-03-29 15:28:46 -04:00
27c0e32e48
WIP: Refactor album art service
We need to make it more flexible and less coupled
2019-03-25 22:23:07 -04:00
9eacd2b25a
Rename delegate methods to better reflect purpose 2019-03-23 14:42:41 -04:00
79ad585530
The database doesn't always update (if there's no update) 2019-03-23 14:42:41 -04:00
8983106cda
Wire up "update database"
* Menu option starts a database update.

* Spinner to show that update is taking place.
2019-03-23 14:42:40 -04:00
280ec0cdc4
Reload album data when the library path is changed 2019-03-20 20:06:23 -04:00
487e0cc2c2
Fix a few things that got forgotten during the refactor 2019-03-20 20:06:23 -04:00
51bc2c9adf
Getting album art should be the datasource's responsibility 2019-03-20 20:06:21 -04:00
3b7bdc7983
WIP: Create operation queue for album art download 2019-03-20 20:06:21 -04:00
480c2786ad
WIP: Fetch album art from MusicBrainz 2019-03-20 20:06:20 -04:00
04a5eb1735
Maintain relative scroll position on resize 2019-03-08 15:52:01 -05:00
d4fe7c396d
Messed this up when I refactored out the datasource 2019-03-03 19:10:01 -05:00
52b0a3b067
Add track progress bar
Adds a slider control that shows the track playback progress. The slider
can be used to seek through the track.
2019-02-22 20:59:01 -05:00
2d6aa478a7
Add a button to albums that plays the album
This works by clearing the queue, adding all the tracks from the album
to the queue and playing the first track.

Fix bug where resize might leave a play button visible

Had to refactor the QueueView somewhat as there was a bug that only
surfaced on clearing and refilling the playlist. The bug was due to the
way NSOutlineView reuses subviews.

Add screenshot with album play button

Move queue datasource and refactor view controller

Move album datasource out of the view controller
2019-02-22 13:09:09 -05:00
5d0e1c4719
Spacebar triggers play/pause
Use the responder chain to handle the keypress.
2019-02-22 11:58:56 -05:00
84d209a967
Add preference window with host and port 2019-02-21 08:16:41 -05:00
4b82d2070b
Move album layout to it's own Layout file 2019-02-20 08:26:25 -05:00
9bedbec407
Calling init() is implied 2019-02-16 18:56:13 -05:00
3e735893a2
Double clicking the header no longer plays a track 2019-02-16 18:56:12 -05:00