feat: complete media discovery
This commit is contained in:
@@ -70,9 +70,9 @@ func (s Store) Hashes() []string {
|
||||
}
|
||||
|
||||
// Exists
|
||||
func (s Store) Exists(name string) bool {
|
||||
func (s Store) HashExists(hash string) bool {
|
||||
for _, m := range s {
|
||||
if m.Name == name {
|
||||
if m.Hash == hash {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user