Anzeigen der neuesten Beiträge
0 Mitglieder und 4 Gäste betrachten dieses Thema.
--- kevents.cpp~ 2007-03-21 14:00:22.000000000 +0100+++ kevents.cpp 2007-03-21 14:00:40.000000000 +0100@@ -304,6 +304,8 @@ sids.clear(); for ( j=0; j<(int)tlist->events.count(); desc = tlist->events.at(j);+ if ( desc->title.isEmpty() )+ continue; //if ( mode==1 && desc->tid>0x4f if ( sids.contains( desc->sid ) continue;@@ -333,8 +335,6 @@ begin = KGlobal::locale()->forma duration = desc->duration.toStri title = desc->title;- if ( title.isEmpty() )- continue;
Wird Zeit, dass du dich selbst auf kaffeine-devel registrierst
Am Samstag, 31. März 2007 08:00 schrieb Peter Imhoff:> Hi,>> maybe this problem is already known.> But I noticed that the third entry for the 'current channel' list> is often (always?) missing.> Two entries are always shown when you switch from one channel to another. It seems to me> as there might be an 'off by one'-error when adding> the rest of the list, e.g. starting with 3 instead of 2?...> Hope it helps...>> Kind regards,> Peter
- Eine Intelligente Suche wäre besser, wie z.B. "SIMPSONS: title" "simpsons : a title" ...
Was noch wirklich nützlich wäre ist im rechtsklick - menü neben "select icon" einen zweiter drop down eintrag aufzunehmen (Edit Channel), der direkt auf die Kanaleigenschaften öffnet. So hätte man eine schnelle Methode APIDS ect. zu ändern.
--- kaffeine/src/input/dvb/dvbpanel.cpp 2007/03/28 23:12:15 647633+++ kaffeine/src/input/dvb/dvbpanel.cpp 2007/04/26 18:00:34 658054@@ -53,6 +53,7 @@ #include "dvbevents.h" #include "kevents.h" #include "broadcasteditor.h"+#include "channeleditor.h" #define CHANICONSIZE 28 @@ -303,6 +304,7 @@ QPopupMenu *pop = new QPopupMenu(); pop->insertItem( i18n("Select icon..."), 1 );+ pop->insertItem( i18n("Edit..."), 2 ); i = 0; i = pop->exec( QCursor::pos() ); switch ( i ) {@@ -329,10 +331,59 @@ pix.save( dvbConfig->dvbConfigIconsDir+name, "PNG" ); fillChannelList(); break;+ case 2:+ if ( editChannel( name ) ) {+ fillChannelList();+ }+ break;+ } delete pop; } +bool DvbPanel::editChannel( QString &name )+{+ int j;+ ChannelDesc *chan=0;+ QStringList list;+ QPixmap pix;++ for ( j=0; j<(int)channels.count(); j++ ) {+ chan = channels.at(j);+ if ( chan->name==name ) {+ j = -1;+ list.append( chan->tp.source );+ break;+ }+ }+ if ( j==-1 ) {+ ChannelEditor dlg( list, false, chan, &channels, mainWidget );+ int ret = dlg.exec();+ if ( ret==ChannelEditor::Accepted ) {+ pix.load( dvbConfig->dvbConfigIconsDir+chan->name );+ if ( !pix.isNull() )+ chan->pix = pix;+ else {+ if ( chan->type==1 ) {+ if ( chan->fta )+ pix = tvcPix;+ else+ pix = tvPix;+ }+ else {+ if ( chan->fta )+ pix = racPix;+ else+ pix = raPix;+ }+ }+ return true;+ }+ }+ return false;+}++ void DvbPanel::getTargets( QStringList &uiNames, QStringList &iconNames, QStringList &targetNames )@@ -969,7 +1020,7 @@ getChannelList(); rtp = new Ts2Rtp(); rtp->setSocket( dvbConfig->broadcastAddress, dvbConfig->broadcastPort, dvbConfig->senderPort );- cleaner = new Cleaner( dvbConfig->shiftDir );+ cleaner = new Cleaner( dvbConfig->shiftDir, dvbConfig->recordDir ); split->setSizes( dvbConfig->splitSizes ); } @@ -997,7 +1048,7 @@ if ( ret==DvbConfigDialog::Rejected ) return; rtp->setSocket( dvbConfig->broadcastAddress, dvbConfig->broadcastPort, dvbConfig->senderPort );- cleaner->setPath( dvbConfig->shiftDir );+ cleaner->setPaths( dvbConfig->shiftDir, dvbConfig->recordDir ); }