Opened 16 years ago
Closed 15 years ago
Last modified 15 years ago
#9441 closed Patch - Bug Fix (Fixed)
UPnP Music SQL fix
| Reported by: | Owned by: | beirdo | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.25 |
| Component: | MythTV - UPnP | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Current UPnP code produces following error when music albums are browsed:
2011-01-02 20:44:28.101 Error preparing query: SELECT song.song_id as intid, artist.artist_name as artist, album.album_name as album, song.name as title, genre.genre, song.year, song.track as tracknum, song.description, song.filename, song.length FROM music_songs song join music_artists artist on artist.artist_id = song.artist_id join music_albums album on album.album_id = song.album_id join music_genres genre on genre.genre_id = song.genre_id WHERE song.album_id=:KEY ORDER BY song.album_name LIMIT 0, 32767 2011-01-02 20:44:28.111 Driver error was [2/1054]: QMYSQL3: Unable to prepare statement Database error was: Unknown column 'song.album_name' in 'order clause'
Attached patch fixes the related SQL.
Attachments (1)
Change History (4)
by , 16 years ago
| Attachment: | be-upnp-music.patch added |
|---|
comment:1 by , 16 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 15 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | assigned → closed |
comment:3 by , 15 years ago
| Milestone: | unknown → 0.25 |
|---|
Note:
See TracTickets
for help on using tickets.

This change has been applied, closing this one :)