style(android): rename package audio_cache -> audiocache

detekt's PackageNaming rule rejects underscores in package names
(Kotlin/Java convention is lowercase, no separator). Renamed
com.fabledsword.minstrel.cache.audio_cache -> .audiocache.

Pattern for future multi-word subpackages: smush rather than _
separator (e.g. mutationqueue, synccontroller, when those land).
The on-disk audio_cache/ dir path inside the app cache (PlayerFactory.kt:41)
is unaffected — that's a filename string, not a package.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-23 12:16:23 -04:00
parent f031b186ba
commit 327ecb6757
3 changed files with 3 additions and 3 deletions
@@ -1,4 +1,4 @@
package com.fabledsword.minstrel.cache.audio_cache
package com.fabledsword.minstrel.cache.audiocache
/**
* Defaults for the 2-bucket audio cache. Matches the Flutter client.
@@ -11,7 +11,7 @@ import androidx.media3.datasource.cache.SimpleCache
import androidx.media3.datasource.okhttp.OkHttpDataSource
import androidx.media3.exoplayer.ExoPlayer
import androidx.media3.exoplayer.source.DefaultMediaSourceFactory
import com.fabledsword.minstrel.cache.audio_cache.CacheConfig
import com.fabledsword.minstrel.cache.audiocache.CacheConfig
import dagger.hilt.android.qualifiers.ApplicationContext
import okhttp3.OkHttpClient
import java.io.File
@@ -1,6 +1,6 @@
package com.fabledsword.minstrel.player
import com.fabledsword.minstrel.cache.audio_cache.CacheConfig
import com.fabledsword.minstrel.cache.audiocache.CacheConfig
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn