mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
Compare commits
2 Commits
770a01c604
...
b9d1c9efec
| Author | SHA1 | Date | |
|---|---|---|---|
| b9d1c9efec | |||
| 1077475552 |
@ -1221,7 +1221,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/libmpdclient/output",
|
"$(PROJECT_DIR)/libmpdclient/output",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = "0.16.0-alpha";
|
MARKETING_VERSION = "0.16.1-alpha";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.Persephone;
|
PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.Persephone;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
@ -1253,7 +1253,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/libmpdclient/output",
|
"$(PROJECT_DIR)/libmpdclient/output",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = "0.16.0-alpha";
|
MARKETING_VERSION = "0.16.1-alpha";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.Persephone;
|
PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.Persephone;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
|
|||||||
@ -111,7 +111,9 @@ extension MPDClient {
|
|||||||
func albumSongs(for album: MPDAlbum, callback: ([MPDSong]) -> Void) {
|
func albumSongs(for album: MPDAlbum, callback: ([MPDSong]) -> Void) {
|
||||||
guard isConnected else { return }
|
guard isConnected else { return }
|
||||||
|
|
||||||
let songs = searchSongs([MPDTag.album: album.title, MPDTag.albumArtist: album.artist])
|
let songs = searchSongs(
|
||||||
|
[MPDTag.album: album.title, MPDTag.albumArtist: album.artist]
|
||||||
|
)
|
||||||
|
|
||||||
callback(songs)
|
callback(songs)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -112,7 +112,9 @@ extension MPDClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func sendAddAlbumToQueue(album: MPDAlbum, at queuePos: Int) {
|
func sendAddAlbumToQueue(album: MPDAlbum, at queuePos: Int) {
|
||||||
let songs = searchSongs([MPDTag.album: album.title, MPDTag.artist: album.artist])
|
let songs = searchSongs(
|
||||||
|
[MPDTag.album: album.title, MPDTag.albumArtist: album.artist]
|
||||||
|
)
|
||||||
|
|
||||||
var insertPos = UInt32(queuePos)
|
var insertPos = UInt32(queuePos)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user