mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #638] Duplicate artists in Postgres #459
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#459
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @svalo on GitHub (Aug 18, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/638
Configuration:
OS: archlinux
Postgres version:9.6.3
MariaDB version:10.1.26-MariaDB
Php version: 7.1.8
Koel is configured using php-fpm + nginx
When using Postgres if 2 songs are from same artist but name differs for capital characters 2 distinct artists are created, this is different from what happens using mysql.
I read the docs, expecially this part regarding setting the collation to be case insensitive. Unluckily this is not possible in postgres.
An idea could be to insert the first occurrence of an artist as it appears and then do a case-insensitive check to see if the artist is already present in the DB. Is this possible to do or is this something concerning Eloquent?
@phanan commented on GitHub (Aug 19, 2017):
That part in the doc isn't meant for case-sensitivity. I think you can just correct the mp3 tag instead.