add reading tags from pre-cached
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-24 07:51:03 +03:00
parent eef26aba0a
commit afacaf4f14
4 changed files with 35 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ type TelegramClient interface {
// Tagger определяет методы для работы с метаданными аудиофайлов.
type Tagger interface {
WriteTags(filePath string, coverPath string, info *model.TrackInfo) error
ReadMetadata(filePath string) (title, artist string, err error)
}
// FileDownloader определяет метод для скачивания файла.