mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-30 07:48:51 +02:00
Pure mechanical move within package gobackend — no signature or behavior
change, so the gomobile binding surface is identical. exports.go (4,141
lines) now holds only availability/dir/duplicate/filename exports; the
rest moved to exports_{musicbrainz,download,reenrich,metadata,lyrics,
deezer,extensions,store,library}.go along existing responsibility
boundaries.
38 lines
1.1 KiB
Go
38 lines
1.1 KiB
Go
package gobackend
|
|
|
|
func SetLibraryCoverCacheDirJSON(cacheDir string) {
|
|
SetLibraryCoverCacheDir(cacheDir)
|
|
}
|
|
|
|
func ScanLibraryFolderJSON(folderPath string) (string, error) {
|
|
return ScanLibraryFolder(folderPath)
|
|
}
|
|
|
|
func ScanLibraryFolderIncrementalJSON(folderPath, existingFilesJSON string) (string, error) {
|
|
return ScanLibraryFolderIncremental(folderPath, existingFilesJSON)
|
|
}
|
|
|
|
func ScanLibraryFolderIncrementalFromSnapshotJSON(folderPath, snapshotPath string) (string, error) {
|
|
return ScanLibraryFolderIncrementalFromSnapshot(folderPath, snapshotPath)
|
|
}
|
|
|
|
func GetLibraryScanProgressJSON() string {
|
|
return GetLibraryScanProgress()
|
|
}
|
|
|
|
func CancelLibraryScanJSON() {
|
|
CancelLibraryScan()
|
|
}
|
|
|
|
func ReadAudioMetadataJSON(filePath string) (string, error) {
|
|
return ReadAudioMetadata(filePath)
|
|
}
|
|
|
|
func ReadAudioMetadataWithHintJSON(filePath, displayName string) (string, error) {
|
|
return ReadAudioMetadataWithDisplayName(filePath, displayName)
|
|
}
|
|
|
|
func ReadAudioMetadataWithHintAndCoverCacheKeyJSON(filePath, displayName, coverCacheKey string) (string, error) {
|
|
return ReadAudioMetadataWithDisplayNameAndCoverCacheKey(filePath, displayName, coverCacheKey)
|
|
}
|