[mythtv] Re: [PATCH] Add smart playlists to mythmusic

Isaac Richards ijr at case.edu
Sun Feb 6 06:52:55 UTC 2005


On Saturday 05 February 2005 02:19 pm, Paul wrote:
> Smart Playlist Patch v2

Cool.  Thanks for fixing this up for me.  I'm committing it to CVS very 
shortly.

> Both the quick playlists and the smartplaylist now use
> QSqlDriver::formatValue().
> I couldn't find any example code to work from in Myth or by searching the
> web.
> Not sure what the best way of getting a QSqlField for a field is but it all
> seems to
> work well.

I've simplified the formatValue function abit.  Got rid of the need for a 
Cursor, or to know what the field name is.

> On issue I did notice is the recent changes make to
> MythThemedDialog::paintEvent()
> causes the MythMusic screen to not redraw properly when returning from the
> SmartPlaylist editor dialog. You can only see the outer edges around the
> selection dialog
> but it clearly has not redrawn itself. If I comment out the recent changes
> the screen then
> redraws properly.

I can't reproduce this at all.  What theme are you using?  Which visualizer?  
Is it set to switch the vis on every song?

Isaac


More information about the mythtv-dev mailing list