refactor: rework on MusicEx footer parser

This commit is contained in:
鲁树人
2024-07-06 20:32:26 +01:00
parent e010d1b308
commit 68e0c06246
3 changed files with 77 additions and 49 deletions

View File

@@ -98,6 +98,7 @@ func OpenMMKV(mmkvPath string, key string, logger *zap.Logger) error {
return nil
}
// /
func readKeyFromMMKVCustom(mid string) ([]byte, error) {
if streamKeyVault == nil {
return nil, fmt.Errorf("mmkv vault not loaded")