Skip to content

Commit

Permalink
this fixes the upnp video sql query which was causing
Browse files Browse the repository at this point in the history
playback to fail.
  • Loading branch information
GreyFoxx committed Jun 2, 2011
1 parent e801178 commit 0529ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/upnpcdsvideo.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 0529ae1

Please sign in to comment.