[mythtv-commits] Ticket #12949: musicscanner: Compare music_directory.path as binary
MythTV
noreply at mythtv.org
Thu Dec 29 11:42:28 UTC 2016
#12949: musicscanner: Compare music_directory.path as binary
----------------------------------+-----------------------------
Reporter: Ian Campbell <ijc@…> | Owner: paulh
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.28.1
Component: Plugin - MythMusic | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by Ian Campbell <ijc@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"258ba1fc3e6ab39c93450f276406671599f63a5d/mythtv"]:
{{{
#!CommitTicketReference repository="mythtv"
revision="258ba1fc3e6ab39c93450f276406671599f63a5d"
musicscanner: Compare music_directory.path as binary
SQL string comparisons are case insensitive by default (who knew!),
meaning
that a music rescan will not pickup a renamed directory if it differs only
in
the case.
Use BINARY rather than arranging for a case-sensitive comparison because
the
latter still considers 'a' and 'á' equal but for paths we need literal
binary
sameness.
Apply the same logic to music_songs.filename, although I've not tripped
over a
related issue there.
Fixes #12949.
Signed-off-by: Paul Harrison <pharrison at mythtv.org>
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12949#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list