kaffeine-devel Mailing List for Kaffeine
Brought to you by:
hftom,
lasselindqvist
You can subscribe to this list here.
2004 |
Jan
|
Feb
(58) |
Mar
(47) |
Apr
(74) |
May
(28) |
Jun
(4) |
Jul
(3) |
Aug
(5) |
Sep
(23) |
Oct
(29) |
Nov
(49) |
Dec
(33) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(16) |
Feb
(41) |
Mar
(52) |
Apr
(59) |
May
(37) |
Jun
(11) |
Jul
(26) |
Aug
(22) |
Sep
(19) |
Oct
(30) |
Nov
(6) |
Dec
(11) |
2006 |
Jan
(29) |
Feb
(23) |
Mar
(105) |
Apr
(14) |
May
(16) |
Jun
(20) |
Jul
(6) |
Aug
(15) |
Sep
(14) |
Oct
(25) |
Nov
(48) |
Dec
(63) |
2007 |
Jan
(32) |
Feb
(45) |
Mar
(31) |
Apr
(16) |
May
(41) |
Jun
(38) |
Jul
(56) |
Aug
(64) |
Sep
(18) |
Oct
(7) |
Nov
(9) |
Dec
(8) |
2008 |
Jan
(7) |
Feb
(10) |
Mar
(14) |
Apr
(1) |
May
(7) |
Jun
(24) |
Jul
(7) |
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(3) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(3) |
Nov
(19) |
Dec
(4) |
2010 |
Jan
|
Feb
(3) |
Mar
(5) |
Apr
(6) |
May
(12) |
Jun
(11) |
Jul
(3) |
Aug
(10) |
Sep
(19) |
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
(4) |
Feb
(7) |
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
(3) |
Nov
|
Dec
(1) |
2012 |
Jan
(5) |
Feb
(7) |
Mar
(8) |
Apr
(1) |
May
(4) |
Jun
|
Jul
(1) |
Aug
(6) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(7) |
Nov
(1) |
Dec
(3) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
From: Fabien R <the...@fr...> - 2014-11-04 07:49:51
|
On 17/10/2014 15:23, ManiacTwister wrote: > The PmtSection field in sqlite.db looks different than all others. > Unfortunately i'm not skilled enough to fix this crash. For debugging > puroposes i will link to my broken sqlite.db below[1]. The two affected > channels > are "EinsPlus HD" (Id: 803) and "Einsfestival HD" (Id: 805) For EinsPlus HD, PmtSection is BLOB (Size: 138) and for other channels, it starts with ° -- Fabien |
From: ManiacTwister <kd...@s7...> - 2014-10-17 13:24:09
|
Hello, Today i discovered a bug within kaffeine. The Problem seems to be an invalid PmtSection received while channel scan. I had two broken channels in my list and as soon as i switched to one of them kaffeine crashed with the following backtrace: > #0 0x00007f0d596ba85e in __memcpy_sse2_unaligned () from /usr/lib/libc.so.6 > #1 0x000000000046b0b2 in DvbSectionGenerator::initPmt (this=0x2b81cf0, pmtPid=5420, section=..., pids=...) at src/dvb/dvbsi.cpp:1061 > #2 0x000000000045181f in DvbLiveView::updatePids (this=this@entry=0x2afcba0, forcePatPmtUpdate=forcePatPmtUpdate@entry=true) at src/dvb/dvbliveview.cpp:568 > #3 0x00000000004519ea in DvbLiveView::pmtSectionChanged (this=this@entry=0x2afcba0, pmtSectionData=...) at src/dvb/dvbliveview.cpp:300 > #4 0x0000000000452a96 in DvbLiveView::playChannel (this=0x2afcba0, channel_=...) at src/dvb/dvbliveview.cpp:232 > #5 0x000000000046c1d6 in DvbTab::playChannel (this=0x2af5020, channel=..., index=...) at src/dvb/dvbtab.cpp:469 > #6 0x00007f0d5b24e30a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 > #7 0x00007f0d5a8b28b5 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib/libQtGui.so.4 > #8 0x00007f0d5a8f8b74 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 > #9 0x00007f0d5a40e58e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 > #10 0x00007f0d5a7ac1de in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 > #11 0x00007f0d5a8bbbf3 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 > #12 0x00007f0d5a8fa7f0 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 > #13 0x00007f0d5b23a6f6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 > #14 0x00007f0d5a3beeec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 > #15 0x00007f0d5a3c55ca in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 > #16 0x00007f0d5c1ab31a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 > #17 0x00007f0d5b23a58d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 > #18 0x00007f0d5a3c4dc3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 > #19 0x00007f0d5a43695b in ?? () from /usr/lib/libQtGui.so.4 > #20 0x00007f0d5a4353cc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 > #21 0x00007f0d5a45bf02 in ?? () from /usr/lib/libQtGui.so.4 > #22 0x00007f0d56001c7d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 > #23 0x00007f0d56001f68 in ?? () from /usr/lib/libglib-2.0.so.0 > #24 0x00007f0d5600201c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 > #25 0x00007f0d5b2672a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 > #26 0x00007f0d5a45bfb6 in ?? () from /usr/lib/libQtGui.so.4 > #27 0x00007f0d5b23915f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 > #28 0x00007f0d5b239455 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 > #29 0x00007f0d5b23e719 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 > #30 0x0000000000421da1 in main (argc=1, argv=0x7fffa978ef98) at src/main.cpp:79 The PmtSection field in sqlite.db looks different than all others. Unfortunately i'm not skilled enough to fix this crash. For debugging puroposes i will link to my broken sqlite.db below[1]. The two affected channels are "EinsPlus HD" (Id: 803) and "Einsfestival HD" (Id: 805) cheers [1] http://data.s7t.de/sqlite.db |
From: Fabien R <the...@fr...> - 2014-09-06 16:56:54
|
On 06/07/14 12:08, Christoph Pfister wrote: > 2014-06-30 8:42 GMT+02:00 Fabien R <the...@fr...>: >> On 02/12/2013 18:34, Christoph Pfister wrote: >>> - Git repository: KDE extragear; >>> https://projects.kde.org/projects/extragear/multimedia/kaffeine/repository >> Is it possible to put a repository on github ? > Theoretically, yes. Practically, you'll lose the KDE integration > (translations etc.); that's why I'm reluctant to take such a step. But > feel free to do so if you think that it makes sense (given that the > project is more or less dead anyway). > > Done. https://github.com/theedge123/kaffeine-vlc Hopefully, patches will come more easily :-) -- Fabien |
From: Christoph P. <chr...@gm...> - 2014-07-06 10:08:14
|
2014-06-30 8:42 GMT+02:00 Fabien R <the...@fr...>: > On 02/12/2013 18:34, Christoph Pfister wrote: >> - Git repository: KDE extragear; >> https://projects.kde.org/projects/extragear/multimedia/kaffeine/repository > > Is it possible to put a repository on github ? Theoretically, yes. Practically, you'll lose the KDE integration (translations etc.); that's why I'm reluctant to take such a step. But feel free to do so if you think that it makes sense (given that the project is more or less dead anyway). > -- > Fabien Christoph |
From: Fabien R <the...@fr...> - 2014-06-30 06:42:18
|
On 02/12/2013 18:34, Christoph Pfister wrote: > - Git repository: KDE extragear; > https://projects.kde.org/projects/extragear/multimedia/kaffeine/repository Is it possible to put a repository on github ? -- Fabien |
From: Christoph P. <chr...@gm...> - 2013-12-14 13:10:48
|
Hi Mario, 2013/12/9 Mario Fux KDE ML <kd...@un...>: <snip> > Depending on where you are on this planet I could send you a DVB-S card to > test and port Kaffeine. > > Christoph: > What do you think of migrating the code and mailing lists (etc.) from > sourceforge to KDE infrastructure? As far as I can tell, there's nothing to be done source-wise: The code is in a KDE extragear repository and it's integrated with ebn, l10n etc. The mailing lists and the release tarballs are easily relocated once the future direction is clear ... > Or would it even make sense to merge Kaffeine with the Plasma Media Center? Why not? There is a separation between dvb / ui / playback / ... in the Kaffeine sources, so it should be doable. But such a merge is still nontrivial and will need adaptations on both sides (time shifting and configuration stuff comes to my mind). And of course you should have the equipment to test the code ... Just to be clear what we are talking about: for example a satellite dish + something like [1]. [1] http://www.satboy.com/bilder/produkte/gross/100172_b2.png > Just my 2 Rappen > Mario :-) >> Regards, >> >> Christoph >> >> >> - Last released version (QT4 / KDE 4): Kaffeine 1.2.2 on 2011-04-04. >> >> This should still be stable enough for many purposes. >> >> - Bug tracker: https://bugs.kde.org/ >> >> - Git repository: KDE extragear; >> https://projects.kde.org/projects/extragear/multimedia/kaffeine/repository >> >> There is a transition from xine to vlc going on; needs some love. >> >> - Mailing lists / releases: hosted at sourceforge. >> >> - Home page: http://kaffeine.kde.org/ which is down at the moment (but >> can be reactivated if someone takes care of it); archived version: >> http://web.archive.org/web/20130613232503/http://kaffeine.kde.org/ >> >> - Varia: https://git.reviewboard.kde.org |
From: ManiacTwister <kd...@s7...> - 2013-12-09 02:16:54
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I will add the same check for timeshifts in another patch later on. cheers, - -- ManiacTwister http://maniactwister.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSpSRzAAoJEFE1binK7YW2bBsH/3GfLTsGRFdJ7CKq/KVR6Nsp guhmTjDMZkCiGZqT8+umXNqJfslAERE7sfgvxKZY9mjq+tr5iG9XiBD9+XtGoghH 7p/ZI6quYdt7XM0MctKgMS+jnkehgeYs1X390kLGTfqz2bUuuyqzjTWY3Cs2LvhR wXTGh5/UDoyFEoqr6CImdiVqxBYXpe5SOuqz4cnzNZ2+sXSUNBu1nO7x1QkfqQ+j 8xgRpPAN3ajevKcxFjrSKXz0tB0fghBEqcMB0yitMyVFqWMvXJWEnqHWvyO7R7g5 CO99UKgLKiYRCgCTrudpIjkuyZyiDzGQYLeO6vyPHWRxSpd5fmXeRZPHeAB7EM0= =Jrl+ -----END PGP SIGNATURE----- |
From: Christoph P. <chr...@gm...> - 2013-12-02 17:34:24
|
Hi guys, I know I should have done this step earlier. After taking over this project from Christophe Thommeret long ago and doing a lot of interesting stuff, I've been busy with real life in the past months (years) and the situation will not change in the future. As I'm unable to maintain Kaffeine in an appropriate manner, I've decided to abandon the project. Therefore I'm asking whether someone is interested in taking over maintainership; I've listed the current state of the project at the end of this mail. Unfortunately, I haven't been able to deal with patches earlier [ sorry guys! ], so I don't have a logical candidate or so. But if somebody is willing to take over [ you should know a bit about Qt and KDE and preferably have some Dvb / Atsc equipment at hand ], I will try to support the handover. Regards, Christoph - Last released version (QT4 / KDE 4): Kaffeine 1.2.2 on 2011-04-04. This should still be stable enough for many purposes. - Bug tracker: https://bugs.kde.org/ - Git repository: KDE extragear; https://projects.kde.org/projects/extragear/multimedia/kaffeine/repository There is a transition from xine to vlc going on; needs some love. - Mailing lists / releases: hosted at sourceforge. - Home page: http://kaffeine.kde.org/ which is down at the moment (but can be reactivated if someone takes care of it); archived version: http://web.archive.org/web/20130613232503/http://kaffeine.kde.org/ - Varia: https://git.reviewboard.kde.org |
From: Nils K. <ka...@gm...> - 2013-11-23 17:29:49
|
The kaffeine recording schedule for DVB recording has the option to repeat recordings on designated weekdays. When a repeated recording is finished, the next recording time is calculated but it ignores if the daylight saving time is in effect for the new start time. Therefore the next scheduled recordings start one hour too early / too late after the switch from normal time to daylight saving time and vice versa. To reproduce the issue, create a new entry for recording a show daily and quit kaffeine. If necessary, change your time zone to a place where DST is in use (e.g. my time zone is Europe/Berlin). Change the date of your machine to a date after the next switch to daylight saving time (e.g. 1st of April 2014) and start kaffeine again. Check the recording schedule - the start time has changed 1 hour. The attached patch fixes the issue for me. However it doesn't work if the scheduled recording starts within the missing hour during the switch from normal time to daylight saving time. Nils |
From: Stefan R. <li...@st...> - 2013-10-13 18:26:11
|
additional picture |
From: Stefan R. <li...@st...> - 2013-10-13 18:25:25
|
From: Stefan R. <li...@st...> - 2013-10-13 16:37:23
|
Hi, this is my Patch, that I wrote Stefan Am 13.10.2013 16:13, schrieb Zw0: > I replaced the "dvb_frontend_info.type" code with "FE_GET_PROPERTY" / > "DTV_ENUM_DELSYS" as you suggested. You should be able to use any combination > of (supported) delivery systems using the same frontend. > > I assume that the extra checks for "dvb_frontend_info.name" are not needed > anymore? At least my "Conexant CX24116/CX24118" is OK without. > > On Saturday 12 October 2013 15:53:32 Stefan Ringel wrote: >> Yes, but not complete. Have you read linuxtv doku? I missed the >> multifrontend support, I missed the using "DTV_ENUM_DELSYS" >> ("dvb_frontend_info.type" are deprecated!!!!). Can you use DVB-T and >> DVB-C over the same frontend path? >> >> Am 12.10.2013 15:50, schrieb Stefan Ringel: >>>> Hi, >>>> >>>> the attached patch should fix a bug when switching between DVB-S2 and >>>> DVB-S >>>> transponders. This for example caused Kaffeine to find "HD"-channels >>>> only.> >>>> >>>> I did a quick test with a DVB-S/S2 and a DVB-C device, both seem to >>>> work fine. >>>> >>>> Regards, >>>> Tobias |
From: Zw0 <pro...@on...> - 2013-10-13 14:14:05
|
I replaced the "dvb_frontend_info.type" code with "FE_GET_PROPERTY" / "DTV_ENUM_DELSYS" as you suggested. You should be able to use any combination of (supported) delivery systems using the same frontend. I assume that the extra checks for "dvb_frontend_info.name" are not needed anymore? At least my "Conexant CX24116/CX24118" is OK without. On Saturday 12 October 2013 15:53:32 Stefan Ringel wrote: > Yes, but not complete. Have you read linuxtv doku? I missed the > multifrontend support, I missed the using "DTV_ENUM_DELSYS" > ("dvb_frontend_info.type" are deprecated!!!!). Can you use DVB-T and > DVB-C over the same frontend path? > > Am 12.10.2013 15:50, schrieb Stefan Ringel: > >> Hi, > >> > >> the attached patch should fix a bug when switching between DVB-S2 and > >> DVB-S > >> transponders. This for example caused Kaffeine to find "HD"-channels > >> only.> > >> > >> I did a quick test with a DVB-S/S2 and a DVB-C device, both seem to > >> work fine. > >> > >> Regards, > >> Tobias |
From: Stefan R. <li...@st...> - 2013-10-12 14:06:58
|
Yes, but not complete. Have you read linuxtv doku? I missed the multifrontend support, I missed the using "DTV_ENUM_DELSYS" ("dvb_frontend_info.type" are deprecated!!!!). Can you use DVB-T and DVB-C over the same frontend path? Am 12.10.2013 15:50, schrieb Stefan Ringel: > > >> Hi, >> >> the attached patch should fix a bug when switching between DVB-S2 and >> DVB-S >> transponders. This for example caused Kaffeine to find "HD"-channels >> only.> >> >> I did a quick test with a DVB-S/S2 and a DVB-C device, both seem to >> work fine. >> >> Regards, >> Tobias > > > |
From: Stefan R. <li...@st...> - 2013-10-12 14:04:13
|
Yes, but not complete. Have you read linuxtv doku? I missed the multifrontend support, I missed the using "DTV_ENUM_DELSYS" ("dvb_frontend_info.type" are deprecated!!!!). Can you use DVB-T and DVB-T over the same frontend path? >Hi, > >the attached patch should fix a bug when switching between DVB-S2 and DVB-S >transponders. This for example caused Kaffeine to find "HD"-channels only.> > >I did a quick test with a DVB-S/S2 and a DVB-C device, both seem to work fine. > >Regards, >Tobias |
From: David B. <dc...@ho...> - 2013-10-04 10:35:51
|
Hello there, I just ran static analyser "cppcheck" over the source code of kaffeine-1.2.2 It said kaffeine-1.2.2/src/backend-xine/xineapplication.cpp:341]: (warning) Logical disjunction always evaluates to true: pixelAspectRatio>= 0.96 || pixelAspectRatio <= 1.04. Source code is if ((pixelAspectRatio>= 0.96) || (pixelAspectRatio <= 1.04)) { pixelAspectRatio = 1; } Suggest swap || for && Regards David Binderman |
From: Julien de R. <jul...@gm...> - 2013-09-16 22:16:12
|
Hello, I modified a little bit the code to use hw with vlc backend First, I added XInitThreads(); as the first instruction of main function in main.cpp. In vlcmediawidget.cpp I added, "--no-ignore-config" to arguments[] at VlcMediaWidget::init(). Hence, kaffeine use the configuration file stored in .config/vlc. I do not know exactly what is the role of XInitThreads(); but now the hw acceleration works. I tested it sucessfully with a HD mp4 file and also a HD dvb ts file recored with kaffeine. Regards, Julien |
From: Zw0 <pro...@on...> - 2013-09-16 13:06:20
|
Hi, the attached patch should fix a bug when switching between DVB-S2 and DVB-S transponders. This for example caused Kaffeine to find "HD"-channels only. I did a quick test with a DVB-S/S2 and a DVB-C device, both seem to work fine. Regards, Tobias |
From: <csh...@fr...> - 2012-10-14 16:35:28
|
-- New attempt with proper line breaks this time... Hello everyone,After using Kaffeine for a while, I have finally found the time to scratch a couple of little itches of mine that were bugging me. I wanted to share it with you in case you were interested on applying it.1. I use the file browser on the playlist tab extensively, and every time I started Kaffeine again, I had to navigate to my video folder. So I added functionality that saves the current folder on exit and starts the file browser at that directory upon restart.2. Sometimes I want to change my playlist around while watching a movie. What was bugging me was that when I the playlist, it stopped playing as well. I don't necessarily want that, because I might just like to organize my playlist for later. I know it makes less sense the way I like it, but for example amarok does it the same way too. 3. Since both options might be a matter of preference, I created them configurable through the Settings -> Configure Kaffeine dialog. As I said, I would like to share these little things with you, maybe you are interested in applying them to the master branch. Let me know if there are problems with the patch.Best regards and thank you for this great software!Christoph --- E-Mail ist da wo du bist! Jetzt mit freenetMail ganz bequem auch unterwegs E-Mails verschicken. Am besten gleich informieren unter http://mail.freenet.de/mobile-email/index.html |
From: <csh...@fr...> - 2012-10-14 15:51:20
|
Hello everyone,After using Kaffeine for a while, I have finally found the time to scratch a couple of little itches of mine that were bugging me. I wanted to share it with you in case you were interested on applying it.1. I use the file browser on the playlist tab extensively, and every time I started Kaffeine again, I had to navigate to my video folder. So I added functionality that saves the current folder on exit and starts the file browser at that directory upon restart.2. Sometimes I want to change my playlist around while watching a movie. What was bugging me was that when I the playlist, it stopped playing as well. I don't necessarily want that, because I might just like to organize my playlist for later. I know it makes less sense the way I like it, but for example amarok does it the same way too. 3. Since both options might be a matter of preference, I created them configurable through the Settings -> Configure Kaffeine dialog.As I said, I would like to share these little things with you, maybe you are interested in applying them to the master branch. Let me know if there are problems with the patch.Best regards and thank you for this great software!Christoph --- E-Mail ist da wo du bist! Jetzt mit freenetMail ganz bequem auch unterwegs E-Mails verschicken. Am besten gleich informieren unter http://mail.freenet.de/mobile-email/index.html |
From: DrEagle <dr...@do...> - 2012-08-19 18:05:19
|
Hi, Is it possible to get support of the Cine S2 : http://linuxtv.org/wiki/index.php/Linux4Media_cineS2_DVB-S2_Twin_Tuner A patch and plugin for vdr is available at : https://github.com/flensrocker/vdr-plugin-ddci Quote: Driver for the Common Interface Controller CXD2099AR. Supports the CI of the cineS2 DVB-S2. Data is passed through '/dev/dvb/adapterX/sec0': - Encrypted data must be written to 'sec0'. - Decrypted data can be read from 'sec0'. - Setup the CAM using device 'ca0'. >From : http://linuxtv.org/hg/~endriss/ngene-octopus-test/rev/6456a39587ed It shows two frontend in /dev/dvb and the third one is for CICAM with ca0 and sec0 only inside. Thanks in advance, Regards, Edit: How can I help to enhance the support of CICAM for DVBS ? I have some few dvb hadware to help testings : - USB TT3650-S2-CI - FireWire DigitalEverywhere (with CI) - PCIe CineS2 (with CI) - USB Technisat SkyStar Cheers |
From: DrEagle <dr...@do...> - 2012-08-19 18:00:16
|
Hi, I have modify the git sources with a quick & dirty patch to help Kaffeine working a little better. With this small fix I get a reset for camci when it is frozen. The bad feature of this bug is that kaffeine hang without my DVBS detected. I have only tested this patch with a technotrend USB TT-3650-S2-CI. It may be helpfull but need some rework. Regards, --- diff --git a/src/dvb/dvbcam_linux.cpp b/src/dvb/dvbcam_linux.cpp index 59e220f..49f2125 100644 --- a/src/dvb/dvbcam_linux.cpp +++ b/src/dvb/dvbcam_linux.cpp @@ -636,26 +636,28 @@ void DvbLinuxCam::sendTransportLayerMessage(TransportLayerTag tag, char *data, c uint length = uint(end - data); Q_ASSERT(length < 0x10000); - if (length < 0x80) { - *(--data) = (length & 0xff); - } else { - *(--data) = (length & 0xff); - *(--data) = ((length >> 8) & 0xff); - *(--data) = quint8(0x82); - } +// if (slot>-1) { + if (length < 0x80) { + *(--data) = (length & 0xff); + } else { + *(--data) = (length & 0xff); + *(--data) = ((length >> 8) & 0xff); + *(--data) = quint8(0x82); + } - *(--data) = tag; - *(--data) = ConnectionId; - *(--data) = (slot & 0xff); - length = uint(end - data); + *(--data) = tag; + *(--data) = ConnectionId; + *(--data) = (slot & 0xff); + length = uint(end - data); - if (write(caFd, data, length) != length) { - Log("DvbLinuxCam::sendTransportLayerMessage: cannot send message of length") << - length; - } + if (write(caFd, data, length) != length) { + Log("DvbLinuxCam::sendTransportLayerMessage: cannot send message of length") << + length; + } - pendingCommands |= ExpectingReply; - pollTimer.start(400); + pendingCommands |= ExpectingReply; + pollTimer.start(400); +// } } void DvbLinuxCam::sendSessionLayerMessage(SessionLayerTag tag, char *data, char *end) diff --git a/src/dvb/dvbdevice.cpp b/src/dvb/dvbdevice.cpp index 054381c..7649a08 100644 --- a/src/dvb/dvbdevice.cpp +++ b/src/dvb/dvbdevice.cpp @@ -653,7 +653,7 @@ bool DvbDevice::acquire(const DvbConfigBase *config_) setDeviceState(DeviceIdle); return true; } - + return false; } diff --git a/src/dvb/dvbdevice_linux.cpp b/src/dvb/dvbdevice_linux.cpp index ec6d617..c061ec7 100644 --- a/src/dvb/dvbdevice_linux.cpp +++ b/src/dvb/dvbdevice_linux.cpp @@ -199,11 +199,13 @@ void DvbLinuxDevice::setDeviceEnabled(bool enabled_) bool DvbLinuxDevice::acquire() { - Q_ASSERT(enabled && (frontendFd < 0) && (dvrFd < 0)); +// Q_ASSERT(enabled && (frontendFd < 0) && (dvrFd < 0)); frontendFd = open(QFile::encodeName(frontendPath).constData(), O_RDWR | O_NONBLOCK); +// setDeviceEnabled(false); if (frontendFd < 0) { Log("DvbLinuxDevice::acquire: cannot open frontend") << frontendPath; +// setDeviceEnabled(false); return false; } @@ -213,9 +215,11 @@ bool DvbLinuxDevice::acquire() Log("DvbLinuxDevice::acquire: cannot open dvr") << dvrPath; close(frontendFd); frontendFd = -1; +// setDeviceEnabled(false); return false; } +// setDeviceEnabled(true); return true; } diff --git a/src/dvb/dvbliveview.cpp b/src/dvb/dvbliveview.cpp index 305d25c..b458c13 100644 --- a/src/dvb/dvbliveview.cpp +++ b/src/dvb/dvbliveview.cpp @@ -187,6 +187,7 @@ void DvbLiveView::playChannel(const DvbSharedChannel &channel_) { DvbDevice *newDevice = NULL; +reset: if ((channel.constData() != NULL) && (channel->source == channel_->source) && (channel->transponder.corresponds(channel_->transponder))) { newDevice = manager->requestDevice(channel->source, channel->transponder, @@ -210,13 +211,22 @@ void DvbLiveView::playChannel(const DvbSharedChannel &channel_) KMessageBox::sorry(manager->getParentWidget(), i18nc("@info", "All devices are used for recordings.")); } else { +/* KMessageBox::information(manager->getParentWidget(), i18nc("@info", "No device found.")); +*/ + osdWidget->showText(i18nc("message box", "No device found."), + 2500); + Log("DvbLiveView::playChannel : No device found."); + usleep(100000); + goto reset; } return; } + playbackStatusChanged(MediaWidget::Playing); + internal->channelName = channel->name; internal->resetPipe(); mediaWidget->play(internal); @@ -298,11 +308,11 @@ void DvbLiveView::pmtSectionChanged(const QByteArray &pmtSectionData) } updatePids(true); - +/* if (channel->isScrambled) { device->startDescrambling(internal->pmtSectionData, this); } - +*/ if (internal->timeShiftFile.isOpen()) { return; } @@ -368,9 +378,17 @@ void DvbLiveView::deviceStateChanged() break; case DvbDevice::DeviceIdle: + if (channel->isScrambled) { + device->startDescrambling(internal->pmtSectionData, this); + } + break; case DvbDevice::DeviceRotorMoving: case DvbDevice::DeviceTuning: + break; case DvbDevice::DeviceTuned: + if (channel->isScrambled) { + device->startDescrambling(internal->pmtSectionData, this); + } break; } } diff --git a/src/dvb/dvbmanager.cpp b/src/dvb/dvbmanager.cpp index 192d0f3..6dd3fdf 100644 --- a/src/dvb/dvbmanager.cpp +++ b/src/dvb/dvbmanager.cpp @@ -101,6 +101,7 @@ DvbDevice *DvbManager::requestDevice(const QString &source, const DvbTransponder DvbDevice *device = it.device; if (!device->acquire(config.constData())) { + break; continue; } @@ -161,6 +162,7 @@ DvbDevice *DvbManager::requestExclusiveDevice(const QString &source) DvbDevice *device = it.device; if (!device->acquire(config.constData())) { + break; continue; } |
From: James <bjl...@lo...> - 2012-08-11 04:12:43
|
On 08/10/12 02:27, Eldon Tyrell wrote: > i believe it works like this, that's how i use it anyways : > > in kaff git root dir, create a "build" directory and go in it. > then use the command "cmake ..", then the usual "make" and "sudo make > install" > > if you need to specify configure options it's a little more complicated > with cmake, i actually don't know how to get the full list of options > the way it's done with "./configure --help". > I usually on use one or two predefined options > -DCMAKE_BUILD_TYPE=Release (or Debug) > -DCMAKE_INSTALL_PREFIX=/usr > > the command then looks like this, inside your "build" directory : > > "cmake -DCMAKE_INSTALL_PREFIX=/usr .." > > One last thing i noticed with cmake is that i don't know if it's > possible to completely reset the configuration, so if you change > something major in your libs such as libxine or v4l dvb versions for > example, then you have to delete your build dir and create a new empty > one and perform the same process.. > > good luck > > Marc > > > > On 08/10/2012 02:47 AM, James wrote: >> I need help getting kaffeine to compile. >> >> I use Gentoo and my packages are up-to-date. >> I did this and ran into a problem. >> >> >> git clone git://anongit.kde.org/kaffeine.git >> >> build # cmake ../src >> CMake Error at CMakeLists.txt:42 (kde4_add_executable): >> Unknown CMake command "kde4_add_executable". >> >> >> CMake Warning (dev) in CMakeLists.txt: >> No cmake_minimum_required command is present. A line of code such as >> >> cmake_minimum_required(VERSION 2.8) >> >> should be added at the top of the file. The version specified may be lower >> if you wish to support older CMake versions for this project. For more >> information run "cmake --help-policy CMP0000". >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> -- Configuring incomplete, errors occurred! >> Awesome. I was doing cmake ../src |
From: Eldon T. <dr....@gm...> - 2012-08-10 06:27:43
|
i believe it works like this, that's how i use it anyways : in kaff git root dir, create a "build" directory and go in it. then use the command "cmake ..", then the usual "make" and "sudo make install" if you need to specify configure options it's a little more complicated with cmake, i actually don't know how to get the full list of options the way it's done with "./configure --help". I usually on use one or two predefined options -DCMAKE_BUILD_TYPE=Release (or Debug) -DCMAKE_INSTALL_PREFIX=/usr the command then looks like this, inside your "build" directory : "cmake -DCMAKE_INSTALL_PREFIX=/usr .." One last thing i noticed with cmake is that i don't know if it's possible to completely reset the configuration, so if you change something major in your libs such as libxine or v4l dvb versions for example, then you have to delete your build dir and create a new empty one and perform the same process.. good luck Marc On 08/10/2012 02:47 AM, James wrote: > I need help getting kaffeine to compile. > > I use Gentoo and my packages are up-to-date. > I did this and ran into a problem. > > > git clone git://anongit.kde.org/kaffeine.git > > build # cmake ../src > CMake Error at CMakeLists.txt:42 (kde4_add_executable): > Unknown CMake command "kde4_add_executable". > > > CMake Warning (dev) in CMakeLists.txt: > No cmake_minimum_required command is present. A line of code such as > > cmake_minimum_required(VERSION 2.8) > > should be added at the top of the file. The version specified may be lower > if you wish to support older CMake versions for this project. For more > information run "cmake --help-policy CMP0000". > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Configuring incomplete, errors occurred! > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > kaffeine-devel mailing list > kaf...@li... > https://lists.sourceforge.net/lists/listinfo/kaffeine-devel > |
From: James <bjl...@lo...> - 2012-08-10 00:47:29
|
I need help getting kaffeine to compile. I use Gentoo and my packages are up-to-date. I did this and ran into a problem. git clone git://anongit.kde.org/kaffeine.git build # cmake ../src CMake Error at CMakeLists.txt:42 (kde4_add_executable): Unknown CMake command "kde4_add_executable". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! |