Open GoogleCodeExporter opened 9 years ago
Same issue here. Seems that the SQL query that is send to XBMC is no longer
valid with recent XBMC builds:
SELECT idAlbum, strAlbum, strArtist, iYear, strThumb FROM albumview WHERE
albumview.strAlbum <> '' ORDER BY lower(strAlbum) ASC
the column strArtist is renamed to strArtists and the column strThumb does no
longer exist.
Perhaps the queries should be made XBCM-version aware?
Original comment by basrie...@gmail.com
on 18 Aug 2012 at 8:31
I fixed it in my dataase by modifying the albumview and songview to have a
strArtist=strArtists and strThumb = "none"
Original comment by basrie...@gmail.com
on 18 Aug 2012 at 9:04
Cool - I'm no dev, so can you give me a quick pointer to how to amend that for
myself?
Matt
Original comment by matthew....@gmail.com
on 18 Aug 2012 at 9:36
Do you have a MySQL setup or not? If you do not have a MySQL set, then you can
simple download SQL Lite Export Personal and open your MyMusic27.db (the number
could be different). BACKUP THE FILE just to make sure.
Select the albumview, then select the Design tab and past the following just
before the " from albums......"
, album.strArtists AS strArtist
, 'None' AS strThumb
Then click "apply". Then open the songview and add these lines just before the
" FROM song......"
, song.strArtists as strArtist
, 'None' as strThumb
Click "apply" that should do the trick.
Original comment by basrie...@gmail.com
on 18 Aug 2012 at 9:41
Thanks!
Original comment by matthew....@gmail.com
on 18 Aug 2012 at 9:44
[deleted comment]
Oh, if you do have a MySQL setup, then you need to edit the same views in the
MySQL database (using some editor) and don't forget that the table and
columnnames have `. So they look like:
`album`.`strArtists` as `strArtist`
AND: after each database version update (with new XBMC versions or nightlies),
you loose these changes and you need to re-apply them.
Original comment by basrie...@gmail.com
on 18 Aug 2012 at 9:44
Original issue reported on code.google.com by
matthew....@gmail.com
on 15 Aug 2012 at 8:36