Ticket #1247: mythvideo-genrefilter.patch

File mythvideo-genrefilter.patch, 545 bytes (added by herbs@…, 18 years ago)

Allow mythvideo to filter via genre

  • mythvideo/mythvideo/videofilter.cpp

     
    140140    if (genre != -1)
    141141    {
    142142        condition = genre ? QString("= %1").arg(genre) : QString("IS NULL");
    143         where = QString(" AND videometadatagenre.idgenre %1").arg(condition);
     143        where += QString(" AND videometadatagenre.idgenre %1").arg(condition);
    144144    }
    145145   
    146146    if (country != -1)