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

268 Commits

Author SHA1 Message Date
91fa2f62dc
We're not using these any more 2019-12-06 17:52:58 -05:00
80597cdd56
Disable Musicbrainz artwork pref 2019-12-06 17:51:06 -05:00
e2149a2f3e
Add PNG's and change the search order for album art 2019-12-06 17:51:06 -05:00
c201ebaab6
Fix bug where playing a song or album crashes the app
Playing an album would only crash the app if the queue was empty before
trying to play.
2019-12-06 17:51:06 -05:00
bed09eb888
Fix bug with getting tracks for compilations 2019-12-06 17:51:05 -05:00
b712a8d00d
Use Kingfisher to fetch the notification album art 2019-12-06 17:51:05 -05:00
4322a25b8b
Get currently playing art using Kingfisher 2019-12-06 17:51:05 -05:00
d407f1e5f9
Get album browser artwork using Kingfisher 2019-12-06 17:51:05 -05:00
01428d8126
WIP 2019-12-06 17:51:05 -05:00
42d274058f
WIP: Get album metadata when fetching albums 2019-12-06 17:51:04 -05:00
4af3e7aead
WIP: Search 2019-12-06 17:51:04 -05:00
87d4f33b09
WIP: Search 2019-12-06 17:51:04 -05:00
9f8f3a6ecf
Little bit of tidy up 2019-12-06 17:44:03 -05:00
034eb6dca5
Bump the border radius a little 2019-11-02 20:25:36 -04:00
47ad36f12a
Better borders
The original border was not following the curve of the album cover
corners. Changing the background of the background box too fills in
these little gaps and makes the selection look cleaner.
2019-11-01 13:38:58 -04:00
da851365d6
Improve album art display
* Mask album art to rounded corners
* Add a black background colour for albums with non square artwork
2019-11-01 13:11:09 -04:00
7d0c50a8b7
We don't need this anymore as artist is in the metadata field 2019-11-01 13:10:23 -04:00
93d01d5176
Add year to album details display 2019-11-01 13:10:23 -04:00
3eae535be6
Remove the artist browser for now
Until we have a better idea of how it's going to work.
2019-11-01 13:09:41 -04:00
77cb053525
Fix bug where current playing track was not highlighted on load 2019-10-11 17:34:07 -04:00
0a318ce81e
Working artist browser 2019-10-11 13:55:07 -04:00
89320037b7
Show list of artists 2019-09-29 18:30:07 -04:00
ffd1f3f83a
WIP 2019-09-27 14:53:07 -04:00
deb34d6c3d
WIP 2019-09-27 13:38:52 -04:00
81200742df
We need to reset these on mouse up 2019-09-27 13:35:49 -04:00
cbe4d703a3
Allow a little bit of mouse movement to still register as a click 2019-09-27 13:35:49 -04:00
d232acc075
Use the indexPath version of these methods 2019-09-27 13:35:49 -04:00
53b759b723
Can drag an album onto the queue 2019-09-27 13:35:48 -04:00
23a1a2e8cf
Drag and drop works with detail view 2019-09-27 13:35:48 -04:00
52718cfcd6
WIP: Dragging works
We need to let drags through the button.
2019-09-27 13:35:48 -04:00
2f857c7da8
We're instantiating two controllers now 2019-08-02 15:33:14 -04:00
8301ed0780
Refactor MPDReducer away
These actions should not go through ReSwift.

* Remove Alamofire reference
* Upgrade ReSwift to 5
2019-08-02 15:23:44 -04:00
dc60049243
Add convenience initializer to NSPasteboardItem 2019-06-28 14:58:38 -04:00
1af2c939a2
We don't need to instantiate this separately 2019-06-22 13:48:27 -04:00
616880415f
Add and wire up "Play Next" song menu item 2019-06-22 13:48:27 -04:00
97f98e7a40
Add and wire up "Play Next" menu option 2019-06-22 13:48:27 -04:00
5b66ddb5a3
Some spacing tweaks 2019-06-22 13:48:26 -04:00
fa0816ce7c
Dragging song view resizes to fit contents 2019-06-22 13:48:26 -04:00
f687e89f9d
Drag songs with custom drag image 2019-06-22 13:48:26 -04:00
ba64fed16a
Drag album songs onto queue 2019-06-22 13:48:26 -04:00
1bd6edfb33
Turns out Swift can synthesize this! 2019-06-22 13:48:26 -04:00
2ff2e1c96f
Fix playing song not getting updated when moving a track 2019-06-22 13:48:26 -04:00
95323e8a6f
Drag and drop works properly now 2019-06-22 13:48:25 -04:00
aef5b8534b
Drag and drop moves tracks in queue
For some reason we're not seeing the insert indicator, and I can't
figure out why.
2019-06-22 13:48:25 -04:00
8c385d9c88
Only display queue context menu on songs 2019-06-22 13:48:25 -04:00
5416d793ad
Actually clear the queue 2019-06-22 13:48:25 -04:00
b2a80abe7b
Wire up main queue menu options 2019-06-22 13:48:25 -04:00
aecff619a2
Add queue play/remove menu 2019-06-22 13:48:24 -04:00
6fc7e09deb
Backspace to remove track from queue 2019-06-22 13:48:24 -04:00
5a9c2c0698
Context menu to remove tracks from queue 2019-06-22 13:48:24 -04:00
cd094c3a64
Implement top level song menu 2019-06-22 13:48:24 -04:00
e05698e766
Refactor getAlbumForSongs 2019-06-22 13:46:22 -04:00
44f2b1c238
Ooops, left this hanging around 2019-06-22 13:46:22 -04:00
7de6d59594
Add context menu for playing/adding songs 2019-06-22 13:45:45 -04:00
338dde08d3
Double click on a track to play it 2019-06-22 13:45:45 -04:00
998ddb60bc
Create shared AlbumDetailView and Popover
This prevents the app from creating a new one for every album, which was
not friendly on memory usage! (I saw the app hit 2.5GB of usage at one
point 😧)
2019-06-22 13:45:45 -04:00
0ee299a9c8
We don't need strong references here 2019-06-22 13:45:44 -04:00
2bac18187c
Draw separator lines on the song list table 2019-06-22 13:45:44 -04:00
31b764905a
WIP: Display tracks with duration
We also seem to have fixed the crashing bug! 🎉
2019-06-22 13:45:44 -04:00
63c55e1bd4
WIP: Add album detail view
TODO: Fix crash!
Unexpected outstanding background CATransaction
2019-06-22 13:45:44 -04:00
b81fde390a
Prep for 0.12.0-alpha release 2019-05-18 15:35:39 -04:00
04961af040
Fix 2x shuffle and repeat button icon position
Also, we don't need repeat 1 just yet
2019-05-18 15:27:21 -04:00
a7f8d50826
Fix tiny bug with queue display 2019-05-18 15:23:12 -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
2a1327031e
Handle closing and opening windows 2019-05-18 15:19:45 -04:00
ac66a2f49d
Add dynamic dock menu with "Now Playing" section
Inspired pretty heavily by iTunes.
2019-05-18 15:19:44 -04:00
2204d5428d
Remove tabbing from prefs window 2019-05-18 15:15:11 -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
5f19a7401d
Get album list from passed in state 2019-05-17 16:38:55 -04:00
edcfe49b19
Unsubscribe from the store if the view is deallocated 2019-05-10 15:31:07 -04:00
53b90a4a4a
Name the mpdSong 2019-05-10 15:30:59 -04:00
5591cda7fa
Remove NotificationsController and most == methods 2019-05-10 15:30:32 -04:00
ade8423a83
Fix bug that causes a crash when the playlist finishes 2019-05-10 11:09:11 -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
b311005393
We need to invalidate the timer on the main thread 2019-04-29 08:31:58 -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
63afa3ffce
Fix album reloading issue
All the albums were being forced to reload on update because they come
back with `unLoaded` cover art.
2019-04-27 21:14:59 -04:00
6e0c97492b
Some tweaks 2019-04-27 20:48:49 -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
d076ef311b
We need to run the timer on the main thread
This adds it to the main RunLoop.
2019-04-27 20:45:26 -04:00
5651276bd6
WIP: Big ReSwift refactor 2019-04-27 20:45:26 -04:00
89b26c4b8a
Fix crash on album end 2019-04-18 17:00:12 -04:00
3c9a18a9fe
Move notification into its own service 2019-04-14 20:09:32 -04:00