Stuff…
This commit is contained in:
27
TagTunes/LookupPreparationOperation.swift
Executable file
27
TagTunes/LookupPreparationOperation.swift
Executable file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// LookupPreparationOperation.swift
|
||||
// TagTunes
|
||||
//
|
||||
// Created by Kim Wittenburg on 12.04.16.
|
||||
// Copyright © 2016 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
import AppKitPlus
|
||||
|
||||
// TODO: Documentation
|
||||
|
||||
class LookupPreparationOperation: Operation {
|
||||
|
||||
let track: TagTunesTrack
|
||||
|
||||
init(track: TagTunesTrack) {
|
||||
self.track = track
|
||||
}
|
||||
|
||||
override func execute() {
|
||||
// TODO: Is it ok to block the thread?
|
||||
track.updateTrackID()
|
||||
finish()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user