mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
24 lines
451 B
Swift
24 lines
451 B
Swift
//
|
|
// Album.swift
|
|
// Persephone
|
|
//
|
|
// Created by Daniel Barber on 2019/2/09.
|
|
// Copyright © 2019 Dan Barber. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension MPDClient {
|
|
struct MPDAlbum: Equatable {
|
|
let title: String
|
|
let artist: String
|
|
var firstSong: MPDSong?
|
|
var date: String?
|
|
|
|
static func == (lhs: MPDAlbum, rhs: MPDAlbum) -> Bool {
|
|
return lhs.title == rhs.title &&
|
|
lhs.artist == rhs.artist
|
|
}
|
|
}
|
|
}
|