Ticket #3328: init-metadata.patch
File init-metadata.patch, 1.9 KB (added by , 19 years ago) |
---|
-
mythplugins/mythmusic/mythmusic/mainvisual.h
130 130 131 131 private: 132 132 VisualBase *vis; 133 InfoWidget* info_widget;134 133 Metadata *meta; 135 134 QPixmap pixmap; 136 135 QPtrList<VisualNode> nodes; 136 bool playing; 137 int fps; 137 138 QTimer *timer; 138 139 QTimer *bannerTimer; 139 bool playing; 140 int fps; 140 InfoWidget* info_widget; 141 141 142 142 QString current_visual_name; 143 143 }; -
mythplugins/mythmusic/mythmusic/metadata.cpp
1375 1375 /**************************************************************************/ 1376 1376 1377 1377 AlbumArtImages::AlbumArtImages(Metadata *metadata) 1378 : m_parent(metadata) 1378 1379 { 1379 m_parent = metadata;1380 1380 m_imageList.setAutoDelete(true); 1381 1381 1382 1382 findImages(); … … 1386 1386 { 1387 1387 m_imageList.clear(); 1388 1388 1389 if (m_parent == NULL) 1390 return; 1391 1389 1392 QFileInfo fi(m_parent->Filename()); 1390 1393 QString dir = fi.dirPath(true); 1391 1394 dir.remove(0, Metadata::GetStartdir().length()); -
mythplugins/mythmusic/mythmusic/mainvisual.cpp
77 77 } 78 78 79 79 MainVisual::MainVisual(QWidget *parent, const char *name) 80 : QWidget( parent, name ), vis( 0 ), playing( FALSE ), fps( 20 ) 80 : QWidget(parent, name), vis(0), meta(0), playing(FALSE), fps(20), 81 timer (0), bannerTimer(0), info_widget(0) 81 82 { 82 83 int screenwidth = 0, screenheight = 0; 83 84 float wmult = 0, hmult = 0;