Permalink
Browse files

this fixes the upnp video sql query which was causing

playback to fail.
  • Loading branch information...
1 parent e801178 commit 0529ae1ce5420428ba7f320b698545a3bbfb4e4e @GreyFoxx GreyFoxx committed Jun 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/programs/mythbackend/upnpcdsvideo.cpp
@@ -90,7 +90,7 @@ void UPnpCDSVideo::BuildItemQuery( MSqlQuery &query, const QStringMap &mapParams
{
int nVideoID = mapParams[ "Id" ].toInt();
- QString sSQL = QString( "WHERE %1 AND intid=:VIDEOID ORDER BY title DESC" )
+ QString sSQL = QString( "%1 WHERE intid=:VIDEOID ORDER BY title DESC" )
.arg( GetItemListSQL( ) );
query.prepare( sSQL );

0 comments on commit 0529ae1

Please sign in to comment.