[mythtv-commits] Ticket #12752: Hangs at "Loading..." when browsing music to a letter in MythWeb
MythTV
noreply at mythtv.org
Mon Jul 18 18:32:19 UTC 2016
#12752: Hangs at "Loading..." when browsing music to a letter in MythWeb
----------------------------------+-------------------------
Reporter: ijc@… | Owner: stuarta
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.27.6
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-------------------------
Comment (by ijc@…):
Thanks!
I edited the file in 0.28 (from the 0.28-dmo0 debian multimedia package
with):
{{{
--- /tmp/mp3act_functions.php 2016-07-18 19:27:45.079200891 +0100
+++ /usr/share/mythtv/mythweb/modules/music/mp3act_functions.php
2016-07-18 19:28:08.803018212 +0100
@@ -279,7 +279,7 @@
"FROM music_artists " .
"GROUP BY artist_name_sort " .
"HAVING artist_name_sort " .
- "LIKE '" . $db->escape($itemid.'%') . "' " .
+ "LIKE " . $db->escape($itemid.'%') . " " .
"ORDER BY artist_name_sort";
}
$sh = $db->query($query);
}}}
and I can confirm that it fixed this issue.
I see several other instances of this pattern in the same file too, I
suppose they all need fixing.
Ian.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12752#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list