mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-12 06:00:19 +02:00
feat: improve Tidal metadata (copyright, album artist), remove Qobuz metadata search fallback, fix DATE/YAR tag sync
This commit is contained in:
@@ -1978,8 +1978,14 @@ class FFmpegService {
|
||||
break;
|
||||
case 'DATE':
|
||||
vorbis['DATE'] = value;
|
||||
final yearMatch = RegExp(r'^(\d{4})').firstMatch(value);
|
||||
if (yearMatch != null &&
|
||||
(!vorbis.containsKey('YEAR') || vorbis['YEAR']!.isEmpty)) {
|
||||
vorbis['YEAR'] = yearMatch.group(1)!;
|
||||
}
|
||||
break;
|
||||
case 'YEAR':
|
||||
vorbis['YEAR'] = value;
|
||||
if (!vorbis.containsKey('DATE') || vorbis['DATE']!.isEmpty) {
|
||||
vorbis['DATE'] = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user