From e8f4e5ece78eba07aa7a417f265b5bfac02cfe19 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 20 Jan 2022 14:54:51 -0800 Subject: [PATCH] SQLite store: Only store raw title field in database, rather than auto generated one --- Utils/SQLiteStore.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utils/SQLiteStore.m b/Utils/SQLiteStore.m index fd57956f3..512e0a39a 100644 --- a/Utils/SQLiteStore.m +++ b/Utils/SQLiteStore.m @@ -1028,7 +1028,7 @@ static SQLiteStore *g_sharedStore = NULL; int64_t albumId = [self addString:[track album]]; int64_t albumartistId = [self addString:[track albumartist]]; int64_t artistId = [self addString:[track artist]]; - int64_t titleId = [self addString:[track title]]; + int64_t titleId = [self addString:[track rawTitle]]; int64_t genreId = [self addString:[track genre]]; int64_t codecId = [self addString:[track codec]]; int64_t trackNr = [[track track] intValue]; @@ -1220,7 +1220,7 @@ static SQLiteStore *g_sharedStore = NULL; int64_t albumId = [self addString:[track album]]; int64_t albumartistId = [self addString:[track albumartist]]; int64_t artistId = [self addString:[track artist]]; - int64_t titleId = [self addString:[track title]]; + int64_t titleId = [self addString:[track rawTitle]]; int64_t genreId = [self addString:[track genre]]; int64_t codecId = [self addString:[track codec]]; int64_t trackNr = [[track track] intValue];