Compare commits

...

679 Commits

Author SHA1 Message Date
Stephan Raue
34251ce19e config/version: set version to 3.0.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-16 21:34:50 +02:00
Stephan Raue
7bec817c62 xbmc: update to xbmc-12.1.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-16 19:06:14 +02:00
Stephan Raue
558aaffd5a bcm2835-bootloader: fill INSTALL file with some infos
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-16 16:20:40 +02:00
Stephan Raue
86724c9b87 pmtools: update to pmtools-20110323
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-16 16:16:10 +02:00
Daniel Forsberg
46a1abc03c lirc_rpi: added vista mce, some Harmonys use this. and changed BACK to EXIT, it is missing in Lircmap.xml 2013-04-15 21:38:39 +02:00
Stephan Raue
6308070ac2 xbmc: update to xbmc-12.1.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-15 19:52:55 +02:00
Stephan Raue
8c476b3056 boost: update to boost-1_53_0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-15 18:10:26 +02:00
Stephan Raue
30d5dda637 diskdev_cmds: readd fsck udev rule
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-14 21:05:53 +02:00
Roger James
f85652573f Fix for issue #1987 The problem exists in the jmicron 1.0.8.5 source. The problem has been fixed in the vanilla kernel. This patch file appears to be generated by diffing the vanilla kernel source and the jmicron source, thus introducing the problem to the build. This changeset edits the patch file to remove the problem. This is not ideal as this fix will be easily lost if a new patch file is generated. The best solution would be to fix the problem in the original jmicron source. However this dpoes not appear to possible at the moment. 2013-04-14 19:54:01 +02:00
Stephan Raue
1db6430a0c linux: add network related upstream patches, backported from 3.8.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-14 17:16:01 +02:00
Stefan Saraev
5bd4e7e1bb dvb-firmware: update to dvb-firmware-0.0.33 2013-04-14 16:55:06 +02:00
Stephan Raue
10e3f72ede linux: add upstream patches, backported from 3.8.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-14 16:54:10 +02:00
Stephan Raue
6efdba41f7 alsa-lib: update to alsa-lib-1.0.27
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-13 18:28:46 +02:00
Stephan Raue
449394cfd6 alsa-plugins: update to alsa-plugins-1.0.27
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-13 18:28:18 +02:00
Stephan Raue
ff6f06149f alsa-utils: update to alsa-utils-1.0.27
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-13 18:27:59 +02:00
Stephan Raue
919d71078b ffmpeg: move patches in own versioning dir
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-13 10:44:51 +02:00
Stephan Raue
2a2a8cda2c gcc: update to gcc-4.7.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-13 10:43:39 +02:00
Stephan Raue
f55a83afcb xbmc: rename patches, cleanup patch order
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-11 15:01:08 +02:00
Stephan Raue
3ce4418833 xbmc: update XVBA/VDPAU patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-11 15:00:44 +02:00
Stephan Raue
cf2f80badf xbmc: update to xbmc-12.1.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-11 15:00:37 +02:00
Stephan Raue
307cf64bfb xbmc: add PR2558
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-10 01:05:31 +02:00
Stephan Raue
0e5e0a9e04 xbmc: add PR2581
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-10 01:04:47 +02:00
Stephan Raue
83688801c7 config/version: set version back to 'devel'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-09 21:52:10 +02:00
Stephan Raue
fcaac62c5f xbmc: update to xbmc-12.1.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-09 19:50:26 +02:00
Stephan Raue
b96a7982ac xbmc: update to xbmc-12.1.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-09 19:47:12 +02:00
Stephan Raue
74881c1fd2 xbmc: readd Hi10p patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:56:55 +02:00
Stephan Raue
593b769300 systemd: update to systemd-200
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:21:52 +02:00
Stephan Raue
477ade7b16 inputproto: update to inputproto-2.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:20:39 +02:00
Stephan Raue
036bcad109 libXi: depends on package 'inputproto'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:20:21 +02:00
Stephan Raue
473b14446a xproto: update to xproto-7.0.24
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:20:02 +02:00
Stephan Raue
ce45d89896 libXi: update to libXi-1.7.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:19:46 +02:00
Stephan Raue
321b9dcd34 xf86-video-intel: update to xf86-video-intel-2.21.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:19:22 +02:00
Stephan Raue
950033c06e xbmc: move 12.1 patches to own dir
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:15:32 +02:00
Stephan Raue
a18834178b xbmc: add PR2539
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:14:34 +02:00
Stephan Raue
14c18a2de5 xbmc: add PR2491
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:14:14 +02:00
Stephan Raue
9553f6c11c xbmc: add PR2459
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-08 16:13:53 +02:00
Stephan Raue
22b62bed59 xbmc: add some upstream fixes
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-07 13:35:33 +02:00
Stephan Raue
d1ff72f766 xbmc: add PR2435
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-07 13:35:13 +02:00
Stephan Raue
32502a5cf6 xbmc: add PR2549
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-07 13:34:54 +02:00
Stephan Raue
6fa2333414 xbmc: add PR2537
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-07 13:34:35 +02:00
Stephan Raue
152ceec969 xbmc: add dvdplayer fixes, sync omxplayer with dvdplayer
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-07 13:34:07 +02:00
vpeter4
6fbb705947 acpica: no need to crosscompile patch 2013-04-07 13:33:17 +02:00
Dag Wieers
0e0a7de92f Add a newline at the end of the file, without it it seems to fail ? 2013-04-07 13:32:58 +02:00
Stephan Raue
f02dead4a7 acpica: update to acpica-unix2-20130328
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-07 13:32:33 +02:00
Stephan Raue
ed1cb4be13 bcm2835-bootloader: update to bcm2835-bootloader-baa3ecf
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-05 14:46:52 +02:00
Stephan Raue
29092e2ce5 bcm2835-driver: update to bcm2835-driver-baa3ecf
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-05 14:46:31 +02:00
Stephan Raue
114a9fb370 projects/RPi/patches/linux: update RPi patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-05 14:45:59 +02:00
Stephan Raue
9d21adb6f3 linux-3.6.11: cleanup not needed patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-05 14:43:18 +02:00
Stephan Raue
a36921fbe6 xbmc: add various upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-05 12:05:36 +02:00
Stefan Saraev
c8f3e6708b dvb-firmware: update to dvb-firmware-0.0.32 2013-04-05 12:05:17 +02:00
Stefan Saraev
6256e166aa xbmc: add PR2505 2013-04-05 12:04:44 +02:00
Stephan Raue
a3c3fa5cce ppl: update to ppl-1.1pre7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-05 12:04:24 +02:00
Stephan Raue
573e184cf5 gmp: update to gmp-5.1.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-05 12:04:08 +02:00
vpeter4
fe325e7aed gettext: do not use emacs 2013-04-05 12:03:43 +02:00
Stephan Raue
b088522f57 systemd: update to systemd-199
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-05 12:02:36 +02:00
Stephan Raue
12f55ac1c6 Revert "binutils: update to binutils-2.23.2"
This reverts commit 2c4bfc4696.

This fixes compiling issues with package 'gmp' for 'arm'
2013-03-28 23:01:20 +01:00
Stefan Saraev
b70a270365 tvheadend: update to tvheadend-3.3.511 2013-03-28 22:59:53 +01:00
vpeter4
a1a9217f8e linux: support for TechniSat SkyStar S2 card with CX24120-13Z frontend this closes #2100, discussion http://openelec.tv/forum/83-dvb-s-s2-support/63061-technisat-skystar-s2-pci-not-supported#66807 patch from Jannis Achstetter http://patchwork.linuxtv.org/patch/10575/ originally made by Sergey Tyurin 2013-03-28 22:58:49 +01:00
Christian Hewitt
91aa5ed603 projects/ATV: add xorg defaults for Component/HDMI
ensures Xorg selects 1080p for HDMI and 720p for Component when available (Component 1080i can be selected within XBMC if the TV can handle it, not all can)
2013-03-28 22:58:11 +01:00
Stephan Raue
f298846adb Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-27 02:02:06 +01:00
Stephan Raue
210b1e85d7 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-27 02:01:16 +01:00
Stephan Raue
95c89a8fcc xf86-input-evdev:update to xf86-input-evdev-2.8.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-27 02:00:46 +01:00
Stephan Raue
2c4bfc4696 binutils: update to binutils-2.23.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-27 02:00:46 +01:00
Stephan Raue
b145e22f78 sqlite: update to sqlite-autoconf-3071600
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-27 02:00:46 +01:00
Stephan Raue
ba4f137c73 file: update to file-5.14
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-27 02:00:45 +01:00
Stefan Saraev
3f94aca091 linux-tbs-drivers: update to linux-tbs-drivers-130318 2013-03-26 19:20:55 +02:00
Stephan Raue
767ec892e2 config/version: fix last commit
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-25 00:48:42 +01:00
Stephan Raue
07063e9a40 config/version: set version to 3.0.0 (OpenELEC-3.0 Final)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-25 00:45:54 +01:00
Stephan Raue
0121c1e36b Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-24 23:19:17 +01:00
Stephan Raue
6cb43ead57 xbmc: add PR2475
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-24 23:16:48 +01:00
Stephan Raue
7262ed18e4 CHANGELOG: update CHANGELOG
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-24 15:46:49 +01:00
Stephan Raue
3771c8eb3a Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-24 15:45:40 +01:00
Stephan Raue
ed925ce674 Merge pull request #2120 from stefansaraev/openssh
openssh: add cosmetic patch to silence 'no such identity: xxxx' errors
2013-03-24 07:40:00 -07:00
Stefan Saraev
60d8f22457 openssh: add cosmetic patch to silence 'no such identity: xxxx' errors 2013-03-24 15:06:00 +02:00
Stefan Saraev
4b9b515e15 oscam: update to oscam-8568 2013-03-24 14:42:25 +02:00
Stefan Saraev
8f8843c937 Merge pull request #2118 from vpeter4/sundtek
sundtek, hdhomerun: improved python script to refresh tuners
2013-03-24 04:34:28 -07:00
vpeter4
ea51339ad4 sundtek, hdhomerun: improved python script to refresh tuners 2013-03-24 11:21:15 +01:00
Stephan Raue
bc003a1070 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-23 20:38:01 +01:00
Stephan Raue
3e01e22216 Merge pull request #2116 from stefansaraev/discl
addons: 'disclaimer' support
2013-03-23 12:01:08 -07:00
Stephan Raue
0e0f3fb7c5 Merge pull request #2114 from jenkins101/lirc_xbox
lirc_xbox: Added Xbox 360 Remote.
2013-03-23 12:00:30 -07:00
Stephan Raue
b8e7542999 xbmc: add PR2488
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-23 19:59:12 +01:00
Stefan Saraev
9b7cab907b addons: 'disclaimer' support 2013-03-23 20:02:26 +02:00
Stephan Raue
5c23e3fabc Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-23 16:41:28 +01:00
Stephan Raue
725aba8db0 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-23 16:40:12 +01:00
Stephan Raue
cf901d6522 openssh: update to openssh-6.2p1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-23 16:39:56 +01:00
Stephan Raue
40d6f0578e Merge pull request #2113 from jenkins101/lirc-keymaps
lirc_rpi: Added Xbox 360 and Dreambox Remotes.
2013-03-23 08:06:07 -07:00
Daniel Forsberg
fdd2a2eb1e lirc_rpi: fixed repeats, clenups 2013-03-23 15:45:31 +01:00
Daniel Forsberg
d63f3bdb8d lirc_xbox: Added Xbox 360 Remote. 2013-03-23 11:21:15 +01:00
Daniel Forsberg
ea82652eb9 lirc_rpi: Added Xbox 360 and Dreambox Remotes. 2013-03-23 11:18:43 +01:00
Stephan Raue
4c2eb77ff9 Revert "projects/RPi: update RPi kernel patches"
This reverts commit ff0b3b6465.
2013-03-23 02:44:36 +01:00
Stephan Raue
15505f80ca Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-22 22:27:14 +01:00
Stephan Raue
093234a14d busybox-initramfs: add support to update MACH_KERNEL for ATV1, simplyfing cleaning of update folder
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-22 22:26:25 +01:00
Stephan Raue
b7852952ba Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-22 20:21:58 +01:00
Stephan Raue
2737a78b57 connman: add upstream patch to fix tethering without running dnsproxy
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-22 20:21:09 +01:00
Stephan Raue
2b840b1dd5 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-22 20:05:44 +01:00
Stephan Raue
ba3b984460 timezone-data: dont set timezone in installer mode
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-22 20:05:28 +01:00
Stephan Raue
902ae4a600 busybox: dont start various init scripts in installer mode
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-22 20:04:47 +01:00
Stefan Saraev
8d68698bdb busybox: implement a custom 'shutdown' script. use with care!
closes #2097
2013-03-22 20:07:53 +02:00
Stefan Saraev
b4886ff7cd xbmc: init: don't write directly to logfile, use 'logger' instead 2013-03-22 20:07:48 +02:00
Stefan Saraev
f056ffee6b Merge pull request #2109 from vpeter4/liveusb
oeinstaller, create_livestick*: get rid of white screen during boot
2013-03-22 10:36:18 -07:00
vpeter4
d1edf6f772 oeinstaller, create_livestick*: get rid of white screen during boot 2013-03-22 18:27:29 +01:00
Stefan Saraev
d4275b65d7 fix typo in create_livestick.bat 2013-03-22 18:58:34 +02:00
Stephan Raue
1a97097a30 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-22 12:22:15 +01:00
Stephan Raue
a2000b86c0 Merge pull request #2108 from vpeter4/liveusb
oeinstaller, create_livestick*: updated syslinux.cfg
2013-03-22 04:20:22 -07:00
vpeter4
78dc13c2f9 oeinstaller, create_livestick*: updated syslinux.cfg, add boot menu splash image 2013-03-22 12:16:05 +01:00
Stephan Raue
58aaa9f266 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-22 08:00:52 +01:00
Stephan Raue
70e6533397 scripts/git_version: fix script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-22 08:00:17 +01:00
Stephan Raue
ffc8962357 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-22 07:12:12 +01:00
Christian Hewitt
20a1612253 atv: xorg.conf improvements
changes:

a) nvidia-auto-select can detect presence of TV-0 or DFP-0, but without TVStandard the TV-0 modepool does not contain 1080i or 720p modes and users probably see a black screen. TVStandard is ignored if DFP-0: is the active device

b) removing the extension section and Composite="false" as this has not been supported for some time
2013-03-22 08:12:45 +04:00
Stephan Raue
6069dd14c4 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-21 23:24:47 +01:00
Stephan Raue
2e9cbc83e1 eglibc: add gai.conf and enable support to prefer ipv4 over ipv6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 23:23:51 +01:00
Stephan Raue
7b4edccf81 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-21 22:13:13 +01:00
Stefan Saraev
43a2a0d5c0 create_installstick: rename to create_livestick.exe 2013-03-21 22:59:54 +02:00
Stefan Saraev
6b9e43b8d6 tools: add updated create_installstick.exe 2013-03-21 22:53:02 +02:00
Stefan Saraev
73ed78fbbd Merge pull request #2106 from vpeter4/liveusb
oeinstaller: boot menu (Installer + Live)
2013-03-21 13:51:59 -07:00
vpeter4
6b4e607288 oeinstaller: boot menu (Installer + Live) 2013-03-21 21:30:02 +01:00
Stephan Raue
44bc649684 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-21 18:33:40 +01:00
Stephan Raue
27bf55215b Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-21 18:33:01 +01:00
Stephan Raue
f73054755f xf86-video-intel: update to xf86-video-intel-2.21.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 18:32:40 +01:00
Stephan Raue
19d7e8ee43 xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 18:28:53 +01:00
Stephan Raue
ff28651650 xbmc: update XVBA/VDPAU patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 18:28:33 +01:00
Stefan Saraev
9bc26c1bc7 Merge pull request #2101 from dagwieers/tvheadend-typo
Fix weird typo
2013-03-21 07:24:28 -07:00
Dag Wieers
7e118a4dad Fix weird typo
Not sure what happened here, but obviously ADEND_ARG should have been TVHEADEND_ARG.
Completely clueness how this has come about.
2013-03-21 15:08:22 +01:00
Stefan Saraev
01a5422d0b tvheadend: add patch to stop constant updating of dvb mux configuration files
fixes #2051
2013-03-21 12:50:32 +02:00
Stefan Saraev
ec9172bb6f tvheadend: add patch to move some cwc/capmt log messages to debug (syslog) 2013-03-21 12:49:23 +02:00
Stephan Raue
c5dbf3d94f Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-21 05:31:54 +01:00
Stephan Raue
cc7e9e85af create_livestick.bat: install vesamenu.c32
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 05:31:27 +01:00
Stephan Raue
fa51bfcf57 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-21 05:10:59 +01:00
Stephan Raue
8c5eecfb37 busybox-initramfs: some better descriptions
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 05:09:57 +01:00
Stephan Raue
7e4af5d0ab syslinux: rename install scripts, change script comments
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 05:02:32 +01:00
Stephan Raue
b97a1d80b7 syslinux: add bootmenu to install stick, add Live stick support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 04:56:36 +01:00
Stephan Raue
7ff4063b58 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-21 04:54:56 +01:00
Stephan Raue
f4d7f4cf7a Merge pull request #2082 from vpeter4/liveusb
liveusb: enable running OpenELEC from only one USB stick
2013-03-20 20:54:20 -07:00
Stephan Raue
95ccc177db connman: dont start network i 'installer' mode
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 03:19:42 +01:00
Stephan Raue
746bace7d7 projects/ATV: build without installer support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 03:17:26 +01:00
Stephan Raue
ff01e1d966 xbmc: add PR2449
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-21 03:16:40 +01:00
Stefan Saraev
3f7618ab9a bash: fix $PS1 in shell/debugshell 2013-03-20 21:56:52 +02:00
Stefan Saraev
a6e57b5674 Revert "xf86-video-nvidia: update to xf86-video-nvidia-304.84"
another nvidia f**k up, broken tty*, god knows what else

This reverts commit 9b8f50327d.
2013-03-20 21:55:27 +02:00
Stefan Saraev
ecf13324cb Revert "xf86-video-nvidia-legacy: update to xf86-video-nvidia-legacy-304.84"
another nvidia f**k up, broken tty*, god knows what else

This reverts commit ee610c5147.
2013-03-20 21:55:08 +02:00
Stephan Raue
c546b5979a Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-20 03:37:12 +01:00
Stephan Raue
ff79b153c6 Revert "libffi: update to libffi-3.0.13"
This reverts commit 9817b9d937.
2013-03-20 03:36:34 +01:00
Stephan Raue
aa4fbd7ab1 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-20 01:29:41 +01:00
Stephan Raue
7023931d7c mpfr: remove upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-20 01:29:14 +01:00
Stephan Raue
82eb3158ae Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-20 00:08:38 +01:00
Stephan Raue
7fa5143928 xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-20 00:04:26 +01:00
Stephan Raue
00a162d5cb xf86-video-intel: update to xf86-video-intel-2.21.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 23:38:10 +01:00
Stephan Raue
7b3f683968 libva-driver-intel: update to libva-driver-intel-1.0.20
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 23:36:45 +01:00
Stephan Raue
9507eb48c2 libva: update to libva-1.1.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 23:36:00 +01:00
Stephan Raue
ae61666e00 mpfr: update to mpfr-3.1.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 17:01:37 +01:00
Stephan Raue
980dc049c9 bcm2835-bootloader: update to bcm2835-bootloader-2bcb2bc
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 17:00:58 +01:00
Stephan Raue
e4fa6ff804 bcm2835-driver: update to bcm2835-driver-2bcb2bc
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 17:00:40 +01:00
Stephan Raue
ff0b3b6465 projects/RPi: update RPi kernel patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 16:59:40 +01:00
Stephan Raue
9817b9d937 libffi: update to libffi-3.0.13
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 16:58:38 +01:00
Stephan Raue
f91baeb8dc samba: update to samba-3.6.13
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 16:58:04 +01:00
Stephan Raue
3d0546ddbc RTL8192CU: add new device ID (330D), thanks to ae67bed09d
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 16:57:21 +01:00
Stephan Raue
c7b3ffe573 xbmc: Added recordedtv and liveradio buttons to devinput mapm thanks to jenkins101, this fixes #1753
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 03:27:09 +01:00
Stephan Raue
7945de4290 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-19 01:06:32 +01:00
Stephan Raue
714a3fc2ea projects/ATV/linux: add UP_APIC, UP_IOAPIC, LOCAL_APIC and IO_APIC support, this fixes the 'crazy' ATV-Remote on UP kernels
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 01:06:18 +01:00
Stephan Raue
3e910acdab projects/ATV/linux: change to UP kernel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-19 00:38:14 +01:00
Stephan Raue
1fbca9e3b3 Merge pull request #2091 from jenkins101/lirc_rpi2
lirc_rpi: fixed some mce mappings, try to limit repeats.
2013-03-18 15:39:50 -07:00
Daniel Forsberg
27ae3473ba lirc_rpi: fixed some mce mappings, try to limit repeats by default. 2013-03-18 23:31:43 +01:00
vpeter4
c28895b04d liveusb: enable running OpenELEC from only one USB stick
possible syslinux menu with option for running installer or live system
new mount type FILE with optional size in MB for loopback file
  disk=FILE=storage.loop
  disk=FILE=storage.loop,100

dd and mkfs.ext4 are used from system (no need to increase the size of initramfs)
2013-03-18 21:59:05 +01:00
Stephan Raue
168fa73fdb Merge pull request #2090 from jenkins101/lirc_rpi
lircd: added autoconfiguration of lirc_rpi for mce, macmini and xbox remotes.
2013-03-18 13:21:31 -07:00
Daniel Forsberg
cadffc0208 install lircd.conf.rpi 2013-03-18 20:59:52 +01:00
Daniel Forsberg
8e10d3604a added lirc_rpi lirc config file with mce, macmini and xbox remote mappings. 2013-03-18 20:55:30 +01:00
Daniel Forsberg
25c01ba39c added lirc_rpi section to udev.d/98_lircd.rules 2013-03-18 20:55:01 +01:00
Stefan Saraev
7621731a35 setxkbmap: re-add init script
for some reason the udev approach is not working for some users
re-adding this as a temporary workaround
2013-03-18 16:14:53 +02:00
Stephan Raue
50a575cd9d Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-18 14:26:31 +01:00
Stefan Saraev
4e4b826bc7 Merge pull request #2087 from jenkins101/connman-bg
connman: re-enable background scanning, needed for router changes.
2013-03-18 02:10:27 -07:00
Daniel Forsberg
9c2bb7c5ed connman: enable background scanning, needed for router changes. or no reconnect. 2013-03-18 08:50:34 +01:00
Stephan Raue
46b83941bf xbmc: update to xbmc-12.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-18 05:17:00 +01:00
Stephan Raue
d38a928281 projects/ATV/linux: dont optimize kernel build for size, another 64MB fix...
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-18 04:38:06 +01:00
Stephan Raue
ff74c4b7ab projects/ATV/linux: add FB_VESA support, remove FB_UVESA and FB_EFI support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-17 22:50:03 +01:00
Stephan Raue
4aadb2013e projects/ATV/linux: compress kernel with gzip instead xz - one fix to fix the 64MB issue
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-17 22:27:48 +01:00
Stephan Raue
ad905fa334 projects/ATV: enable atv bootloader
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-17 18:48:41 +01:00
Stephan Raue
9d2280d6fb atv-bootloader: update to atv-bootloader-r520
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-17 18:46:34 +01:00
Stephan Raue
ad0543112e projects/ATV/xbmc: show xbmc splash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-17 18:44:05 +01:00
Stefan Saraev
0015373fea tools: add updated create_installstick.exe 2013-03-16 18:27:06 +02:00
Stefan Saraev
173b83b28e oeinstaller: disable 'install' button if no usb stick detected 2013-03-16 18:26:28 +02:00
Stefan Saraev
a777d1e3fe Merge pull request #2072 from stefansaraev/nsis-installer
oeinstaller: do not use diskpart
2013-03-15 14:41:11 -07:00
Stefan Saraev
4a6592e635 tools: add updated create_installstick.exe 2013-03-15 23:22:39 +02:00
Stefan Saraev
3b6d0f3e7c oeinstaller: do not use diskpart
diskpart does not work as should on usb drives
  so we just format the target drive now

  if a user, for some reason, has a 'partitioned' usb stick, it
  is not our job to clean up the mess. in this case using
  "HP USB Disk Storage Format Tool" is recommended, people should
  do it anyway when using create_installstick.bat on
  sticks with partitions
2013-03-15 22:48:17 +02:00
Stephan Raue
3b0f62e75a Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-15 14:59:59 +01:00
Stephan Raue
8b4aff7d69 xbmc: update to xbmc-12.0.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-15 14:59:47 +01:00
Stephan Raue
9eb67f02a9 xbmc: update PR2403 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-15 14:59:04 +01:00
Christian Hewitt
5e21db7499 nvidia-atv: remove FlatPanelProperties
this is no longer supported on 3xx series nvidia drivers
2013-03-15 12:04:09 +04:00
Christian Hewitt
8170ae661f nvidia-legacy: remove FlatPanelProperties
this is no longer supported on 3xx series nvidia drivers
2013-03-15 12:02:42 +04:00
Christian Hewitt
afb99f9b76 nvidia: remove FlatPanelProperties
this is no longer supported on 3xx series nvidia drivers
2013-03-15 12:01:45 +04:00
Stefan Saraev
ca8d8a0345 boblightd: depends on libusb 2013-03-14 10:58:05 +02:00
Stefan Saraev
b62eb63f10 boblightd: update to boblightd-465 2013-03-13 22:13:34 +02:00
Stefan Saraev
52e5e21226 tools/mkpkg: add script to get and package 'boblightd' 2013-03-13 22:12:52 +02:00
Stefan Saraev
90be8140a5 linux-tbs-drivers: update to linux-tbs-drivers-130127 2013-03-13 16:38:35 +00:00
Dag Wieers
58f400fb35 tvheadend: do not send debug message to syslog
Apparently tvheadend by default uses the syslog service, and the `-s`
  option that we provide in the startup script in fact makes tvheadend
  send debug messages to syslog (which we obviously do not want by default
  as this causes for my single DVB card 1k/min to /var, which is 4MB/month).
  So this fix disables the `-s` option in the tvheadend startup script.

  closes #2053, closes #2055
2013-03-13 10:41:10 +02:00
Stephan Raue
06461b6e7e config/version: set version to 2.99.5 (OpenELEC-3.0 RC 5)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-12 20:48:22 +01:00
Stephan Raue
6d16dc9399 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-12 19:24:52 +01:00
Stephan Raue
3b9461b7c0 projects/ATV/xbmc: set some default options
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-12 19:24:25 +01:00
Stephan Raue
efa8c1d95a Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-12 18:06:04 +01:00
Stephan Raue
3640dcdb46 Merge pull request #2054 from jenkins101/connman-bgscan
connman: disable BackgroundScanning.
2013-03-12 09:49:21 -07:00
jenkins
632c954cff connman: disable BackgroundScanning.
We dont use it anyway and it makes wifi a little unstable.
At least on RPi.
2013-03-12 17:31:31 +01:00
Stephan Raue
a0c977ddfe Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-12 16:06:37 +01:00
Stephan Raue
ce555f26e7 projects/ATV: dont install upower, not needed after XBMC-PR2403
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-12 16:05:52 +01:00
Stephan Raue
f6123f7c87 xbmc: add PR2403
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-12 16:04:58 +01:00
Stephan Raue
473be051cf xbmc: add upstream fixes
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-12 13:33:32 +01:00
Stephan Raue
945a7f338f Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-11 19:19:19 +01:00
Stephan Raue
02a6db5ddb xbmc: update XVBA/VDPAU patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-11 19:18:40 +01:00
Stephan Raue
1de0c74187 xbmc: update to xbmc-12.0.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-11 19:02:33 +01:00
Stephan Raue
98ad4cafd3 xbmc: add PR2421
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-11 18:22:30 +01:00
Stephan Raue
0a8e88c664 Revert "xbmc: remove broken PRs"
This reverts commit 74283a83e6.
2013-03-11 17:55:50 +01:00
Stephan Raue
0849a34c75 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-11 15:46:20 +01:00
Stephan Raue
14f40f50fe xbmc: update to xbmc-12.0.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-11 15:43:38 +01:00
Stephan Raue
69649cbcd5 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-11 14:12:11 +01:00
Stephan Raue
c20f1d1b4f Merge pull request #2046 from unforgiven512/master
Fix build issue associated with XBMC PR2387
2013-03-11 06:10:16 -07:00
Stephan Raue
74283a83e6 xbmc: remove broken PRs
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-11 14:09:34 +01:00
Stephan Raue
07b8b99b94 xbmc: add PR2252
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-11 14:08:22 +01:00
Gerad Munsch
f94e159ff5 Fix the build: PR2387 attempted to patch some files that do not exist in the OpenELEC XBMC tarballs. The lines were removed from the patch. 2013-03-11 00:05:28 -04:00
Stephan Raue
53b857cbe0 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-11 00:29:53 +01:00
Stephan Raue
083d729c00 slang: only build libslang, this fixes some crosscompiling issues with building the unneeded 'slsh' tool. thanks to 'unforgiven512'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-11 00:29:37 +01:00
Stefan Saraev
69258d33bf iperf: move to debug tools 2013-03-10 23:12:36 +02:00
Stephan Raue
bf4f1626e9 xbmc: add PR2387
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-10 20:32:22 +01:00
Stephan Raue
716b8278dc Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-10 18:08:36 +01:00
Stephan Raue
12cfeb37a7 xbmc: fix XVBA/VDPAU patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-10 18:06:11 +01:00
Stephan Raue
c06c559c88 Merge pull request #2043 from jenkins101/PS1
fix PS1 line wrapping and this one is really nice.
2013-03-10 07:55:09 -07:00
Daniel Forsberg
030f03896f fix PS1 line wrapping, removed username. 2013-03-10 15:50:48 +01:00
Stephan Raue
09b0a8d9e1 projects/RPi/xbmc: cleanup advancedsettings.xml, use cachemembuffersize=2097152
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-10 14:32:15 +01:00
Stephan Raue
77f8e89bfe Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-10 14:04:20 +01:00
Stephan Raue
6b5dc87d62 rpcbind: silence rpcbind output
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-10 13:39:10 +01:00
Stephan Raue
de08817d21 xbmc: add PR2395
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-10 13:27:16 +01:00
Stephan Raue
9cd1ba2ff4 xbmc: update XVBA/VDPAU patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-10 13:26:39 +01:00
Stephan Raue
fe22f229a3 xbmc: move x86 patches again back to common patches folder
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-10 13:25:39 +01:00
Stephan Raue
a1af223fdb Merge pull request #2037 from dagwieers/shell-hostname
Add hostname to shell prompt (so you know what system you're logged on)
2013-03-09 14:13:32 -08:00
Dag Wieers
aed76dd14b Add hostname to shell prompt (so you know what system you're logged on) 2013-03-09 22:58:11 +01:00
Stefan Saraev
d51a1d9e32 Merge pull request #2036 from vpeter4/update
busybox-initramfs: enable 64-bit math support in the shell which will
2013-03-09 13:43:24 -08:00
vpeter4
bb68944a2f busybox-initramfs: enable 64-bit math support in the shell which will allow computation with very large numbers
This closes #2019.
2013-03-09 22:38:26 +01:00
Stephan Raue
24a9b86e53 eglibc: fix buildscript, thanks to seo
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-09 19:32:36 +01:00
Stefan Saraev
53c54474b3 Merge pull request #2031 from dagwieers/network-syslog
Move syslogd after network so we can log kernel messages to remote server
2013-03-09 09:23:54 -08:00
Stefan Saraev
d7911a0e5f Merge pull request #2032 from klopsknoedel/master
libcec: update to libcec-2.1.1
2013-03-09 09:18:39 -08:00
Sascha Hofmann
fc350227e8 libcec: update to libcec-2.1.1
This fixes issue https://github.com/OpenELEC/OpenELEC.tv/issues/2007
2013-03-09 17:52:51 +01:00
Dag Wieers
5ce4c9b9be Move syslogd after network so we can log kernel messages to remote server
Since syslogd was started before the network was up, all syslog messages before the network was up were discarded and not send to the remoe syslog server. By moving the syslogd startup until after the network, the kernel boot messages are available on the central syslog.
2013-03-09 17:27:15 +01:00
Stefan Saraev
7b5bb1eccc tvheadend: disable avahi support 2013-03-09 16:45:15 +02:00
Stefan Saraev
3d5d9bb810 tvheadend: update to tvheadend-3.3.491 2013-03-09 14:45:13 +02:00
Stephan Raue
af87c06c55 xbmc: add PR2388
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 23:07:27 +01:00
Stephan Raue
004765ff88 xbmc: add PR2378
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 23:07:14 +01:00
Stephan Raue
6a6334f2fd xbmc: add PR2375
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 23:07:01 +01:00
Stephan Raue
9832770f9e xbmc: add PR2363
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 23:06:48 +01:00
Stephan Raue
0691728636 xbmc: add PR2286
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 23:06:34 +01:00
Stephan Raue
f1ef6741d8 xbmc: build parallel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 16:11:02 +01:00
Stephan Raue
009708a7d8 xbmc: update XVBA/VDPAU patches, dont install XVBA/VDPAU on arm devices again, remove some RPi patches, rename some patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 15:34:33 +01:00
Stephan Raue
b080dfb92b xbmc-pvr-addons: update to xbmc-pvr-addons-590f862
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 15:04:38 +01:00
Stephan Raue
413556c3a2 xbmc: update to xbmc-12.0.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 14:56:54 +01:00
Stephan Raue
0e8f009cfa projects/*/linux: add P4 clockmod driver to supported projects
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 14:56:06 +01:00
Stephan Raue
5a3251fe52 libpcap: disable can, canusb and bluetooth support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-08 14:17:16 +01:00
Stefan Saraev
a9ff8d0ca2 Merge pull request #1770 from jenkins101/issue-1770
connman: disable unstable dnsproxy in connman. fixes unstable Internet on WIFI
2013-03-07 13:39:17 -08:00
Daniel Forsberg
1c7310c27e connman: disable unstable dnsproxy in connman, using default dns insteed. 2013-03-07 21:47:42 +01:00
Stefan Saraev
b66a9560c4 SABnzbd-Suite: bump. again 2013-03-07 19:06:04 +02:00
Stefan Saraev
b7ae3da30a SABnzbd-Suite: oops. forgot to update default.py (configobj moved) 2013-03-07 19:04:24 +02:00
Stephan Raue
c596b55db7 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-07 11:13:23 +01:00
Stephan Raue
e0280ea6d3 xbmc: add PR2382
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-07 11:13:08 +01:00
Stefan Saraev
a86698dc1d iftop: we don't need libusb here 2013-03-07 11:57:33 +02:00
vpeter4
780c52e9f2 pcap: don't build can/canusb 2013-03-07 11:49:03 +02:00
Stefan Saraev
97adc11fa7 xbmc: add patch to remove windowed display mode 2013-03-06 23:05:49 +02:00
Stefan Saraev
97259d9047 xbmc: add patch to disable alt-tab 2013-03-06 23:05:08 +02:00
Stephan Raue
683ab7ee3d Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv
Conflicts:
	packages/devel/slang/build
2013-03-06 19:33:07 +01:00
Stephan Raue
9e6a81902c slang: really disable zlib support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 19:31:28 +01:00
Stefan Saraev
9900b89dea slang: disable x / z 2013-03-06 20:07:36 +02:00
Stephan Raue
3e6dec890d slang: disable png, zlib, pcre and oniguruma support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 16:48:34 +01:00
Stephan Raue
7ac1120db3 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-06 16:42:10 +01:00
Stephan Raue
508f4f6415 linux: add perf crosscompiling patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 16:41:22 +01:00
Stefan Saraev
322f636ba7 makemkv:update to makemkv-1.8.0
- closes #2013
2013-03-06 17:33:18 +02:00
Stephan Raue
72a232b76b Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-06 16:25:54 +01:00
Stephan Raue
5c3d8fa4d9 newt: disable python and tcl support, this should fix #2014
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 16:23:50 +01:00
Stefan Saraev
491e2ae3c4 SABnzbd-Suite: bump to 3.0.5 2013-03-06 15:59:55 +02:00
Stephan Raue
90fbebf51c Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-06 13:20:02 +01:00
Stephan Raue
84813a13ac util-linux: use vm.swappiness=10 per default
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 13:18:17 +01:00
Stephan Raue
918c8836d1 projects/ATV/linux: enable X86_ACPI_CPUFREQ support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 13:08:46 +01:00
Stefan Saraev
9bf0c62589 Cheetah: install pyo files only 2013-03-06 13:15:01 +02:00
Stefan Saraev
4292d9b3e7 yenc: install pyo files only 2013-03-06 13:14:49 +02:00
Stefan Saraev
a1c9a1d88a SABnzbd-Suite: fix configobj import (now in pylib/) 2013-03-06 13:07:26 +02:00
Stephan Raue
ee610c5147 xf86-video-nvidia-legacy: update to xf86-video-nvidia-legacy-304.84
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 11:44:47 +01:00
Stephan Raue
9b8f50327d xf86-video-nvidia: update to xf86-video-nvidia-304.84
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 11:44:34 +01:00
Stefan Saraev
fdce156ffc Merge pull request #1995 from vpeter4/update
update: check for enough space before copying KERNEL and SYSTEM files
2013-03-06 02:37:42 -08:00
Stefan Saraev
a4c77ff5df SABnzbd-Suite: include 'configobj' in addon 2013-03-06 12:23:52 +02:00
Stefan Saraev
c961f399b1 SABnzbd: build depend on 'configobj' 2013-03-06 12:22:32 +02:00
Stephan Raue
76ca1be07c Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-06 10:24:07 +01:00
Stephan Raue
07b543cef0 projects/ARCTIC_MC: add project specific advancedsettings.xml
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 10:23:44 +01:00
Stephan Raue
2dff1483d6 xbmc: add fglrx-legacy support to gputemp script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 10:23:15 +01:00
Stephan Raue
28db923d0c projects/Fusion/xbmc: update advancedsettings.xml
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-06 10:22:49 +01:00
Stefan Saraev
76838a2ada pastebinit: replace with a simple shell script 2013-03-06 00:26:06 +02:00
Stefan Saraev
cd3828a3a0 xf86-video-fglrx: remove some overlapping pci ids
- use legacy driver for 0x6770 & 0x68E1
2013-03-05 21:38:03 +02:00
Stefan Saraev
2154b4a443 tcpdump: remove addon, build and install on development builds 2013-03-05 20:26:47 +02:00
Stephan Raue
5d479240e7 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-05 19:10:40 +01:00
Stephan Raue
9621472958 linux: perf depends on elfutils and Python
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 19:10:07 +01:00
Stephan Raue
c2333ca728 elfutils: add install script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 19:09:20 +01:00
Stephan Raue
92e72d5d89 Revert "Revert "remove package 'libelf'""
This reverts commit 95fc06c22c.
2013-03-05 19:03:16 +01:00
Stephan Raue
87c051620d elfutils: build for target, fix build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 19:02:01 +01:00
Stefan Saraev
15902be7bc slang: fix install 2013-03-05 19:55:35 +02:00
vpeter4
0f6c67d008 update: check for enough space before copying KERNEL and SYSTEM files, closes #1984 2013-03-05 17:49:57 +01:00
Stephan Raue
b1f4435aa2 Revert "elfutils: remove package"
This reverts commit 12bf1cfe14.
2013-03-05 16:41:26 +01:00
Stephan Raue
95fc06c22c Revert "remove package 'libelf'"
This reverts commit ca5e59d6f6.
2013-03-05 16:38:58 +01:00
Stephan Raue
248df9fc20 linux: build and install 'perf' on development builds
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 14:05:38 +01:00
Stephan Raue
5caed7f096 new package: add package 'newt'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 13:47:57 +01:00
Stephan Raue
09a110462b new package: add package 'slang'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 13:46:16 +01:00
Stephan Raue
79beae5de9 new package: add package 'popt'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 13:30:26 +01:00
Dag Wieers
4972ec6b8b new package: add package 'wireless_tools'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 12:37:09 +01:00
Stephan Raue
ef955a58e2 libpcap: dont build shared library
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 12:27:17 +01:00
Stephan Raue
1ee9676ad3 iftop: fix build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 12:26:58 +01:00
Dag Wieers
cbc4468094 new package: added package 'iftop'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 11:36:40 +01:00
Dag Wieers
498742d87b new package: added package 'smem'
smem is a tool that can give numerous reports on memory usage on Linux systems. Unlike existing tools, smem can report proportional set size (PSS), which is a more meaningful representation of the amount of memory used by libraries and applications in a virtual memory system.

Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-05 10:54:05 +01:00
Stephan Raue
6096dde704 Merge pull request #2002 from dagwieers/nvidia-msi
nvidia: Enable MSI (Message Signaled Interrupts)
2013-03-05 01:38:21 -08:00
Dag Wieers
0a4eef7558 nvidia: Enable MSI (Message Signaled Interrupts)
Only tested on ATV1, don't just enable it on other platforms without testing with known hardware.
2013-03-05 02:20:54 +01:00
Stefan Saraev
cd771304cd oscam: update to 8469. 2013-03-04 22:22:00 +02:00
Stefan Saraev
18c8175bba pcscd-addon: bump version 2013-03-04 22:21:57 +02:00
Stefan Saraev
af5e469dd3 pcsc-lite: update to pcsc-lite-1.8.8 2013-03-04 22:21:52 +02:00
Stefan Saraev
8588272f4d ccid: update to ccid-1.4.9 2013-03-04 22:21:49 +02:00
Stephan Raue
c2ce5cc44c Merge pull request #1992 from vpeter4/installer
installer: add double confirmation before actuall install process (forma...
2013-03-04 12:15:54 -08:00
Stephan Raue
abc78fcae4 bcm2835-bootloader: update to bcm2835-bootloader-98e5704
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 21:04:44 +01:00
Stephan Raue
c8e7bcedd4 bcm2835-driver: update to bcm2835-driver-98e5704
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 21:04:21 +01:00
Stephan Raue
f19d9359d2 xbmc: add PR2368
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 20:00:15 +01:00
Stephan Raue
27e5f314dd Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-04 17:10:04 +01:00
Stephan Raue
2d164aa463 projects/Ultra/linux: include sound modules in kernel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 16:54:47 +01:00
Stephan Raue
1be5d14d06 projects/ATV/linux: include sound modules in kernel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 16:54:34 +01:00
Stephan Raue
02a4a3f7c9 projects/ARCTIC_MC/linux: include sound modules in kernel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 16:54:21 +01:00
Stephan Raue
dc3cc80344 projects/*/linux: buildin some sound modules in kernel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 16:44:27 +01:00
Stefan Saraev
a5edf61734 xbmc/udev: wait for udevadm settle to finish
fixes #2000
2013-03-04 14:28:57 +02:00
Stephan Raue
5baaad9e49 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-03-04 13:26:30 +01:00
Stephan Raue
a59badeef8 projects/*/linux: disable VM86 support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 13:26:04 +01:00
Stephan Raue
1c7bb89a88 projects/*/linux: disable AIO support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 13:22:49 +01:00
Stephan Raue
32a349df51 projects/*/linux: disable IOMMU support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 13:20:43 +01:00
Stephan Raue
2e5e7380b6 projects/*/linux: disable CGROUPS support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 13:15:19 +01:00
Stephan Raue
3997e74461 projects/*/linux: disable SCHED_AUTOGROUP support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 13:12:03 +01:00
Stephan Raue
3c924bb4f7 projects/*/linux: disable NAMESPACES support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 13:08:48 +01:00
Stefan Saraev
3d1c25fc9c xf86-video-virtualbox: update to xf86-video-virtualbox-4.2.8 2013-03-04 13:02:46 +02:00
Stefan Saraev
8dc8bfa136 vboxguest: update to vboxguest-4.2.8 2013-03-04 13:02:17 +02:00
Stephan Raue
e2ba2dfa80 xbmc: add PR2320
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 11:44:32 +01:00
Stephan Raue
42706f338b xbmc: fix XVBA build with legacy/non-legacy gpu drivers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 11:44:08 +01:00
Stephan Raue
faaea8141f projects/ARCTIC_MC: use fglrx-legacy driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-04 11:13:15 +01:00
Stefan Saraev
7bf7f5f77a Merge pull request #1976 from dagwieers/shell-term
Fix the default terminal
2013-03-03 12:31:45 -08:00
Dag Wieers
3d23d92fbf Fix the default shell
Go with whatever is set by SSH, and fall back to "linux" if the terminal is not available.

This fixes #1975
2013-03-03 19:32:50 +01:00
vpeter4
c1a54f9ad5 installer: add double confirmation before actuall install process (formating disk)
add custom install where only KERNEL and SYSTEM files are copied to System partition, closes #1985

someone should go over the changes just to be sure that there is no errors
2013-03-03 15:41:16 +01:00
Stefan Saraev
e61c979e2a Merge pull request #1982 from vpeter4/hdhomerun
dvbhdhomerun: update to dvbhdhomerun-0.0.15, should fix #1979
2013-03-02 03:11:46 -08:00
vpeter4
ea7d4c445c dvbhdhomerun: update to dvbhdhomerun-0.0.15, should fix #1979 2013-03-02 10:35:09 +01:00
Stephan Raue
8db2e6705e config/version: set version to 2.99.4 (OpenELEC-3.0 RC 4)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-01 22:22:44 +01:00
Stephan Raue
4448113a7b Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-01 20:07:44 +01:00
Stephan Raue
04102ad874 xbmc: add PR2353
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-01 20:07:16 +01:00
Stephan Raue
bb5c5509f1 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-01 18:49:46 +01:00
Stephan Raue
107e046f43 libcec: update to libcec-2.1.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-01 18:49:21 +01:00
Stephan Raue
e6bcfb83fd xbmc: dont clean temp dir on boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-01 18:46:01 +01:00
Stephan Raue
f9eab5d248 xbmc: add PR2323
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-01 18:44:44 +01:00
Stephan Raue
160ce21140 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-01 17:59:52 +01:00
Stephan Raue
dc19d7cfe1 wlan-firmware: update to wlan-firmware-0.0.10, this should fix #1973
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-03-01 17:59:08 +01:00
Stephan Raue
792e217186 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-03-01 06:58:01 +01:00
Stephan Raue
ac61c98340 projects/*/linux: remove deprecated kernel commandline options
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 20:08:06 +01:00
Stephan Raue
8712868362 projects/*/linux: disable FSCACHE support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 20:00:09 +01:00
Stephan Raue
0155cd74ad projects/*/linux: disable X86_SMAP support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 19:57:42 +01:00
Stephan Raue
c566394ae4 projects/*/linux: disable X86_SMAP support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 19:37:57 +01:00
Stephan Raue
22d10112de projects/ATV/linux, projects/Ultra/linux: disable firewire support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 19:14:32 +01:00
Stephan Raue
e0441dec60 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-28 19:08:29 +01:00
Stephan Raue
2f9488c284 projects/*/linux: disable CONFIG_8139TOO_PIO and CONFIG_8139TOO_TUNE_TWISTER
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 19:08:04 +01:00
Stefan Saraev
4f7ad1833f vdr: clean up build depends 2013-02-28 16:29:24 +02:00
Stefan Saraev
304f24dcbc linux: add patch to fix video artifacts with TT-3600 s2 usb
closes #1957
2013-02-28 14:29:20 +02:00
Stefan Saraev
d9d901c707 Merge pull request #1897 from dagwieers/htop-taskstats
Enable taskstats in the htop build (we enable taskstats for powertop and perf anyway)
2013-02-28 03:37:21 -08:00
Stephan Raue
4ed7faeba3 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-28 11:38:45 +01:00
Stephan Raue
1ed44a9b27 bcm2835-bootloader: update to bcm2835-bootloader-fea69f6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 11:37:48 +01:00
Stephan Raue
a7ca4e3979 bcm2835-driver: update to bcm2835-driver-fea69f6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 11:37:28 +01:00
Stephan Raue
5c0da4607b projects/RPi/patches/linux: update RPi patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 11:36:37 +01:00
Stephan Raue
d990769bab busybox: add upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-28 11:35:55 +01:00
Stefan Saraev
45d2ecfbf2 linux: update to linux-3.7.10 2013-02-27 23:18:25 +02:00
Stefan Saraev
028a6b291c xbmc: init: cosmetics. conservative -> ondemand to not cause confusion ;) 2013-02-27 19:15:55 +02:00
Stefan Saraev
c76e7355c1 Merge pull request #1967 from vpeter4/stuff
create_addon: quoting $PKG_ARCH
2013-02-27 01:38:15 -08:00
vpeter4
6dd213329a create_addon: quoting $PKG_ARCH 2013-02-27 09:05:16 +01:00
Stephan Raue
59c41e76a1 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-27 04:23:55 +01:00
Stephan Raue
4e373d99ae Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-27 04:02:23 +01:00
Stephan Raue
145fc05656 xbmc: update to xbmc-12.0.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-27 04:02:03 +01:00
Stefan Saraev
3d54e09252 implement 'wait for network' 2013-02-26 22:35:08 +02:00
Stefan Saraev
d9e06bd4bd Merge pull request #1962 from vpeter4/sundtek
sundtek-mediatv: added addon settings for modifying tuner type (DVB-C, ...
2013-02-26 12:06:56 -08:00
vpeter4
6a9d95d161 hdhomerun: added addon settings for modifying tuner type (DVB-C, DVB-T, ATSC) and setting delays 2013-02-26 20:57:10 +01:00
vpeter4
2be7c80a01 sundtek-mediatv: added addon settings for modifying tuner type (DVB-C, DVB-T) 2013-02-26 20:55:47 +01:00
Stefan Saraev
7b0b4eec6f connman: update to connman-1.12 2013-02-26 20:55:32 +02:00
Stephan Raue
3f3e198c9b Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-24 23:38:54 +01:00
Stephan Raue
285acff880 projects/Ultra/filesystem: remove not more needed default sound configs
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-24 23:37:10 +01:00
Stephan Raue
82399ef04c xbmc: update XVBA/VDPAU/OMX patches - take 2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-24 23:36:27 +01:00
Stephan Raue
0aadee2bad xbmc: update XVBA/VDPAU/OMX patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-24 23:35:25 +01:00
Stephan Raue
d2944b96fa xbmc: add patch to bump XBMC addon version
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-24 23:32:36 +01:00
Stefan Saraev
8fcded8e79 projects/Fusion: xbmc: disable & hide unsupported lpcm, dts-hd, truehd etc.. 2013-02-24 22:55:18 +02:00
Stefan Saraev
5ec4748cfd Merge pull request #1946 from fritsch/oe-ae-fix
AE: fix segfault when stopping of stream and switching between tracks
2013-02-24 12:22:32 -08:00
Stefan Saraev
3349daf476 intel-gpu-tools: issue intel_reg_write again after xrandr...
https://bugs.freedesktop.org/show_bug.cgi?id=46800
2013-02-24 21:53:41 +02:00
fritsch
79bfcdbee8 AE: fix segfault when stopping of stream and switching between tracks 2013-02-23 23:58:49 +01:00
Christian Hewitt
e243a066b1 fix xbmc connection-check patch
Checking releases.openelec.tv returns a 403 error as directory listings are denied. XBMC interprets this as a failure resulting in "Connected, but no DNS available" in system info. We now use online.openelec.tv which does not return an error.
2013-02-23 08:40:01 +04:00
Stefan Saraev
61130bb896 transmission: update to transmission-2.77 2013-02-21 21:40:37 +02:00
Stefan Saraev
f7d7a8aad8 tvheadend: update to tvheadend-3.3.485 2013-02-21 21:32:10 +02:00
Stefan Saraev
1965e3511c sundtek-mediatv: ups, also update changelog 2013-02-21 21:17:46 +02:00
Stefan Saraev
bfa75c711f sundtek-mediatv: bump 2013-02-21 21:15:56 +02:00
Stefan Saraev
8c0a56de90 Merge pull request #1933 from vpeter4/sundtek
sundtek-mediatv: bump version
2013-02-21 08:05:36 -08:00
vpeter4
2689cd4218 sundtek-mediatv: bump version
added addon settings
    enable HW PID filter (enabled for RPi by default)
    enable IR receiver
    allow sharing local tuner over network
    use network tuners
  sundtek's binaries are downloaded on first run
  automatically download new version of the binaries if available
  added preload library to .profile (to run mediaclient, w_scan, ... from console)
2013-02-21 16:45:48 +01:00
Stephan Raue
ccc1b39a15 config/version: set version to 2.99.3 (OpenELEC-3.0 RC 3)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-21 16:27:24 +01:00
Stephan Raue
ad1115e98e Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-21 16:26:13 +01:00
Stefan Saraev
79a3a24c00 Merge pull request #1929 from vpeter4/sundtek
sundtek: new addon settings
2013-02-21 01:22:51 -08:00
vpeter4
1e82237a1e sundtek: new addon settings
enable HW PID filter (enabled on for RPi by default)
enable IR receiver
allow sharing local tuner over network
use network tuners
2013-02-21 10:09:43 +01:00
Stephan Raue
d9111f52a8 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-20 03:02:36 +01:00
Stephan Raue
222856ad82 linux: update to linux-3.7.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-20 03:01:40 +01:00
Stephan Raue
6b8f37c527 xbmc: update to xbmc-12.0.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-19 21:41:42 +01:00
Stephan Raue
22c53cb072 tiff: downgrade to tiff-3.9.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-19 21:39:33 +01:00
Stephan Raue
9c410eaeef Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-19 01:07:39 +01:00
Stephan Raue
b21aea287f bcm2835-bootloader: fix 'release' script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-19 01:01:10 +01:00
Stephan Raue
7a3fa0070a Revert "projects/RPi/options: optimize for size"
This reverts commit f9607329d4.
2013-02-19 00:43:21 +01:00
Stephan Raue
f8f5eaf1e5 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-18 22:31:45 +01:00
Stephan Raue
924acef40e dbus-python: install pyo files only
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-18 22:31:27 +01:00
Stephan Raue
036082503d pygobject: install pyo files only
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-18 22:31:13 +01:00
Stephan Raue
306dd41b5b pycrypto: install pyo files only
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-18 22:30:45 +01:00
Stephan Raue
36be00b307 xbmc: fix connection check patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-18 21:02:50 +01:00
Stefan Saraev
ec582089bc vdr-addon: bump to 3.0.4 2013-02-18 20:04:50 +02:00
Stephan Raue
e646610990 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-18 17:56:23 +01:00
Stephan Raue
e57553ae7d libcec: install cec-client on release builds too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-18 17:55:59 +01:00
Stephan Raue
31001afd23 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-18 17:54:29 +01:00
Stephan Raue
d8826dcc0d Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-18 17:54:06 +01:00
Stephan Raue
810088e698 projects/RPi/options: revert part of acdd4c8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-18 17:48:11 +01:00
Stefan Saraev
b031e4833f vdr-plugin-dvbapi: force softcsa.
this fixes #1905
2013-02-18 11:31:04 +02:00
Stephan Raue
357c00e39a bcm2835-bootloader: install and use start_x.elf and fixup_x.dat per default
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-17 23:12:43 +01:00
Stephan Raue
80c6730a0f Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-17 21:42:16 +01:00
Stephan Raue
6712c5db3f bcm2835-bootloader: use again 128MB GPU mem as default for 256MB RPi's
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-17 21:40:29 +01:00
Stephan Raue
004a391f18 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-17 07:05:55 +01:00
Stephan Raue
f9607329d4 projects/RPi/options: optimize for size
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-17 07:05:30 +01:00
Stephan Raue
6e9af9e243 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-17 03:26:18 +01:00
Stephan Raue
ff4d26f4ed bcm2835-bootloader: update to bcm2835-bootloader-4697c2b
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-17 03:25:43 +01:00
Stephan Raue
2ee898af1a bcm2835-driver: update to bcm2835-driver-4697c2b
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-17 03:25:23 +01:00
Stephan Raue
ba920bef8f projects/RPi: update RPi patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-17 03:24:45 +01:00
Stephan Raue
f7c8509269 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-16 20:49:47 +01:00
Stephan Raue
b3e87927b5 xf86-video-intel: update to xf86-video-intel-2.21.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-16 20:49:24 +01:00
Stephan Raue
6cfa01304f libnl: update to libnl-3.2.21
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-16 20:49:06 +01:00
Stefan Saraev
2117b99bf2 SABnzbd-Suite: bump 2013-02-16 19:53:13 +02:00
Stefan Saraev
3a6b597f45 SickBeard: update to SickBeard-4e57625 2013-02-16 19:51:14 +02:00
Stefan Saraev
628279039b CouchPotatoServer: update to CouchPotatoServer-a49a00a 2013-02-16 19:50:16 +02:00
Stephan Raue
b768e322ed Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-16 18:28:44 +01:00
Stephan Raue
64c488c886 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-16 18:25:51 +01:00
Stephan Raue
68fd7478cc xbmc: update RPi patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-16 18:25:07 +01:00
Stephan Raue
a20709c1a6 xbmc: rename patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-16 18:24:46 +01:00
Stefan Saraev
81472a7a29 alsa-lib: update upstream patches 2013-02-16 19:13:52 +02:00
Stefan Saraev
cef57bf597 linux: update alsa/hda patches. thanks to Anssi 2013-02-16 19:00:35 +02:00
Stefan Saraev
73beb73afc transmission: add transmission-remote
closes #1915
2013-02-16 17:12:23 +02:00
Stefan Saraev
e18851b6fe oscam: update to oscam-8357 2013-02-16 16:55:11 +02:00
Stefan Saraev
97c46a02b5 tvheadend: revert part of 6f41b37 2013-02-16 16:51:11 +02:00
Stefan Saraev
582c4ee4bf Revert "oscam: daemonize on start. thanks dag-"
This reverts commit adf452c234.
2013-02-16 16:49:28 +02:00
Stephan Raue
59ba745d77 xbmc: add PR2245
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-16 00:07:30 +01:00
Stefan Saraev
72080b8d9d linux: add patch to fix broken audio over optical on alc662+
many thanks to MrXIII for testing
2013-02-15 21:11:38 +02:00
Stephan Raue
9029c645b0 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-15 16:16:21 +01:00
Stephan Raue
0e45435dfb xrandr: update to xrandr-1.4.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-15 16:15:24 +01:00
Stephan Raue
b14d6da9cb Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-15 15:56:02 +01:00
Stephan Raue
71ba13443a libvdpau: update to libvdpau-0.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-15 15:30:28 +01:00
Stephan Raue
63d7628786 xf86-video-intel: update to xf86-video-intel-2.21.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-15 15:28:27 +01:00
Stephan Raue
d78d5cd647 xkeyboard-config: update to xkeyboard-config-2.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-15 15:27:31 +01:00
Stephan Raue
e93eefb02e libmicrohttpd: update to libmicrohttpd-0.9.25
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-15 15:26:48 +01:00
Stephan Raue
eb5d9ee358 pkg-config: update to pkg-config-0.28
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-15 15:26:32 +01:00
Stephan Raue
3a457f18f6 libpng: update to libpng-1.5.14
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-15 15:22:57 +01:00
Stephan Raue
f38091875a linux: update to linux-3.7.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-15 15:21:10 +01:00
Stephan Raue
c33c171d68 Merge pull request #1910 from itechatmxc/master
Patches to libva and libva-intel driver to solve issues with some h.264 videos
2013-02-14 16:29:42 -08:00
itechatmxc
c71945f6fb Haihao's VAAPI patches 2013-02-14 23:22:20 +01:00
Stefan Saraev
7242d8a2ff xbmc: increase curl clienttimeout 2013-02-14 22:51:24 +02:00
Stephan Raue
96f52fc97f Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-14 15:37:32 +01:00
Stephan Raue
4f157cf91a projects/ARCTIC_MC: dont provide old sound config anymore
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-14 15:37:08 +01:00
Stephan Raue
d4b844a7ed Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-14 15:33:27 +01:00
Stephan Raue
7bd3c9e3cf xbmc: add PR2231
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-14 15:32:33 +01:00
Stephan Raue
88a0963804 dvb-firmware: update to dvb-firmware, this fixes #1698
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-14 15:02:28 +01:00
Stefan Saraev
584b311f04 vdr-epgsearch: update to vdr-epgsearch-0fc4817 2013-02-13 20:36:35 +02:00
Stefan Saraev
a853a1e204 tools/mkpkg: add script to get and package 'vdr-epgsearch' 2013-02-13 20:36:12 +02:00
Stefan Saraev
0bf911e4f5 vdr-live: add upstream patches
source:
  - http://projects.vdr-developer.org/git/vdr-plugin-live.git/commit/?id=c3ecf9fabb674bc154f5a08cdd62e74e2b5d0e36
  - http://projects.vdr-developer.org/git/vdr-plugin-live.git/commit/?id=94a0a210a485ce1fc95c47a6bc67c4c16c89a0f9
2013-02-13 20:27:23 +02:00
Stefan Saraev
fc61557865 Revert "vdr-addon: cleanup. remove live and epgsearch."
This reverts commit 6eb8ce874b.
2013-02-13 20:07:33 +02:00
Stefan Saraev
aaacf3df82 vdr-addon: set vnsiserver as default pvr plugin 2013-02-13 20:06:28 +02:00
Stefan Saraev
5f8e3a60d1 vdr-wirbelscancontrol: build with '-fPIC' 2013-02-13 20:06:28 +02:00
Stefan Saraev
7255c0290c vdr-wirbelscan: build with '-fPIC' 2013-02-13 20:06:28 +02:00
Stefan Saraev
19725f077f vdr-plugin-dvbapi: build with '-fPIC' 2013-02-13 20:06:28 +02:00
Stefan Saraev
b6c42adf66 vdr-iptv: build with '-fPIC' 2013-02-13 20:06:28 +02:00
Stefan Saraev
779a3f01ce vdr-plugin-streamdev: update to vdr-plugin-streamdev-f58086a 2013-02-13 20:06:28 +02:00
Stefan Saraev
2482039479 vdr: update to vdr-1.7.33 2013-02-13 20:06:28 +02:00
Stephan Raue
60744990c3 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-13 18:15:10 +01:00
Stephan Raue
a346645a0d Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-13 18:14:15 +01:00
Stephan Raue
b595704d97 xbmc: rename patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 18:13:55 +01:00
Stephan Raue
f0299e531b xbmc: update PR2218 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 18:12:56 +01:00
Stefan Saraev
6eb8ce874b vdr-addon: cleanup. remove live and epgsearch.
may revert this later, depending on user feedback
2013-02-13 14:57:54 +02:00
Stefan Saraev
bd88997c37 vdr-iptv: use our 'strip' 2013-02-13 14:14:47 +02:00
Stephan Raue
ef5d518eb9 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-13 11:43:18 +01:00
Stephan Raue
d2a3685ac9 xbmc: disable watchdog patch for now (needs some rework)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 11:42:51 +01:00
Stephan Raue
e61360c9d3 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-13 11:33:43 +01:00
Stephan Raue
d0ac425825 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-13 11:32:34 +01:00
Stephan Raue
e1feb956cc xbmc: add PR2058
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 11:20:52 +01:00
Stephan Raue
acdd4c8191 xbmc-addon-settings: add SureElec LCD driver support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 11:20:27 +01:00
Stefan Saraev
747ab28185 remove package: 'xine-lib' 2013-02-13 12:07:52 +02:00
Stefan Saraev
8012e94bbf remove package: 'vdr-xineliboutput' 2013-02-13 12:07:51 +02:00
Stefan Saraev
ee47d62a85 remove package: 'vdr-skinanthra_1280_OS' 2013-02-13 12:07:51 +02:00
Stefan Saraev
a94e7ac428 remove package: 'vdr-text2skin' 2013-02-13 12:07:51 +02:00
Stefan Saraev
cf17204de0 vdr-addon: cleanup. remove xinelib and text2skin stuff 2013-02-13 12:07:51 +02:00
Stefan Saraev
ee0e2a40b8 vdr-plugin-dvbapi: update to vdr-plugin-dvbapi-cd93752 2013-02-13 12:07:51 +02:00
Stephan Raue
9df9fc94e2 xbmc-addon-xvdr: update to xbmc-addon-xvdr-34070b5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 11:03:11 +01:00
Stephan Raue
51c9997790 projects/RPi/patches: update RPi patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 10:24:49 +01:00
Stephan Raue
4807e79b21 bcm2835-driver: update to bcm2835-driver-f715140
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 10:24:29 +01:00
Stephan Raue
c35584e32e bcm2835-bootloader: update to bcm2835-bootloader-f715140
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 10:24:14 +01:00
Stephan Raue
f93c4909d0 bcm2835-bootloader: fix update script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 10:23:42 +01:00
Stephan Raue
9d8267461e xbmc: add another AE fix
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 00:15:36 +01:00
Stephan Raue
013d435d32 xbmc: add PR2208 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-13 00:15:13 +01:00
Stephan Raue
2e24540df2 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-12 05:28:25 +01:00
Stephan Raue
52031840e5 openssl: update to openssl-1.0.1e
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-12 05:27:56 +01:00
Stephan Raue
0e192a0947 linux: update to linux-3.7.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-12 05:26:59 +01:00
Stephan Raue
ab57f8a53b xbmc: update PR2218 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-12 01:39:58 +01:00
Stephan Raue
d8f296ec61 xbmc: add PR2146 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-12 01:39:30 +01:00
Stephan Raue
93b88a2c6d xbmc: add toto patch :-)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-12 01:39:11 +01:00
Dag Wieers
1a7335f86b Enable taskstats in the htop build (we enable taskstats for powertop and perf anyway) 2013-02-11 16:10:47 +01:00
Stephan Raue
ddad2a85e0 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-11 15:24:19 +01:00
Stephan Raue
e26479fef0 xbmc: add PR2206
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-11 15:12:28 +01:00
Stephan Raue
a2784eb384 xbmc: update XVBA/VDPAU patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-11 14:45:26 +01:00
Stephan Raue
06a7103708 xbmc: rename patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-11 14:27:34 +01:00
Stefan Saraev
403e846d02 Merge pull request #1895 from lsellens/upstream
SABnzdb-Suite fix keep awake option.
2013-02-11 03:36:16 -08:00
lsellens
691852e66d SABnzdb-Suite fix keep awake option. 2013-02-11 05:30:46 -06:00
Stefan Saraev
f1d9d808a6 Merge pull request #1893 from vpeter4/iptables
iptables: fix copying extensions (again)
2013-02-11 01:45:07 -08:00
vpeter4
d888fd8686 iptables: fix copying extensions (again) 2013-02-11 08:43:33 +01:00
Stephan Raue
338c71bf5b xbmc: dont reload skin on wakeup anymore, not working sound should be fixed
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-11 04:29:45 +01:00
Stephan Raue
f747479588 xbmc: update PR2218
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-11 04:28:40 +01:00
Stephan Raue
cb6325270f xbmc: add PR2218
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-11 02:37:37 +01:00
Stephan Raue
8ed99522c0 Merge pull request #1887 from vpeter4/linux
linux: hide 'TSC calibration failed' kernel message
2013-02-10 11:10:58 -08:00
Stephan Raue
1fdc2df4c9 Merge pull request #1889 from vpeter4/iptables
iptables: fix copying extensions
2013-02-10 11:10:23 -08:00
vpeter4
8480938b32 iptables: fix copying extensions 2013-02-10 19:54:33 +01:00
vpeter4
5174fe32f8 linux: hide 'TSC calibration failed' kernel message 2013-02-10 11:45:59 +01:00
Stephan Raue
1bdf8ab97b Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-10 00:20:38 +01:00
Stephan Raue
27f93eee21 xbmc: dont clean logfiles if debugging is enabled
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-10 00:20:32 +01:00
Stephan Raue
7b1a13f1fe xbmc: dont clean temp dir if debugging is enabled
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-10 00:19:41 +01:00
Stephan Raue
a8fc6b71a4 xbmc: update PR2152 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-10 00:18:58 +01:00
Stefan Saraev
0991e2a7ab oscam: update to oscam-8334 2013-02-09 23:14:29 +02:00
Stefan Saraev
53c9613e76 SABnzbd-Suite: update addon to 3.0.3 2013-02-09 19:57:56 +02:00
Stefan Saraev
08aabd4338 SickBeard: update to SickBeard-6cb5e76 2013-02-09 19:47:45 +02:00
Stefan Saraev
aceb2552bc CouchPotatoServer: update to CouchPotatoServer-811f35b 2013-02-09 19:46:46 +02:00
Stefan Saraev
1285beadd1 SABnzbd: update to SABnzbd-0.7.11 2013-02-09 19:45:53 +02:00
Stefan Saraev
dae8099efc SABnzbd-Suite: add option to enable restart on resume, add sleep.d script 2013-02-09 13:40:35 +02:00
Stephan Raue
36f99727ee busybox: add 'renice' applet
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-09 01:36:52 +01:00
Stephan Raue
bb60e57b60 dstat: typo
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-09 01:36:14 +01:00
Stephan Raue
d510db8594 Merge pull request #1877 from dagwieers/package-dstat
new package: add package 'dstat'
2013-02-08 16:29:49 -08:00
Stephan Raue
7372cde125 Merge pull request #1881 from dagwieers/init-typo
Fix typo in script name
2013-02-08 16:24:00 -08:00
Dag Wieers
314b3a76bb Fix typo in script name 2013-02-09 01:20:16 +01:00
Stephan Raue
ff1f7ccbaa Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-09 01:10:33 +01:00
Stephan Raue
6d12955c07 alsa-lib: add various alsa upstream patches and fixes, thanks to anssi
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-09 01:10:15 +01:00
Stephan Raue
9421787d2e linux: add patches to fix conflicting IEC958 controls, thanks to anssi
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-09 01:09:43 +01:00
Stephan Raue
45a6eb522f Merge pull request #1880 from dagwieers/syslog-support
Remote syslog support from OpenELEC settings
2013-02-08 15:41:56 -08:00
Dag Wieers
ab35dbe2ae Remote syslog support from OpenELEC settings
This patch adds remote syslog support. The syslog startup script will add the necessary options, and leaves room for a custom syslog.conf from /storage/.config (as it was before).
2013-02-09 00:25:57 +01:00
Dag Wieers
8e4534c7b0 new package: add package 'dstat' 2013-02-08 18:12:37 +01:00
Stephan Raue
caeb39c657 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-08 05:29:00 +01:00
Stephan Raue
64615c332e htop: move to debug tools
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 04:56:47 +01:00
Stephan Raue
c92622b769 evtest: move to debug tools
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 04:52:30 +01:00
Stephan Raue
43411247fc lirc: fix xbox lirc config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 04:46:17 +01:00
Stephan Raue
78ec06c9dc busybox: dont build applet 'powertop'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 04:42:11 +01:00
Stephan Raue
0c3eab9e19 powertop: fix crosscompile build, cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 04:10:45 +01:00
Stephan Raue
7217ea7b0d hddtemp: enable autoreconf, cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 03:38:32 +01:00
Dag Wieers
2df1c3527d new package: add package 'powertop' 2013-02-08 03:32:38 +01:00
Dag Wieers
24b6d4cca3 new package: add package 'hddtemp' 2013-02-08 03:30:41 +01:00
Stephan Raue
19caa4eb6c Merge pull request #1872 from dagwieers/package-cpuid
new package: add package 'cpuid'
2013-02-07 18:22:44 -08:00
Dag Wieers
3b1ca9a68b new package: add package 'cpuid' 2013-02-08 02:49:25 +01:00
Stephan Raue
a603e3bf18 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-08 01:41:15 +01:00
Stephan Raue
7f2c5787db xbmc: add PR2152 upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 01:37:26 +01:00
Stephan Raue
27d4ab0214 i2c-tools: fix install script, this fixes #1866, this fixes #1869
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 01:11:27 +01:00
Stephan Raue
cf3f73fc65 dmidecode: fix install script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 01:09:34 +01:00
Stephan Raue
09ecf7bec7 xbmc: add PR1934 and PR2193 upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 01:06:09 +01:00
Stephan Raue
f70bb0b4b9 xbmc: update to xbmc-12.0.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-08 00:57:18 +01:00
Stephan Raue
cb30d6d14a Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-07 16:25:29 +01:00
Stephan Raue
ae8e5a2eb6 Merge pull request #1865 from vpeter4/acpica
acpica: crosscompile patch
2013-02-07 07:22:47 -08:00
vpeter4
9eee489036 acpica: crosscompile patch
fix when building 64bit target on 32bit host
2013-02-07 16:14:58 +01:00
Stephan Raue
d72ec96fea projects/RPi/xbmc: enable xbmc splash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 15:53:08 +01:00
Stephan Raue
b5eaf5897c projects/*/linux: add watchdog support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 15:51:03 +01:00
Stefan Saraev
2b1b614564 oscam: oscam.stop: send TERM signal, not KILL 2013-02-07 10:55:10 +02:00
Stefan Saraev
adf452c234 oscam: daemonize on start. thanks dag- 2013-02-07 10:54:20 +02:00
Stephan Raue
6f03b497c3 xbmc: add watchdog support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 02:18:47 +01:00
Stephan Raue
c691a33edd eventlircd, add more cypress remotes, this fixes #1347
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 01:43:40 +01:00
Stephan Raue
06d902745d pmtools: prevent install for ARM
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 00:38:13 +01:00
Stephan Raue
ad91066201 i2c-tools: cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 00:36:15 +01:00
Stephan Raue
98a19be4c7 dmidecode: prevent install for ARM
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 00:35:21 +01:00
Stephan Raue
460e578997 acpica: add 64bit support, prevent install for ARM
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 00:29:53 +01:00
Stephan Raue
f2a987ab77 pmtools: move to debug tools
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 00:16:29 +01:00
Stephan Raue
1daaba248f acpica: move to debug tools
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 00:15:24 +01:00
Stephan Raue
3490780d1d i2c-tools: move to debug tools
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 00:13:44 +01:00
Stephan Raue
9912f0635e dmidecode: move to debug tools
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-07 00:12:19 +01:00
Dag Wieers
c5b63fe01a new package: add package 'i2c-tools'
This package adds the necessary tools to debug i2c hardware.
2013-02-07 00:09:46 +01:00
Dag Wieers
0b84f525f8 new packages: add package 'pmtools' and 'acpica'
These packages add the necessary tools to debug and disassemble ACPI tables in order to understand and fix ACPI problems.
2013-02-07 00:09:08 +01:00
Stephan Raue
726a218430 Merge pull request #1858 from dagwieers/package-dmidecode
new package: add package 'dmidecode'
2013-02-06 14:12:22 -08:00
Dag Wieers
12df4db25c new package: add package 'dmidecode'
This packages adds the dmidecode tools when enabled.
2013-02-06 22:54:27 +01:00
Stephan Raue
8647083a85 Merge pull request #1856 from dagwieers/syslog-config
Allow syslog.conf to be locally customized from /storage/.config/syslog.conf
2013-02-06 13:42:19 -08:00
Stephan Raue
f8bbf18c09 Merge pull request #1855 from dagwieers/exec-daemon
When init starts daemons through a shell script, replace the shell altogether
2013-02-06 13:41:43 -08:00
Dag Wieers
8672ac5b63 Allow syslog.conf to be locally customized from /storage/.config/syslog.conf
Since I would like to remotely log whatever goes on on my AppleTV devices, I need a way to modify the syslog.conf that is used, or need to provide options to syslogd. This was the easiest pick of the two :)
2013-02-06 22:36:53 +01:00
Dag Wieers
6f41b37996 When init starts daemons through a shell script, replace the shell altogether
A few daemons are being started from init through a shell script. Since the daemon does not "deamonizes" properly, it's been put in the background from the shell by using ( ... ) &, however this leaves a lingering shell that serves no purpose. This patch improves this situation.

The situation before this change looked like:

    init-+-Xorg
         |-avahi-daemon
         |-console-kit-dae-+-62*[{console-kit-da}]
         |                 `-{gdbus}
         |-dbus-daemon
         |-eventlircd
         |-klogd
:        |-init---atvclient
         |-init---connmand
:        |-init---ratpoison
:        |-init---udevadm
         |-polkitd---{gdbus}
         |-rpcbind
         |-sshd---sshd---sh---pstree
         |-syslogd
         |-systemd-udevd
:        |-tvheadend.start---tvheadend---12*[{tvheadend}]
         |-udisks-daemon-+-udisks-daemon
         |               |-{gdbus}
         |               `-{gmain}
         |-upowerd-+-{gdbus}
         |         `-{gmain}
         |-wpa_supplicant
         `-xbmc.bin---17*[{xbmc.bin}]

After this change, it looks like:

    init-+-Xorg
:        |-atvclient
         |-avahi-daemon
         |-console-kit-dae-+-62*[{console-kit-da}]
         |                 `-{gdbus}
         |-dbus-daemon
         |-eventlircd
         |-init---connmand
         |-klogd
         |-polkitd---{gdbus}
:        |-ratpoison
         |-rpcbind
         |-sshd---sshd---sh---pstree
         |-syslogd
         |-systemd-udevd
:        |-tvheadend---12*[{tvheadend}]
:        |-udevadm
         |-udisks-daemon-+-udisks-daemon
         |               |-{gdbus}
         |               `-{gmain}
         |-upowerd-+-{gdbus}
         |         `-{gmain}
         |-wpa_supplicant
         `-xbmc.bin---17*[{xbmc.bin}]

Only for connmand this is not easily done since the shell loops and restarts connmand. In different circumstances /etc/inittab would respawn the process.
2013-02-06 22:16:12 +01:00
Stephan Raue
fd7bef7737 Merge pull request #1853 from vpeter4/linux
linux: support Opera1 DVB-S USB2.0 receiver, this fix #1734
2013-02-06 11:48:46 -08:00
vpeter4
482eaffcb2 linux: support Opera1 DVB-S USB2.0 receiver, this fix #1734 2013-02-06 20:26:27 +01:00
Stephan Raue
9cb02d21a7 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.0 2013-02-06 15:23:52 +01:00
Stephan Raue
13afe88c7e linux: add upstream patches, this fix #1841
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-06 00:48:04 +01:00
Stephan Raue
c76d5574b7 xf86-video-nvidia: remove old patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-06 00:47:26 +01:00
Stephan Raue
35fdb1f672 xf86-video-nvidia: remove old patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-06 00:47:16 +01:00
Stefan Saraev
6c7a388ce1 xf86-video-nvidia-legacy: update kernel-3.7-fix.patch. do not check patchlevel / sublevel 2013-02-05 20:00:00 +02:00
Stefan Saraev
0e084e8fa6 xf86-video-nvidia: update kernel-3.7-fix.patch. do not check patchlevel / sublevel 2013-02-05 19:59:02 +02:00
Stefan Saraev
cb3c9bfba0 xf86-video-nvidia-legacy: fix build with kernel 3.6.7 2013-02-05 11:21:27 +02:00
Stefan Saraev
087741801e xf86-video-nvidia: fix build with kernel 3.6.7 2013-02-05 11:20:41 +02:00
Stefan Saraev
43006644d6 tvheadend: disable libav 2013-02-05 00:20:34 +02:00
Stefan Saraev
af68bee9dc tvheadend: depend on 'curl', required for imagecache 2013-02-05 00:19:18 +02:00
Stefan Saraev
09109e9259 intel-gpu-tools: add script to set colorspace. thanks to fritsch 2013-02-04 23:45:18 +02:00
Stephan Raue
1a9508dceb projects/RPi/linux: enable debugfs
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-04 21:57:09 +01:00
Stephan Raue
9f77881f53 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-04 19:43:08 +01:00
Stephan Raue
d6f40823fa Merge pull request #1848 from stefansaraev/intel-gpu-tools
add intel-gpu-tools
2013-02-04 10:42:50 -08:00
Stephan Raue
ba214616b3 linux: update to linux-3.7.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-04 19:35:56 +01:00
Stefan Saraev
3f9a6d3353 busybox: mount debugfs 2013-02-04 20:30:19 +02:00
Stefan Saraev
a28b8d1fa6 xf86-video-intel: depend on 'intel-gpu-tools' 2013-02-04 20:30:19 +02:00
Stefan Saraev
2fb1ca693a linux: do not disable CONFIG_DEBUG_FS. required for intel-gpu-tools 2013-02-04 20:30:19 +02:00
Stefan Saraev
37aff83993 new package: add package 'intel-gpu-tools' 2013-02-04 20:30:15 +02:00
Stephan Raue
ef6cd3a6c3 Merge pull request #1849 from Mettbrot/master
Update README.md: copy md5 files when updating
2013-02-04 08:39:07 -08:00
Mettbrot
91ebd27b9e Update README.md
When updating openELEC, copy md5 files too.
2013-02-04 17:16:22 +01:00
Christian Hewitt
adb8971ca1 atv: add xorg.conf comments to match other builds 2013-02-04 08:28:10 +04:00
Stephan Raue
ab047bd85a linux: add patch to fix channel mappings
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-04 00:29:26 +01:00
Stephan Raue
3368ae19c0 xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-04 00:28:57 +01:00
Stephan Raue
6df5a568d0 xbmc: reenable build of goom, seems to work now
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-04 00:28:34 +01:00
Stephan Raue
535f6451f8 alsa: add sample config to support Intel HD Audio
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-03 15:44:45 +01:00
Stephan Raue
cca4563b97 aver_h826d: remove driver, this driver dont work with kernels newer then 3.2 anymore, and there are no hacks avaible anymore to support newer kernels. 'Avermedia stopped developing the driver for newer kernels...' see http://www.linuxtv.org/wiki/index.php/AVerMedia_AverTV_Hybrid_Volar_HX_(A827), this device (as well A826) is now not more supported here
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-03 15:04:50 +01:00
Stephan Raue
fc9b765cc9 xbmc: add PR2119 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-03 14:49:58 +01:00
Stephan Raue
ac02b5fd8f Revert "alsa-lib: add upstream patches"
This reverts commit 6f4cb57328.
2013-02-03 14:37:07 +01:00
vpeter4
f0ed75b919 sundtek: addon redesign addon renamed to just sundtek added addon settings sundtek's binaries are downloaded on first run automatically download new version of the binaries if available added preload library to .profile (to run mediaclient, w_scan, ... from console)
The addon is now generic for all architectures (doesn't contain any binary file).

Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-03 14:19:51 +01:00
Stephan Raue
0757e8858d busybox-initramfs: dont load splash in background, to make Milhouse happy
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-03 01:36:27 +01:00
Stephan Raue
bbd4355622 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-02-02 22:47:57 +01:00
Stephan Raue
f0a6ca107a xbmc: add PR2158 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 22:47:36 +01:00
Stephan Raue
6f4cb57328 alsa-lib: add upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 22:46:41 +01:00
Stephan Raue
49869f1686 linux: add patch to Add workaround for conflicting IEC958 controls
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 22:06:29 +01:00
Stefan Saraev
986806a21e Virtual: add uvesafb & xhci-hcd to initrd 2013-02-02 19:42:50 +02:00
Stephan Raue
14c26535be RTL8192CU: add patch to support kernel 3.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 16:23:57 +01:00
Stephan Raue
41a52e972b projects/RPi/patches/linux: update RPi patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 14:39:50 +01:00
Stephan Raue
5cd56586b9 bcm2835-bootloader: set gpu memory to 100MB for 256MB boards
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 14:39:07 +01:00
Stephan Raue
53b78bb5ed bcm2835-bootloader: install start_x.elf and fixup_x.dat too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 14:37:35 +01:00
Stephan Raue
de15aaaf6b bcm2835-bootloader: update to bcm2835-bootloader-73d99ed
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 14:35:00 +01:00
Stephan Raue
5ec73a2e7e bcm2835-driver: update to bcm2835-driver-73d99ed
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 14:34:18 +01:00
Stephan Raue
ddc180276a RTL8192CU: update to RTL8192CU-v3.4.4_4749.20121105
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 14:23:48 +01:00
Stephan Raue
ceedce8668 Merge pull request #1809 from fritsch/master
AE: wait max 10 seconds to find at least _one_ audio device
2013-02-01 09:10:20 -08:00
Stephan Raue
2a02a5914e json-c: add patch to support automake-1.13, this fixes #1830
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-01 16:52:55 +01:00
Stephan Raue
bcc13a27a3 speex: add patch to support automake-1.13
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-01 16:52:16 +01:00
Stephan Raue
564d8cf1b4 bcm_sta: update patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-01 16:27:57 +01:00
Stephan Raue
af534fc7a9 connman: update to connman-1.11
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-01 16:22:45 +01:00
fritsch
513f9c98cc AE: fix no devices found - 10 seconds start delay 2013-02-01 13:39:35 +01:00
Stephan Raue
7f8627cd01 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-01-31 15:55:08 +01:00
Stephan Raue
6f567364e5 dvb-firmware: update to dvb-firmware-0.0.30, this fixes #1822
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-31 15:05:09 +01:00
Stephan Raue
88f0cf423f Merge pull request #1823 from vpeter4/stuff
autoupdate: checking download success
2013-01-31 05:28:19 -08:00
vpeter4
8d808bea03 autoupdate: checking download success 2013-01-31 13:27:25 +01:00
Stefan Saraev
f50386d87f makemkv: ups. update changelog. 2013-01-30 12:15:29 +02:00
Stefan Saraev
2ad5beded2 makemkv: update to makemkv-1.7.10 2013-01-30 12:13:17 +02:00
Stephan Raue
b612271f7f Revert "bluez: update to bluez-5.1"
This reverts commit d5e294aaa5.
2013-01-30 06:24:12 +01:00
Stephan Raue
bd1fe46897 Revert "bluez: add init script and udev rule (needs rework)"
This reverts commit 6e5d304a3f.
2013-01-30 06:24:03 +01:00
Stephan Raue
617d5bfc45 Revert "bluez: build depend on 'readline'"
This reverts commit ef1dc59246.
2013-01-30 06:23:52 +01:00
Stephan Raue
52e8b1e9c7 Revert "bluez: rework install script, install some tools to release build"
This reverts commit 3f796d5d85.
2013-01-30 06:23:39 +01:00
Stephan Raue
38ee662107 projects/*/linux: reenable xpad driver, this should fix #1814
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-30 05:42:00 +01:00
Stephan Raue
a581aee4cc linux: add patch to disable XBOX controller PIDs which are supported by lirc
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-30 05:39:32 +01:00
Stephan Raue
52d73089f2 projects/*/linux: add Realtek PSTOR PCIe Cardreader support, this should fix #1798
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-30 04:13:13 +01:00
Stephan Raue
a78774bbb0 projects/Fusion/linux: add ACPI_CPUFREQ driver, which replaces the POWERNOW_K8 driver, this fixes #1815
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-30 03:56:55 +01:00
Stephan Raue
b67f2985d5 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2013-01-29 23:27:17 +01:00
Stefan Saraev
fc78eb074c Python: install wsgiref. closes #1710 2013-01-29 19:48:06 +02:00
Christian Hewitt
4f05ddedaa add bcm_sta to ATV drivers 2013-01-29 20:25:16 +04:00
Christian Hewitt
2c51355e77 remove b43 kernel config 2013-01-29 20:24:00 +04:00
Christian Hewitt
2defc5f4bc revert b43 to wl for ATV users 2013-01-29 20:04:36 +04:00
Stephan Raue
321041a8ba xbmc: update XVBA/VDPAU patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-29 10:22:37 +01:00
Stephan Raue
53ad9d2478 eglibc: update to eglibc-2.17-22321
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-29 10:21:37 +01:00
Stephan Raue
8dcc5c97b8 xbmc: show XBMC splash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-29 04:30:50 +01:00
Stephan Raue
23b0220008 xbmc: update to xbmc-12.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-29 04:30:30 +01:00
Stephan Raue
7338855b9b Revert "setxkbmap: revert change to set keyboard layout via udev, this should partly fix the change keyboard layout issues, but needs some more work"
This reverts commit 9eb0f5f195.
2013-01-29 03:15:15 +01:00
Stephan Raue
4c2c481e28 projects/*/linux: disable SMB2 and CIFS FSCACHE support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-29 02:48:56 +01:00
Stephan Raue
3f47dd5ec2 linux: update to linux-3.7.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-29 02:43:41 +01:00
Stephan Raue
88b437dc03 libX11: mostly cosmetics, we dont do install from $SYSROOT_PREFIX :-)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-29 02:42:55 +01:00
Stefan Saraev
5d1977062a libX11: fix non-working keyboard layouts (again)
this is a partial solution. requires invocation of
   setxkbmap when a keyboard is added / replugged.
   a propper fix is to move xkb setup to udev. I will do
   that later when our new settings addon is ready.

   closes #108 #823 #1661 #1741 #1743
2013-01-28 23:54:37 +02:00
Detlev Rackow
9b9b98b1a3 systemd: write to RTC in utc. to keep in line with connman 2013-01-28 23:18:49 +02:00
Stephan Raue
1774a0a711 xkeyboard-config: update configure settings
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-27 16:54:45 +01:00
Stephan Raue
f811ca5244 xkbcomp: update configure settings
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-27 16:54:06 +01:00
Stephan Raue
3765e1ac07 systemd: add keymap support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-27 02:43:47 +01:00
Stephan Raue
99917e437e ntfs-3g_ntfsprogs: update to ntfs-3g_ntfsprogs-2013.1.13
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-26 23:05:46 +01:00
Stephan Raue
d626253cfc e2fsprogs: update to e2fsprogs-1.42.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-26 23:05:29 +01:00
Stephan Raue
bf65f62be8 eventlircd: simplyfing lirc udev rule
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-26 23:04:49 +01:00
Stephan Raue
3f5ab0b9ef lirc: update xbox config file to support uinput
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-26 23:04:26 +01:00
Stefan Saraev
a5ee6b23cb tbs-linux-drivers: don't build ir-lirc-codec 2013-01-26 20:17:17 +02:00
Stefan Saraev
7564d70e96 eventlircd: fix -custom_config.patch broken in 201120e 2013-01-26 20:04:07 +02:00
Stefan Saraev
aece064802 busybox: rework cron support 2013-01-26 19:21:49 +02:00
Stefan Saraev
30c4121a0c busybox: oops, accidently removed cron support in 2a80b33c0. sry 2013-01-26 17:24:27 +02:00
Stefan Saraev
3a0a58f003 Revert "transmission: uTP is now disabled by default. add option to enable it."
This reverts commit 0b3c1a4e67.
2013-01-26 17:20:25 +02:00
Stefan Saraev
db9196f8fd Revert "transmission: net.core.{r,w}mem.max *workaround for uTP"
This reverts commit 2cf0e0be30.
2013-01-26 17:20:24 +02:00
Stefan Saraev
2a80b33c0d busybox: add sysctl.conf.sample 2013-01-26 17:19:15 +02:00
Stefan Saraev
4d6a95c553 Revert "transmission: add options to enable / disable LPD & DHT"
This reverts commit 5fad8bb95f.
2013-01-26 16:00:13 +02:00
Stefan Saraev
5fad8bb95f transmission: add options to enable / disable LPD & DHT 2013-01-26 15:37:50 +02:00
Stefan Saraev
ea7d19804e tvheadend: update to tvheadend-3.3.403. bump addon version 2013-01-26 14:16:01 +02:00
567 changed files with 30280 additions and 32434 deletions

View File

@@ -1,20 +1,5 @@
OpenELEC (Version 2.1)
OpenELEC (Version 3.0)
Changelog OpenELEC-2.0 to OpenELEC-2.1
for a detailed Changelog from OpenELEC-2.0 to OpenELEC-3.0 see:
https://github.com/OpenELEC/OpenELEC.tv/compare/2.0.0...3.0.0
Added packages:
- add package 'ppp'
- add package 'pptp'
Package updates:
- update linux to linux-3.5
- update dialog to dialog-1.1-20120215
- update connman to connman-1.4
Added functions:
- sshd can be enabled via OpenELEC Settings addon
- add PPTP support
Changed functions:
Removed functions:

View File

@@ -71,7 +71,7 @@ providing cutting edge hardware support to deliver a set-top box experience.
read-only with the exception of /var (containing runtime configuration data).
* Manual update/downgrade procedure is as follows:
Extract the snapshot and navigate to the 'target' directory.
Copy KERNEL and SYSTEM to the 'Update' network share (or /storage/.update) on
Copy KERNEL and SYSTEM along with KERNEL.md5 and SYSTEM.md5 to the 'Update' network share (or /storage/.update) on
your openelec machine. Your system will automatically upgrade during the
next reboot.
* Automatic mounting of filesystems is supported. Devices such as USB Flash

View File

@@ -17,6 +17,9 @@
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<platform>all</platform>
</extension>
</addon>

View File

@@ -34,7 +34,7 @@ fi
get_graphicdrivers() {
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 fglrx nvidia vmware virtualbox"
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 fglrx fglrx-legacy nvidia vmware virtualbox"
fi
for drv in $GRAPHIC_DRIVERS; do

View File

@@ -1,5 +1,5 @@
# VERSION: set full version, use "devel" for development version
OPENELEC_VERSION="2.99.2"
OPENELEC_VERSION="3.0.1"
# OS_VERSION: OS Version
OS_VERSION="3.0"

View File

@@ -20,7 +20,7 @@
################################################################################
PKG_NAME="CouchPotatoServer"
PKG_VERSION="393c14d"
PKG_VERSION="a49a00a"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"

View File

@@ -19,14 +19,14 @@
################################################################################
PKG_NAME="SABnzbd"
PKG_VERSION="0.7.9"
PKG_VERSION="0.7.11"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://sabnzbd.org/"
PKG_URL="$SOURCEFORGE_SRC/sabnzbdplus/sabnzbdplus/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}-src.tar.gz"
PKG_DEPENDS="Python Cheetah pyOpenSSL yenc unrar unzip par2cmdline"
PKG_BUILD_DEPENDS="toolchain Python Cheetah pyOpenSSL yenc unrar unzip par2cmdline"
PKG_BUILD_DEPENDS="toolchain Python Cheetah pyOpenSSL yenc unrar unzip par2cmdline configobj"
PKG_PRIORITY="optional"
PKG_SECTION="service/downloadmanager"
PKG_SHORTDESC="SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can."

View File

@@ -20,7 +20,7 @@
################################################################################
PKG_NAME="SickBeard"
PKG_VERSION="e6dcfb3"
PKG_VERSION="4e57625"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"

View File

@@ -1,35 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="sundtek"
PKG_VERSION="20120912"
PKG_REV="0"
PKG_ARCH="i386 x86_64 arm"
PKG_LICENSE="nonfree"
PKG_SITE="http://support.sundtek.com/"
PKG_URL="${DISTRO_SRC}/${PKG_NAME}-${PKG_VERSION}-${ARCH}.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS=""
PKG_PRIORITY="optional"
PKG_SECTION="driver/dvb"
PKG_SHORTDESC="Sundtek USB Stick DVB userspace driver"
PKG_LONGDESC="Driver for Sundtek MediaTV Pro (DVB-C, DVB-T, AnalogTV, Composite, S-Video, FM-Radio USB Stick) and Sundtek SkyTV Ultimate (DVB-S/S2 USB)."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@@ -19,12 +19,12 @@
################################################################################
PKG_NAME="ccid"
PKG_VERSION="1.4.8"
PKG_VERSION="1.4.9"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://pcsclite.alioth.debian.org/ccid.html"
PKG_URL="https://alioth.debian.org/frs/download.php/3768/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_URL="https://alioth.debian.org/frs/download.php/3866/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain pcsc-lite"
PKG_PRIORITY="optional"

View File

@@ -1,45 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
VDR_GUI_ADDON_DIR="/storage/.xbmc/addons/script.video.vdr-gui"
cd $PKG_BUILD
strip_lto
./autogen.sh --host=$TARGET_NAME \
--build=$HOST_NAME \
--with-external-ffmpeg \
--disable-dxr3 \
--disable-aalib \
--disable-vcd \
--disable-musepack
sed -i "s|XINE_PLUGINDIR .*|XINE_PLUGINDIR \"$VDR_GUI_ADDON_DIR/lib/xine/plugins/2.1\"|" include/configure.h
sed -i "s|XINE_PLUGINROOT .*|XINE_PLUGINROOT \"$VDR_GUI_ADDON_DIR/lib/xine/plugins/2\"|" include/configure.h
# same for fonts and locales and copy them
make
$MAKEINSTALL

View File

@@ -19,12 +19,12 @@
################################################################################
PKG_NAME="vdr-epgsearch"
PKG_VERSION="1.0.0"
PKG_VERSION="0fc4817"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://winni.vdr-developer.org/epgsearch/"
PKG_URL="http://winni.vdr-developer.org/epgsearch/downloads/${PKG_NAME}-${PKG_VERSION}.tgz"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="vdr"
PKG_BUILD_DEPENDS="toolchain vdr"
PKG_PRIORITY="optional"

View File

@@ -1,46 +0,0 @@
From 15d08ffb09de612ae1eb53b2aeca2f906f7076a6 Mon Sep 17 00:00:00 2001
From: Christian Wieninger
Date: Sun, 04 Mar 2012 08:44:19 +0000
Subject: support for vdr 1.7.25
---
diff --git a/Makefile b/Makefile
index 0397217..4a72b41 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -Wno-format-y2k
### The directory environment:
-DVBDIR = ../../../../DVB
+#DVBDIR = ../../../../DVB
VDRDIR = ../../..
LIBDIR = ../../lib
TMPDIR = /tmp
diff --git a/conflictcheck.h b/conflictcheck.h
index fcc6dcb..7e6fb7a 100644
--- a/conflictcheck.h
+++ b/conflictcheck.h
@@ -163,12 +163,20 @@ class cConflictCheckDevice
result = true;
#ifdef DO_REC_AND_PLAY_ON_PRIMARY_DEVICE
else
+#if APIVERSNUM < 10725
result = Priority >= Setup.PrimaryLimit;
+#else
+ result = Priority >= 0;
+#endif
#endif
#endif
}
else
+#if APIVERSNUM < 10725
result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit;
+#else
+ result = !IsPrimaryDevice() || Priority >= 0;
+#endif
}
else
needsDetachReceivers = true;
--
cgit v0.9.0.2-39-g756e

View File

@@ -24,6 +24,10 @@
VDR_DIR=`basename $BUILD/vdr-[0-9]*`
CFLAGS="$CFLAGS -fPIC"
CXXFLAGS="$CXXFLAGS -fPIC"
LDFLAGS="$LDFLAGS -fPIC"
cd $PKG_BUILD
make VDRDIR="../$VDR_DIR" LIBDIR="." LOCALEDIR="./locale"

View File

@@ -0,0 +1,14 @@
diff --git a/Makefile b/Makefile
index d41acd1..58faab1 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,6 @@
# Debugging on/off
#IPTV_DEBUG = 1
-# Strip debug symbols? Set eg. to /bin/true if not
-STRIP = strip
-
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
# By default the main source file also carries this name.

View File

@@ -0,0 +1,50 @@
From 94a0a210a485ce1fc95c47a6bc67c4c16c89a0f9 Mon Sep 17 00:00:00 2001
From: Dieter Hametner
Date: Sun, 25 Mar 2012 14:42:12 +0000
Subject: Updated LIVE to latest changes in vdr 1.7.27
- Do not use the direct access to cRecoding members any more.
---
diff --git a/epg_events.cpp b/epg_events.cpp
index a514769..cd4996e 100644
--- a/epg_events.cpp
+++ b/epg_events.cpp
@@ -182,12 +182,20 @@ namespace vdrlive
time_t EpgRecording::GetStartTime() const
{
+#if VDRVERSNUM < 10726
return m_recording ? m_recording->start : 0;
+#else
+ return m_recording ? m_recording->Start() : 0;
+#endif
}
time_t EpgRecording::GetEndTime() const
{
+#if VDRVERSNUM < 10726
return m_recording ? m_recording->start : 0;
+#else
+ return m_recording ? m_recording->Start() : 0;
+#endif
}
const string EpgRecording::Name() const
diff --git a/recman.cpp b/recman.cpp
index fb315d2..6a2fc00 100644
--- a/recman.cpp
+++ b/recman.cpp
@@ -383,7 +383,11 @@ namespace vdrlive {
time_t RecordingsItemRec::StartTime() const
{
+#if VDRVERSNUM < 10726
return m_recording->start;
+#else
+ return m_recording->Start();
+#endif
}
long RecordingsItemRec::Duration() const
--
cgit v0.9.0.2-40-g7c79

View File

@@ -0,0 +1,40 @@
From c3ecf9fabb674bc154f5a08cdd62e74e2b5d0e36 Mon Sep 17 00:00:00 2001
From: Christian Ruppert
Date: Sun, 03 Jun 2012 23:42:31 +0000
Subject: Compile fix for >=vdr-1.7.28
---
diff --git a/tasks.cpp b/tasks.cpp
index 9f20190..2a2b8d5 100644
--- a/tasks.cpp
+++ b/tasks.cpp
@@ -60,9 +60,15 @@ void PlayRecordingTask::Action()
const char *current = NowReplaying();
if (!current || (0 != strcmp(current, recording->FileName()))) {
+#if VDRVERSNUM >= 10728
+ cReplayControl::SetRecording( 0 );
+ cControl::Shutdown();
+ cReplayControl::SetRecording( recording->FileName() );
+#else
cReplayControl::SetRecording( 0, 0 );
cControl::Shutdown();
cReplayControl::SetRecording( recording->FileName(), recording->Title() );
+#endif
cControl::Launch( new cReplayControl );
cControl::Attach();
}
@@ -122,7 +128,11 @@ void StopRecordingTask::Action()
return;
}
+#if VDRVERSNUM >= 10728
+ cReplayControl::SetRecording( 0 );
+#else
cReplayControl::SetRecording( 0, 0 );
+#endif
cControl::Shutdown();
}
--
cgit v0.9.0.2-40-g7c79

View File

@@ -33,6 +33,7 @@ LDFLAGS="$LDFLAGS -fPIC"
cd $PKG_BUILD
make VDRDIR="../$VDR_DIR" \
VDRSRC="../$VDR_DIR" \
LIBDIR="." \
LOCALEDIR="./locale" \
CSAFLAGS="$CFLAGS -Wall -fomit-frame-pointer -fexpensive-optimizations -funroll-loops"

View File

@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="vdr-plugin-dvbapi"
PKG_VERSION="e87e15f"
PKG_VERSION="cd93752"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index d18b016..278af2b 100644
--- a/Makefile
+++ b/Makefile
@@ -156,7 +156,7 @@ libdvbapi-dvbufs9xx.so: device-ufs9xx.o
ifndef LIBDVBCSA
$(FFDECSA): $(FFDECSADIR)/*.c $(FFDECSADIR)/*.h
- @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CXXFLAGS) $(LDFLAGS) $(CSAFLAGS)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) all
+ @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CXXFLAGS) $(LDFLAGS) $(CSAFLAGS)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) FFdecsa.o
endif
install-lib: $(SOFILE)

View File

@@ -0,0 +1,16 @@
diff --git a/Makefile b/Makefile
index 278af2b..996dc77 100644
--- a/Makefile
+++ b/Makefile
@@ -85,8 +85,9 @@ OBJS = CAPMT.o DeCSA.o DeCsaTSBuffer.o dll.o DVBAPI.o DVBAPISetup.o SCDeviceProb
ifndef LIBDVBCSA
# FFdeCSA
-PARALLEL ?= PARALLEL_128_SSE2
-CSAFLAGS ?= -fexpensive-optimizations -funroll-loops -mmmx -msse -msse2 -msse3
+CPUOPT ?= pentium
+PARALLEL ?= PARALLEL_32_INT
+CSAFLAGS ?= -Wall -fPIC -g -O3 -mmmx -fomit-frame-pointer -fexpensive-optimizations -funroll-loops
FFDECSADIR = FFdecsa
FFDECSA = $(FFDECSADIR)/FFdecsa.o
DECSALIB = $(FFDECSA)

View File

@@ -0,0 +1,13 @@
diff --git a/device-tmpl.cpp b/device-tmpl.cpp
index 158324b..4d9f862 100644
--- a/device-tmpl.cpp
+++ b/device-tmpl.cpp
@@ -71,7 +71,7 @@ SCDEVICE::SCDEVICE(cScDevicePlugin *DevPlugin, int Adapter, int Frontend, int ca
fd_dvr = -1;
int n = Adapter;
- softcsa = (fd_ca < 0);
+ softcsa = true;
if (softcsa)
{
if (HasDecoder())

View File

@@ -1,12 +0,0 @@
diff -Naur vdr-dvbapi-plugin-6e8cad7/Makefile vdr-dvbapi-plugin-6e8cad7.patch/Makefile
--- vdr-dvbapi-plugin-6e8cad7/Makefile 2011-12-25 14:24:33.000000000 +0100
+++ vdr-dvbapi-plugin-6e8cad7.patch/Makefile 2011-12-29 18:59:21.847652339 +0100
@@ -80,7 +80,7 @@
gcc -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o $@ $< -ldl
$(FFDECSA): $(FFDECSADIR)/*.c $(FFDECSADIR)/*.h
- @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CSAFLAGS) -march=$(CPUOPT)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) all
+ @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CSAFLAGS)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) FFdecsa.o
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)

View File

@@ -1,17 +0,0 @@
diff --git a/Makefile b/Makefile
index a8c7d97..6084cec 100644
--- a/Makefile
+++ b/Makefile
@@ -54,9 +54,9 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
OBJS = CAPMT.o DeCSA.o DeCsaTSBuffer.o DVBAPI.o DVBAPISetup.o SCDeviceProbe.o SCDVBDevice.o UDPSocket.o SCCIAdapter.o Frame.o SCCAMSlot.o
# FFdeCSA
-CPUOPT ?= athlon64
-PARALLEL ?= PARALLEL_128_SSE
-CSAFLAGS ?= -fPIC -O3 -fexpensive-optimizations -funroll-loops -mmmx -msse -msse2 -msse3
+CPUOPT ?= pentium
+PARALLEL ?= PARALLEL_32_INT
+CSAFLAGS ?= -Wall -fPIC -g -O3 -mmmx -fomit-frame-pointer -fexpensive-optimizations -funroll-loops
FFDECSADIR = FFdecsa
FFDECSA = $(FFDECSADIR)/FFdecsa.o
FFDECSATEST = $(FFDECSADIR)/FFdecsa_test.done

View File

@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="vdr-plugin-streamdev"
PKG_VERSION="9135cde"
PKG_VERSION="f58086a"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -24,6 +24,10 @@
VDR_DIR=`basename $BUILD/vdr-[0-9]*`
CFLAGS="$CFLAGS -fPIC"
CXXFLAGS="$CXXFLAGS -fPIC"
LDFLAGS="$LDFLAGS -fPIC"
cd $PKG_BUILD
make VDRDIR="../$VDR_DIR" LIBDIR="." LOCALEDIR="./locale"

View File

@@ -24,6 +24,10 @@
VDR_DIR=`basename $BUILD/vdr-[0-9]*`
CFLAGS="$CFLAGS -fPIC"
CXXFLAGS="$CXXFLAGS -fPIC"
LDFLAGS="$LDFLAGS -fPIC"
cd $PKG_BUILD
ln -sf ../vdr-wirbelscan-[0-9]*/wirbelscan_services.h

View File

@@ -44,5 +44,5 @@ LIBS += -liconv
EOF
fi
make
make vdr
make include-dir

View File

@@ -20,14 +20,14 @@
################################################################################
PKG_NAME="vdr"
PKG_VERSION="1.7.27"
PKG_VERSION="1.7.33"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.tvdr.de"
PKG_URL="ftp://ftp.tvdr.de/vdr/Developer/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="fontconfig freetype libcap"
PKG_BUILD_DEPENDS="toolchain gettext fontconfig freetype fribidi libcap libjpeg-turbo bzip2 libXfont expat"
PKG_BUILD_DEPENDS="toolchain fontconfig freetype libcap libjpeg-turbo bzip2"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="vdr: A powerful DVB TV application"

View File

@@ -1,14 +0,0 @@
diff --git a/font.c b/font.c
index 706a017..72c5ec3 100644
--- a/font.c
+++ b/font.c
@@ -482,7 +482,8 @@ cString cFont::GetFontFileName(const char *FontName)
FcPatternAddBool(pat, FC_SCALABLE, FcTrue);
FcConfigSubstitute(NULL, pat, FcMatchPattern);
FcDefaultSubstitute(pat);
- FcFontSet *fontset = FcFontSort(NULL, pat, FcFalse, NULL, NULL);
+ FcResult fresult;
+ FcFontSet *fontset = FcFontSort(NULL, pat, FcFalse, NULL, &fresult);
if (fontset) {
for (int i = 0; i < fontset->nfont; i++) {
FcBool scalable;

View File

@@ -1,13 +0,0 @@
diff --git a/recording.h b/recording.h
index 5f94ee2..0b44fe8 100644
--- a/recording.h
+++ b/recording.h
@@ -22,7 +22,7 @@
#define TIMERMACRO_TITLE "TITLE"
#define TIMERMACRO_EPISODE "EPISODE"
-//#define __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS // Code enclosed with this macro is deprecated and may be removed in a future version
+#define __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS // Code enclosed with this macro is deprecated and may be removed in a future version
extern bool VfatFileSystem;
extern int InstanceId;

View File

@@ -1,84 +0,0 @@
Description: This patch allows tuning to encrypted channels which are
provided by a stremdev client device and therefore already are
decrypted on the streamdev server side.
See also: http://www.vdr-developer.org/mantisbt/view.php?id=429
Author: Tobias Grimm <tg@e-tobi.net>
Index: vdr-1.7.27/device.c
===================================================================
--- vdr-1.7.27.orig/device.c 2012-03-13 10:48:14.000000000 +0100
+++ vdr-1.7.27/device.c 2012-03-25 14:18:05.434975038 +0200
@@ -236,6 +236,7 @@
int NumCamSlots = CamSlots.Count();
int SlotPriority[NumCamSlots];
int NumUsableSlots = 0;
+ bool InternalCamNeeded = false;
if (Channel->Ca() >= CA_ENCRYPTED_MIN) {
for (cCamSlot *CamSlot = CamSlots.First(); CamSlot; CamSlot = CamSlots.Next(CamSlot)) {
SlotPriority[CamSlot->Index()] = MAXPRIORITY + 1; // assumes it can't be used
@@ -249,7 +250,7 @@
}
}
if (!NumUsableSlots)
- return NULL; // no CAM is able to decrypt this channel
+ InternalCamNeeded = true; // no CAM is able to decrypt this channel
}
bool NeedsDetachReceivers = false;
@@ -263,11 +264,13 @@
for (int i = 0; i < numDevices; i++) {
if (Channel->Ca() && Channel->Ca() <= CA_DVB_MAX && Channel->Ca() != device[i]->CardIndex() + 1)
continue; // a specific card was requested, but not this one
- if (NumUsableSlots && !CamSlots.Get(j)->Assign(device[i], true))
+ if (InternalCamNeeded && !device[i]->HasInternalCam())
+ continue; // no CAM is able to decrypt this channel and the device uses vdr handled CAMs
+ if (NumUsableSlots && !device[i]->HasInternalCam() && !CamSlots.Get(j)->Assign(device[i], true))
continue; // CAM slot can't be used with this device
bool ndr;
if (device[i]->ProvidesChannel(Channel, Priority, &ndr)) { // this device is basicly able to do the job
- if (NumUsableSlots && device[i]->CamSlot() && device[i]->CamSlot() != CamSlots.Get(j))
+ if (NumUsableSlots && !device[i]->HasInternalCam() && device[i]->CamSlot() && device[i]->CamSlot() != CamSlots.Get(j))
ndr = true; // using a different CAM slot requires detaching receivers
// Put together an integer number that reflects the "impact" using
// this device would have on the overall system. Each condition is represented
@@ -282,18 +285,18 @@
imp <<= 4; imp |= GetClippedNumProvidedSystems(4, device[i]) - 1; // avoid cards which support multiple delivery systems
imp <<= 1; imp |= device[i] == cTransferControl::ReceiverDevice(); // avoid the Transfer Mode receiver device
imp <<= 8; imp |= device[i]->Priority() - IDLEPRIORITY; // use the device with the lowest priority (- IDLEPRIORITY to assure that values -100..99 can be used)
- imp <<= 8; imp |= (NumUsableSlots ? SlotPriority[j] : IDLEPRIORITY) - IDLEPRIORITY; // use the CAM slot with the lowest priority (- IDLEPRIORITY to assure that values -100..99 can be used)
+ imp <<= 8; imp |= ((NumUsableSlots && !device[i]->HasInternalCam()) ? SlotPriority[j] : IDLEPRIORITY) - IDLEPRIORITY; // use the CAM slot with the lowest priority (- IDLEPRIORITY to assure that values -100..99 can be used)
imp <<= 1; imp |= ndr; // avoid devices if we need to detach existing receivers
- imp <<= 1; imp |= NumUsableSlots ? 0 : device[i]->HasCi(); // avoid cards with Common Interface for FTA channels
+ imp <<= 1; imp |= (NumUsableSlots || InternalCamNeeded) ? 0 : device[i]->HasCi(); // avoid cards with Common Interface for FTA channels
imp <<= 1; imp |= device[i]->AvoidRecording(); // avoid SD full featured cards
- imp <<= 1; imp |= NumUsableSlots ? !ChannelCamRelations.CamDecrypt(Channel->GetChannelID(), j + 1) : 0; // prefer CAMs that are known to decrypt this channel
+ imp <<= 1; imp |= (NumUsableSlots && !device[i]->HasInternalCam()) ? !ChannelCamRelations.CamDecrypt(Channel->GetChannelID(), j + 1) : 0; // prefer CAMs that are known to decrypt this channel
imp <<= 1; imp |= device[i]->IsPrimaryDevice(); // avoid the primary device
if (imp < Impact) {
// This device has less impact than any previous one, so we take it.
Impact = imp;
d = device[i];
NeedsDetachReceivers = ndr;
- if (NumUsableSlots)
+ if (NumUsableSlots && !device[i]->HasInternalCam())
s = CamSlots.Get(j);
}
}
Index: vdr-1.7.27/device.h
===================================================================
--- vdr-1.7.27.orig/device.h 2012-03-13 11:17:16.000000000 +0100
+++ vdr-1.7.27/device.h 2012-03-25 14:18:05.434975038 +0200
@@ -405,6 +405,13 @@
public:
virtual bool HasCi(void);
///< Returns true if this device has a Common Interface.
+#define INTERNAL_CAM_DEVICES_PATCH 1
+ virtual bool HasInternalCam(void) { return false; }
+ ///< Returns true if this device handles encrypted channels itself
+ ///< without VDR assistance. This can be e.g. when the device is a
+ ///< client that gets the stream from another VDR instance that has
+ ///< already decrypted the stream. In this case ProvidesChannel()
+ ///< shall check whether the channel can be decrypted.
void SetCamSlot(cCamSlot *CamSlot);
///< Sets the given CamSlot to be used with this device.
cCamSlot *CamSlot(void) const { return camSlot; }

View File

@@ -1,114 +0,0 @@
diff --git a/device.h b/device.h
index e61edd0..dc2ea5f 100644
--- a/device.h
+++ b/device.h
@@ -24,6 +24,8 @@
#include "spu.h"
#include "thread.h"
#include "tools.h"
+#include <asm/types.h>
+#include <linux/dvb/frontend.h>
#define MAXDEVICES 16 // the maximum number of devices in the system
#define MAXPIDHANDLES 64 // the maximum number of different PIDs per device
@@ -331,7 +333,7 @@ public:
virtual bool HasProgramme(void);
///< Returns true if the device is currently showing any programme to
///< the user, either through replaying or live.
-
+ virtual bool SendDiseqcCmd(dvb_diseqc_master_cmd cmd) {return false;}
// PID handle facilities
private:
diff --git a/dvbdevice.c b/dvbdevice.c
index 65e9a4b..53a4a22 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -285,6 +285,7 @@ class cDvbTuner : public cThread {
private:
static cMutex bondMutex;
enum eTunerStatus { tsIdle, tsSet, tsTuned, tsLocked };
+ bool SendDiseqc;
const cDvbDevice *device;
int fd_frontend;
int adapter, frontend;
@@ -300,6 +301,7 @@ private:
cMutex mutex;
cCondVar locked;
cCondVar newSet;
+ dvb_diseqc_master_cmd diseqc_cmd;
cDvbTuner *bondedTuner;
bool bondedMaster;
bool bondedMasterFailed;
@@ -322,6 +324,7 @@ public:
uint32_t SubsystemId(void) const { return subsystemId; }
bool IsTunedTo(const cChannel *Channel) const;
void SetChannel(const cChannel *Channel);
+ bool SendDiseqcCmd(dvb_diseqc_master_cmd cmd);
bool Locked(int TimeoutMs = 0);
int GetSignalStrength(void) const;
int GetSignalQuality(void) const;
@@ -333,6 +336,7 @@ cDvbTuner::cDvbTuner(const cDvbDevice *Device, int Fd_Frontend, int Adapter, int
{
device = Device;
fd_frontend = Fd_Frontend;
+ SendDiseqc=false;
adapter = Adapter;
frontend = Frontend;
subsystemId = cDvbDeviceProbe::GetSubsystemId(adapter, frontend);
@@ -860,6 +864,10 @@ void cDvbTuner::Action(void)
Status = NewStatus;
cMutexLock MutexLock(&mutex);
int WaitTime = 1000;
+ if (SendDiseqc) {
+ CHECK(ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &diseqc_cmd));
+ SendDiseqc=false;
+ }
switch (tunerStatus) {
case tsIdle:
break;
@@ -913,6 +921,20 @@ void cDvbTuner::Action(void)
}
}
+bool cDvbTuner::SendDiseqcCmd(dvb_diseqc_master_cmd cmd)
+{
+ cMutexLock MutexLock(&mutex);
+ cDvbTransponderParameters dtp(channel.Parameters());
+ // Determine the required frontend type:
+ int frontendType = GetRequiredDeliverySystem(&channel, &dtp);
+ if ((frontendType!=SYS_DVBS2 && frontendType!=SYS_DVBS) || SendDiseqc)
+ return false;
+ diseqc_cmd=cmd;
+ SendDiseqc=true;
+ newSet.Broadcast();
+ return true;
+}
+
// --- cDvbSourceParam -------------------------------------------------------
class cDvbSourceParam : public cSourceParam {
@@ -1534,6 +1556,11 @@ bool cDvbDevice::HasLock(int TimeoutMs)
return dvbTuner ? dvbTuner->Locked(TimeoutMs) : false;
}
+bool cDvbDevice::SendDiseqcCmd(dvb_diseqc_master_cmd cmd)
+{
+ return dvbTuner->SendDiseqcCmd(cmd);
+}
+
void cDvbDevice::SetTransferModeForDolbyDigital(int Mode)
{
setTransferModeForDolbyDigital = Mode;
diff --git a/dvbdevice.h b/dvbdevice.h
index c53a208..4ffcb91 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -192,6 +192,7 @@ protected:
virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);
public:
virtual bool HasLock(int TimeoutMs = 0);
+ virtual bool SendDiseqcCmd(dvb_diseqc_master_cmd cmd);
// PID handle facilities

View File

@@ -1,258 +0,0 @@
Description: Patch for VDR to support external CI devices
Origin: https://github.com/flensrocker/vdr-plugin-dynamite
Forwarded: no
Author: Lars Hanisch <dvb@flensrocker.de>
Index: vdr-1.7.27/ci.h
===================================================================
--- vdr-1.7.27.orig/ci.h 2012-03-25 14:47:30.464975099 +0200
+++ vdr-1.7.27/ci.h 2012-03-25 14:51:11.824975107 +0200
@@ -72,6 +72,7 @@
};
class cDevice;
+class cTSBufferBase;
class cCamSlot;
enum eModuleStatus { msNone, msReset, msPresent, msReady };
@@ -115,6 +116,11 @@
///< The derived class must call Cancel(3) in its destructor.
virtual bool Ready(void);
///< Returns 'true' if all present CAMs in this adapter are ready.
+#define EXTERNALCI_PATCH
+ virtual cTSBufferBase *GetTSBuffer(int FdDvr) { return NULL; }
+ ///< Derived classes can return a special TS buffer with features
+ ///< like rerouting the stream through an external ci.
+ ///< The caller must delete the buffer.
virtual bool SetIdle(bool Idle, bool TestOnly) { return false; }
virtual bool IsIdle(void) const { return false; }
};
Index: vdr-1.7.27/device.h
===================================================================
--- vdr-1.7.27.orig/device.h 2012-03-25 14:47:30.474975099 +0200
+++ vdr-1.7.27/device.h 2012-03-25 14:51:11.824975107 +0200
@@ -795,7 +795,14 @@
/// sure the returned data points to a TS packet and automatically
/// re-synchronizes after broken packets.
-class cTSBuffer : public cThread {
+class cTSBufferBase {
+public:
+ cTSBufferBase() {}
+ virtual ~cTSBufferBase() {}
+ virtual uchar *Get(void) = 0;
+ };
+
+class cTSBuffer : public cTSBufferBase, public cThread {
private:
int f;
int cardIndex;
@@ -804,8 +811,8 @@
virtual void Action(void);
public:
cTSBuffer(int File, int Size, int CardIndex);
- ~cTSBuffer();
- uchar *Get(void);
+ virtual ~cTSBuffer();
+ virtual uchar *Get(void);
};
/// A plugin that want to create devices handled by the dynamite-plugin needs to create
Index: vdr-1.7.27/dvbci.c
===================================================================
--- vdr-1.7.27.orig/dvbci.c 2012-03-25 14:47:30.474975099 +0200
+++ vdr-1.7.27/dvbci.c 2012-03-25 14:51:11.824975107 +0200
@@ -22,23 +22,8 @@
adapter = Adapter;
frontend = Frontend;
idle = false;
- ca_caps_t Caps;
- if (ioctl(fd, CA_GET_CAP, &Caps) == 0) {
- if ((Caps.slot_type & CA_CI_LINK) != 0) {
- int NumSlots = Caps.slot_num;
- if (NumSlots > 0) {
- for (int i = 0; i < NumSlots; i++)
- new cCamSlot(this);
- Start();
- }
- else
- esyslog("ERROR: no CAM slots found on device %d", device->DeviceNumber());
- }
- else
- isyslog("device %d doesn't support CI link layer interface", device->DeviceNumber());
- }
- else
- esyslog("ERROR: can't get CA capabilities on device %d", device->DeviceNumber());
+ GetNumCamSlots(Device, Fd, this);
+ Start();
}
cDvbCiAdapter::~cDvbCiAdapter()
@@ -48,6 +33,13 @@
CloseCa();
}
+cTSBufferBase *cDvbCiAdapter::GetTSBuffer(int FdDvr)
+{
+ if (device)
+ return new cTSBuffer(FdDvr, MEGABYTE(2), device->CardIndex() + 1);
+ return NULL;
+}
+
bool cDvbCiAdapter::OpenCa(void)
{
if (fd >= 0)
@@ -142,10 +134,60 @@
return true;
}
+int cDvbCiAdapter::GetNumCamSlots(cDevice *Device, int Fd, cCiAdapter *CiAdapter)
+{
+ int NumSlots = -1;
+ if (Fd >= 0) {
+ ca_caps_t Caps;
+ if (ioctl(Fd, CA_GET_CAP, &Caps) == 0) {
+ if ((Caps.slot_type & CA_CI_LINK) != 0) {
+ NumSlots = Caps.slot_num;
+ if (NumSlots == 0)
+ esyslog("ERROR: no CAM slots found on device %d", Device->DeviceNumber());
+ else if (CiAdapter != NULL) {
+ for (int i = 0; i < NumSlots; i++)
+ new cCamSlot(CiAdapter);
+ }
+ else
+ return NumSlots;
+ }
+ else
+ isyslog("device %d doesn't support CI link layer interface", Device->DeviceNumber());
+ }
+ else
+ esyslog("ERROR: can't get CA capabilities on device %d", Device->DeviceNumber());
+ }
+ return -1;
+}
+
cDvbCiAdapter *cDvbCiAdapter::CreateCiAdapter(cDevice *Device, int Fd, int Adapter, int Frontend)
{
- // TODO check whether a CI is actually present?
- if (Device)
+ // don't create a ci-adapter if it's not useable
+ if (Device && (Fd >= 0) && (GetNumCamSlots(Device, Fd, NULL) > 0))
return new cDvbCiAdapter(Device, Fd, Adapter, Frontend);
- return NULL;
+
+ if (Fd >= 0)
+ close(Fd);
+
+ // try to find an external ci-adapter
+ for (cDvbCiAdapterProbe *cp = DvbCiAdapterProbes.First(); cp; cp = DvbCiAdapterProbes.Next(cp)) {
+ cDvbCiAdapter *ca = cp->Probe(Device);
+ if (ca)
+ return ca;
+ }
+ return NULL;
+}
+
+// --- cDvbCiAdapterProbe -------------------------------------------------------
+
+cList<cDvbCiAdapterProbe> DvbCiAdapterProbes;
+
+cDvbCiAdapterProbe::cDvbCiAdapterProbe(void)
+{
+ DvbCiAdapterProbes.Add(this);
+}
+
+cDvbCiAdapterProbe::~cDvbCiAdapterProbe()
+{
+ DvbCiAdapterProbes.Del(this, false);
}
Index: vdr-1.7.27/dvbci.h
===================================================================
--- vdr-1.7.27.orig/dvbci.h 2012-03-25 14:47:30.474975099 +0200
+++ vdr-1.7.27/dvbci.h 2012-03-25 14:51:11.824975107 +0200
@@ -31,9 +31,33 @@
cDvbCiAdapter(cDevice *Device, int Fd, int Adapter = -1, int Frontend = -1);
public:
virtual ~cDvbCiAdapter();
+ virtual cTSBufferBase *GetTSBuffer(int FdDvr);
+ static int GetNumCamSlots(cDevice *Device, int Fd, cCiAdapter *CiAdapter);
+ ///< Tests if the CA device is usable for vdr.
+ ///< If CiAdapter is not NULL it will create the CamSlots for the given ci-adapter.
virtual bool SetIdle(bool Idle, bool TestOnly);
virtual bool IsIdle(void) const { return idle; }
static cDvbCiAdapter *CreateCiAdapter(cDevice *Device, int Fd, int Adapter = -1, int Frontend = -1);
};
+// A plugin that implements an external DVB ci-adapter derived from cDvbCiAdapter needs to create
+// a cDvbCiAdapterProbe derived object on the heap in order to have its Probe()
+// function called, where it can actually create the appropriate ci-adapter.
+// The cDvbCiAdapterProbe object must be created in the plugin's constructor,
+// and deleted in its destructor.
+// Every plugin has to track its own list of already used device nodes.
+// The Probes are always called if the base cDvbCiAdapter can't create a ci-adapter on its own.
+
+class cDvbCiAdapterProbe : public cListObject {
+public:
+ cDvbCiAdapterProbe(void);
+ virtual ~cDvbCiAdapterProbe();
+ virtual cDvbCiAdapter *Probe(cDevice *Device) = 0;
+ ///< Probes for a DVB ci-adapter for the given Device and creates the appropriate
+ ///< object derived from cDvbCiAdapter if applicable.
+ ///< Returns NULL if no adapter has been created.
+ };
+
+extern cList<cDvbCiAdapterProbe> DvbCiAdapterProbes;
+
#endif //__DVBCI_H
Index: vdr-1.7.27/dvbdevice.c
===================================================================
--- vdr-1.7.27.orig/dvbdevice.c 2012-03-25 14:47:30.474975099 +0200
+++ vdr-1.7.27/dvbdevice.c 2012-03-25 14:51:11.824975107 +0200
@@ -1106,9 +1106,8 @@
// Common Interface:
- fd_ca = DvbOpen(DEV_DVB_CA, adapter, frontend, O_RDWR);
- if (fd_ca >= 0)
- ciAdapter = cDvbCiAdapter::CreateCiAdapter(parentDevice ? parentDevice : this, fd_ca, adapter, frontend);
+ int fd_ca = DvbOpen(DEV_DVB_CA, adapter, frontend, O_RDWR);
+ ciAdapter = cDvbCiAdapter::CreateCiAdapter(parentDevice ? parentDevice : this, fd_ca, adapter, frontend);
// The DVR device (will be opened and closed as needed):
@@ -1665,8 +1664,12 @@
{
CloseDvr();
fd_dvr = DvbOpen(DEV_DVB_DVR, adapter, frontend, O_RDONLY | O_NONBLOCK, true);
- if (fd_dvr >= 0)
- tsBuffer = new cTSBuffer(fd_dvr, MEGABYTE(2), CardIndex() + 1);
+ if (fd_dvr >= 0) {
+ if (ciAdapter)
+ tsBuffer = ciAdapter->GetTSBuffer(fd_dvr);
+ if (tsBuffer == NULL)
+ tsBuffer = new cTSBuffer(fd_dvr, MEGABYTE(2), CardIndex() + 1);
+ }
return fd_dvr >= 0;
}
Index: vdr-1.7.27/dvbdevice.h
===================================================================
--- vdr-1.7.27.orig/dvbdevice.h 2012-03-25 14:50:28.174975106 +0200
+++ vdr-1.7.27/dvbdevice.h 2012-03-25 14:51:11.824975107 +0200
@@ -127,7 +127,7 @@
int deliverySystems[MAXDELIVERYSYSTEMS];
int numDeliverySystems;
int numModulations;
- int fd_dvr, fd_ca;
+ int fd_dvr;
static cMutex bondMutex;
cDvbDevice *bondedDevice;
mutable bool needsDetachBondedReceivers;
@@ -227,7 +227,7 @@
// Receiver facilities
private:
- cTSBuffer *tsBuffer;
+ cTSBufferBase *tsBuffer;
protected:
virtual bool OpenDvr(void);
virtual void CloseDvr(void);

View File

@@ -1,16 +0,0 @@
diff --git a/dvbdevice.c b/dvbdevice.c
index 42ec5b1..9c397d7 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -839,7 +839,11 @@ bool cDvbTuner::SetFrontend(void)
SETCMD(DTV_HIERARCHY, dtp.Hierarchy());
if (frontendType == SYS_DVBT2) {
// DVB-T2
+#ifdef DTV_DVBT2_PLP_ID
SETCMD(DTV_DVBT2_PLP_ID, dtp.PlpId());
+#else
+ SETCMD(DTV_DVBT2_PLP_ID_LEGACY, dtp.PlpId());
+#endif
}
tuneTimeout = DVBT_TUNE_TIMEOUT;

View File

@@ -1,21 +1,5 @@
From a13c75ec46f2783b2d258af48d7de28d44666715 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Sat, 5 May 2012 21:50:48 +0300
Subject: [PATCH 2/2] dynamite
---
ci.c | 2 +
ci.h | 2 +
device.c | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
device.h | 85 ++++++++++++++++++++++++++++++++++++-----
dvbci.c | 51 +++++++++++++++++++++++--
dvbci.h | 12 +++++-
dvbdevice.c | 95 ++++++++++++++++++++++++++++++++++++++++++----
dvbdevice.h | 6 ++-
8 files changed, 339 insertions(+), 35 deletions(-)
diff --git a/ci.c b/ci.c
index 0135d07..cf21952 100644
index 904697e..1e95313 100644
--- a/ci.c
+++ b/ci.c
@@ -1571,6 +1571,8 @@ cCamSlot::cCamSlot(cCiAdapter *CiAdapter)
@@ -28,29 +12,43 @@ index 0135d07..cf21952 100644
DeleteAllConnections();
}
diff --git a/ci.h b/ci.h
index 74e0270..d38e2dd 100644
index 74e0270..818ea29 100644
--- a/ci.h
+++ b/ci.h
@@ -115,6 +115,8 @@ public:
@@ -72,6 +72,7 @@ public:
};
class cDevice;
+class cTSBufferBase;
class cCamSlot;
enum eModuleStatus { msNone, msReset, msPresent, msReady };
@@ -115,6 +116,13 @@ public:
///< The derived class must call Cancel(3) in its destructor.
virtual bool Ready(void);
///< Returns 'true' if all present CAMs in this adapter are ready.
+#define EXTERNALCI_PATCH
+ virtual cTSBufferBase *GetTSBuffer(int FdDvr) { return NULL; }
+ ///< Derived classes can return a special TS buffer with features
+ ///< like rerouting the stream through an external ci.
+ ///< The caller must delete the buffer.
+ virtual bool SetIdle(bool Idle, bool TestOnly) { return false; }
+ virtual bool IsIdle(void) const { return false; }
};
class cTPDU;
diff --git a/device.c b/device.c
index 273757e..f83e789 100644
index 2678d68..56c2b9c 100644
--- a/device.c
+++ b/device.c
@@ -69,12 +69,22 @@ int cDevice::currentChannel = 1;
cDevice *cDevice::device[MAXDEVICES] = { NULL };
cDevice *cDevice::primaryDevice = NULL;
cList<cDeviceHook> cDevice::deviceHooks;
+cDevice *cDevice::nextParentDevice = NULL;
-
-cDevice::cDevice(void)
+cDevice *cDevice::nextParentDevice = NULL;
+
+cDevice::cDevice(cDevice *ParentDevice)
:patPmtParser(true)
-{
@@ -128,7 +126,7 @@ index 273757e..f83e789 100644
for (int i = 0; i < numDevices; i++) {
if (device[i] == this)
return i;
@@ -349,6 +388,8 @@ bool cDevice::HasCi(void)
@@ -355,6 +394,8 @@ bool cDevice::HasCi(void)
void cDevice::SetCamSlot(cCamSlot *CamSlot)
{
@@ -137,7 +135,7 @@ index 273757e..f83e789 100644
camSlot = CamSlot;
}
@@ -561,6 +602,10 @@ void cDevice::DelLivePids(void)
@@ -567,6 +608,10 @@ void cDevice::DelLivePids(void)
void cDevice::StartSectionHandler(void)
{
@@ -148,7 +146,7 @@ index 273757e..f83e789 100644
if (!sectionHandler) {
sectionHandler = new cSectionHandler(this);
AttachFilter(eitFilter = new cEitFilter);
@@ -572,6 +617,10 @@ void cDevice::StartSectionHandler(void)
@@ -578,6 +623,10 @@ void cDevice::StartSectionHandler(void)
void cDevice::StopSectionHandler(void)
{
@@ -159,7 +157,7 @@ index 273757e..f83e789 100644
if (sectionHandler) {
delete nitFilter;
delete sdtFilter;
@@ -598,12 +647,17 @@ void cDevice::CloseFilter(int Handle)
@@ -609,12 +658,17 @@ void cDevice::CloseFilter(int Handle)
void cDevice::AttachFilter(cFilter *Filter)
{
@@ -177,7 +175,7 @@ index 273757e..f83e789 100644
if (sectionHandler)
sectionHandler->Detach(Filter);
}
@@ -765,6 +819,7 @@ eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView)
@@ -776,6 +830,7 @@ eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView)
sectionHandler->SetStatus(false);
sectionHandler->SetChannel(NULL);
}
@@ -185,7 +183,7 @@ index 273757e..f83e789 100644
// Tell the camSlot about the channel switch and add all PIDs of this
// channel to it, for possible later decryption:
if (camSlot)
@@ -811,19 +866,27 @@ void cDevice::ForceTransferMode(void)
@@ -822,19 +877,27 @@ void cDevice::ForceTransferMode(void)
{
if (!cTransferControl::ReceiverDevice()) {
cChannel *Channel = Channels.GetByNumber(CurrentChannel());
@@ -214,7 +212,7 @@ index 273757e..f83e789 100644
if (Seconds >= 0)
occupiedTimeout = time(NULL) + min(Seconds, MAXOCCUPIEDTIMEOUT);
}
@@ -1196,7 +1259,10 @@ bool cDevice::Transferring(void) const
@@ -1209,7 +1272,10 @@ bool cDevice::Transferring(void) const
bool cDevice::AttachPlayer(cPlayer *Player)
{
@@ -225,7 +223,7 @@ index 273757e..f83e789 100644
if (player)
Detach(player);
DELETENULL(liveSubtitle);
@@ -1215,6 +1281,8 @@ bool cDevice::AttachPlayer(cPlayer *Player)
@@ -1228,6 +1294,8 @@ bool cDevice::AttachPlayer(cPlayer *Player)
void cDevice::Detach(cPlayer *Player)
{
@@ -234,7 +232,7 @@ index 273757e..f83e789 100644
if (Player && player == Player) {
cPlayer *p = player;
player = NULL; // avoids recursive calls to Detach()
@@ -1234,6 +1302,8 @@ void cDevice::Detach(cPlayer *Player)
@@ -1247,6 +1315,8 @@ void cDevice::Detach(cPlayer *Player)
void cDevice::StopReplay(void)
{
@@ -243,7 +241,7 @@ index 273757e..f83e789 100644
if (player) {
Detach(player);
if (IsPrimaryDevice())
@@ -1516,6 +1586,8 @@ int cDevice::PlayTs(const uchar *Data, int Length, bool VideoOnly)
@@ -1529,6 +1599,8 @@ int cDevice::PlayTs(const uchar *Data, int Length, bool VideoOnly)
int cDevice::Priority(void) const
{
@@ -252,7 +250,7 @@ index 273757e..f83e789 100644
int priority = IDLEPRIORITY;
if (IsPrimaryDevice() && !Replaying() && ActualDevice() == PrimaryDevice())
priority = TRANSFERPRIORITY; // we use the same value here, no matter whether it's actual Transfer Mode or real live viewing
@@ -1534,6 +1606,8 @@ bool cDevice::Ready(void)
@@ -1547,6 +1619,8 @@ bool cDevice::Ready(void)
bool cDevice::Receiving(bool Dummy) const
{
@@ -261,7 +259,7 @@ index 273757e..f83e789 100644
cMutexLock MutexLock(&mutexReceiver);
for (int i = 0; i < MAXRECEIVERS; i++) {
if (receiver[i])
@@ -1614,10 +1688,13 @@ bool cDevice::GetTSPacket(uchar *&Data)
@@ -1627,10 +1701,13 @@ bool cDevice::GetTSPacket(uchar *&Data)
bool cDevice::AttachReceiver(cReceiver *Receiver)
{
@@ -275,7 +273,7 @@ index 273757e..f83e789 100644
// activate the following line if you need it - actually the driver should be fixed!
//#define WAIT_FOR_TUNER_LOCK
#ifdef WAIT_FOR_TUNER_LOCK
@@ -1656,6 +1733,8 @@ bool cDevice::AttachReceiver(cReceiver *Receiver)
@@ -1669,6 +1746,8 @@ bool cDevice::AttachReceiver(cReceiver *Receiver)
void cDevice::Detach(cReceiver *Receiver)
{
@@ -284,7 +282,7 @@ index 273757e..f83e789 100644
if (!Receiver || Receiver->device != this)
return;
bool receiversLeft = false;
@@ -1681,6 +1760,8 @@ void cDevice::Detach(cReceiver *Receiver)
@@ -1694,6 +1773,8 @@ void cDevice::Detach(cReceiver *Receiver)
void cDevice::DetachAll(int Pid)
{
@@ -293,7 +291,7 @@ index 273757e..f83e789 100644
if (Pid) {
cMutexLock MutexLock(&mutexReceiver);
for (int i = 0; i < MAXRECEIVERS; i++) {
@@ -1693,6 +1774,8 @@ void cDevice::DetachAll(int Pid)
@@ -1706,6 +1787,8 @@ void cDevice::DetachAll(int Pid)
void cDevice::DetachAllReceivers(void)
{
@@ -302,7 +300,7 @@ index 273757e..f83e789 100644
cMutexLock MutexLock(&mutexReceiver);
for (int i = 0; i < MAXRECEIVERS; i++)
Detach(receiver[i]);
@@ -1764,3 +1847,25 @@ uchar *cTSBuffer::Get(void)
@@ -1778,3 +1861,25 @@ uchar *cTSBuffer::Get(void)
}
return NULL;
}
@@ -329,10 +327,18 @@ index 273757e..f83e789 100644
+ DynamicDeviceProbes.Del(this, false);
+}
diff --git a/device.h b/device.h
index dc2ea5f..e5e92a3 100644
index e2847d8..3a8aa01 100644
--- a/device.h
+++ b/device.h
@@ -171,7 +171,6 @@ private:
@@ -24,6 +24,7 @@
#include "spu.h"
#include "thread.h"
#include "tools.h"
+#include <linux/dvb/frontend.h>
#define MAXDEVICES 16 // the maximum number of devices in the system
#define MAXPIDHANDLES 64 // the maximum number of different PIDs per device
@@ -169,7 +170,6 @@ private:
static int nextCardIndex;
int cardIndex;
protected:
@@ -340,7 +346,7 @@ index dc2ea5f..e5e92a3 100644
virtual ~cDevice();
virtual bool Ready(void);
///< Returns true if this device is ready. Devices with conditional
@@ -198,9 +197,6 @@ protected:
@@ -196,9 +196,6 @@ protected:
///< A derived class must call the MakePrimaryDevice() function of its
///< base class.
public:
@@ -349,8 +355,16 @@ index dc2ea5f..e5e92a3 100644
- ///< Returns the card index of this device (0 ... MAXDEVICES - 1).
int DeviceNumber(void) const;
///< Returns the number of this device (0 ... numDevices).
virtual cString DeviceName(void) const;
@@ -416,9 +412,6 @@ public:
virtual cString DeviceType(void) const;
@@ -338,6 +335,7 @@ public:
///< Returns true if the device is currently showing any programme to
///< the user, either through replaying or live.
+ virtual bool SendDiseqcCmd(dvb_diseqc_master_cmd cmd) {return false;}
// PID handle facilities
private:
@@ -423,9 +421,6 @@ public:
///< shall check whether the channel can be decrypted.
void SetCamSlot(cCamSlot *CamSlot);
///< Sets the given CamSlot to be used with this device.
@@ -360,7 +374,7 @@ index dc2ea5f..e5e92a3 100644
// Image Grab facilities
@@ -574,9 +567,6 @@ private:
@@ -581,9 +576,6 @@ private:
cTsToPes tsToPesSubtitle;
bool isPlayingVideo;
protected:
@@ -370,11 +384,11 @@ index dc2ea5f..e5e92a3 100644
virtual bool CanReplay(void) const;
///< Returns true if this device can currently start a replay session.
virtual bool SetPlayMode(ePlayMode PlayMode);
@@ -761,6 +751,38 @@ public:
@@ -795,6 +787,38 @@ public:
///< Detaches all receivers from this device for this pid.
virtual void DetachAllReceivers(void);
///< Detaches all receivers from this device.
+
+
+// --- dynamite subdevice patch start ---
+ friend class cDynamicDevice;
+private:
@@ -409,10 +423,32 @@ index dc2ea5f..e5e92a3 100644
};
/// Derived cDevice classes that can receive channels will have to provide
@@ -784,4 +806,47 @@ public:
uchar *Get(void);
};
@@ -805,7 +829,14 @@ public:
/// sure the returned data points to a TS packet and automatically
/// re-synchronizes after broken packets.
-class cTSBuffer : public cThread {
+class cTSBufferBase {
+public:
+ cTSBufferBase() {}
+ virtual ~cTSBufferBase() {}
+ virtual uchar *Get(void) = 0;
+ };
+
+class cTSBuffer : public cTSBufferBase, public cThread {
private:
int f;
int cardIndex;
@@ -814,8 +845,51 @@ private:
virtual void Action(void);
public:
cTSBuffer(int File, int Size, int CardIndex);
- ~cTSBuffer();
- uchar *Get(void);
+ virtual ~cTSBuffer();
+ virtual uchar *Get(void);
+ };
+
+/// A plugin that want to create devices handled by the dynamite-plugin needs to create
+/// a cDynamicDeviceProbe derived object on the heap in order to have its Probe()
+/// function called, where it can actually create the appropriate device.
@@ -452,16 +488,16 @@ index dc2ea5f..e5e92a3 100644
+ ///< object derived from cDevice if applicable.
+ ///< Returns the device that has been created or NULL if not.
+ ///< The dynamite-plugin will delete the device if it is detached.
+ };
+
};
+extern cList<cDynamicDeviceProbe> DynamicDeviceProbes;
+
+
#endif //__DEVICE_H
diff --git a/dvbci.c b/dvbci.c
index 5289bbd..fea3a83 100644
index 5289bbd..baa70bc 100644
--- a/dvbci.c
+++ b/dvbci.c
@@ -10,15 +10,18 @@
@@ -10,41 +10,70 @@
#include "dvbci.h"
#include <linux/dvb/ca.h>
#include <sys/ioctl.h>
@@ -476,13 +512,30 @@ index 5289bbd..fea3a83 100644
device = Device;
SetDescription("CI adapter on device %d", device->DeviceNumber());
fd = Fd;
- ca_caps_t Caps;
- if (ioctl(fd, CA_GET_CAP, &Caps) == 0) {
- if ((Caps.slot_type & CA_CI_LINK) != 0) {
- int NumSlots = Caps.slot_num;
- if (NumSlots > 0) {
- for (int i = 0; i < NumSlots; i++)
- new cCamSlot(this);
- Start();
- }
- else
- esyslog("ERROR: no CAM slots found on device %d", device->DeviceNumber());
- }
- else
- isyslog("device %d doesn't support CI link layer interface", device->DeviceNumber());
- }
- else
- esyslog("ERROR: can't get CA capabilities on device %d", device->DeviceNumber());
+ adapter = Adapter;
+ frontend = Frontend;
+ idle = false;
ca_caps_t Caps;
if (ioctl(fd, CA_GET_CAP, &Caps) == 0) {
if ((Caps.slot_type & CA_CI_LINK) != 0) {
@@ -41,10 +44,44 @@ cDvbCiAdapter::cDvbCiAdapter(cDevice *Device, int Fd)
+ GetNumCamSlots(Device, Fd, this);
+ Start();
}
cDvbCiAdapter::~cDvbCiAdapter()
{
Cancel(3);
@@ -518,6 +571,13 @@ index 5289bbd..fea3a83 100644
+ OpenCa();
+ idle = Idle;
+ return true;
+}
+
+cTSBufferBase *cDvbCiAdapter::GetTSBuffer(int FdDvr)
+{
+ if (device)
+ return new cTSBuffer(FdDvr, MEGABYTE(5), device->CardIndex() + 1);
+ return NULL;
}
int cDvbCiAdapter::Read(uint8_t *Buffer, int MaxLength)
@@ -527,7 +587,7 @@ index 5289bbd..fea3a83 100644
if (Buffer && MaxLength > 0) {
struct pollfd pfd[1];
pfd[0].fd = fd;
@@ -61,6 +98,8 @@ int cDvbCiAdapter::Read(uint8_t *Buffer, int MaxLength)
@@ -61,6 +90,8 @@ int cDvbCiAdapter::Read(uint8_t *Buffer, int MaxLength)
void cDvbCiAdapter::Write(const uint8_t *Buffer, int Length)
{
@@ -536,7 +596,7 @@ index 5289bbd..fea3a83 100644
if (Buffer && Length > 0) {
if (safe_write(fd, Buffer, Length) != Length)
esyslog("ERROR: can't write to CI adapter on device %d: %m", device->DeviceNumber());
@@ -69,6 +108,8 @@ void cDvbCiAdapter::Write(const uint8_t *Buffer, int Length)
@@ -69,6 +100,8 @@ void cDvbCiAdapter::Write(const uint8_t *Buffer, int Length)
bool cDvbCiAdapter::Reset(int Slot)
{
@@ -545,7 +605,7 @@ index 5289bbd..fea3a83 100644
if (ioctl(fd, CA_RESET, 1 << Slot) != -1)
return true;
else
@@ -78,6 +119,8 @@ bool cDvbCiAdapter::Reset(int Slot)
@@ -78,6 +111,8 @@ bool cDvbCiAdapter::Reset(int Slot)
eModuleStatus cDvbCiAdapter::ModuleStatus(int Slot)
{
@@ -554,24 +614,77 @@ index 5289bbd..fea3a83 100644
ca_slot_info_t sinfo;
sinfo.num = Slot;
if (ioctl(fd, CA_GET_SLOT_INFO, &sinfo) != -1) {
@@ -99,10 +142,10 @@ bool cDvbCiAdapter::Assign(cDevice *Device, bool Query)
@@ -99,10 +134,60 @@ bool cDvbCiAdapter::Assign(cDevice *Device, bool Query)
return true;
}
-cDvbCiAdapter *cDvbCiAdapter::CreateCiAdapter(cDevice *Device, int Fd)
+cDvbCiAdapter *cDvbCiAdapter::CreateCiAdapter(cDevice *Device, int Fd, int Adapter, int Frontend)
+int cDvbCiAdapter::GetNumCamSlots(cDevice *Device, int Fd, cCiAdapter *CiAdapter)
{
// TODO check whether a CI is actually present?
if (Device)
- // TODO check whether a CI is actually present?
- if (Device)
- return new cDvbCiAdapter(Device, Fd);
- return NULL;
+ int NumSlots = -1;
+ if (Fd >= 0) {
+ ca_caps_t Caps;
+ if (ioctl(Fd, CA_GET_CAP, &Caps) == 0) {
+ if ((Caps.slot_type & CA_CI_LINK) != 0) {
+ NumSlots = Caps.slot_num;
+ if (NumSlots == 0)
+ esyslog("ERROR: no CAM slots found on device %d", Device->DeviceNumber());
+ else if (CiAdapter != NULL) {
+ for (int i = 0; i < NumSlots; i++)
+ new cCamSlot(CiAdapter);
+ }
+ else
+ return NumSlots;
+ }
+ else
+ isyslog("device %d doesn't support CI link layer interface", Device->DeviceNumber());
+ }
+ else
+ esyslog("ERROR: can't get CA capabilities on device %d", Device->DeviceNumber());
+ }
+ return -1;
+}
+
+cDvbCiAdapter *cDvbCiAdapter::CreateCiAdapter(cDevice *Device, int Fd, int Adapter, int Frontend)
+{
+ // don't create a ci-adapter if it's not useable
+ if (Device && (Fd >= 0) && (GetNumCamSlots(Device, Fd, NULL) > 0))
+ return new cDvbCiAdapter(Device, Fd, Adapter, Frontend);
return NULL;
+
+ if (Fd >= 0)
+ close(Fd);
+
+ // try to find an external ci-adapter
+ for (cDvbCiAdapterProbe *cp = DvbCiAdapterProbes.First(); cp; cp = DvbCiAdapterProbes.Next(cp)) {
+ cDvbCiAdapter *ca = cp->Probe(Device);
+ if (ca)
+ return ca;
+ }
+ return NULL;
+}
+
+// --- cDvbCiAdapterProbe -------------------------------------------------------
+
+cList<cDvbCiAdapterProbe> DvbCiAdapterProbes;
+
+cDvbCiAdapterProbe::cDvbCiAdapterProbe(void)
+{
+ DvbCiAdapterProbes.Add(this);
+}
+
+cDvbCiAdapterProbe::~cDvbCiAdapterProbe()
+{
+ DvbCiAdapterProbes.Del(this, false);
}
diff --git a/dvbci.h b/dvbci.h
index adbe40d..6d117b2 100644
index adbe40d..d908b2f 100644
--- a/dvbci.h
+++ b/dvbci.h
@@ -16,16 +16,24 @@ class cDvbCiAdapter : public cCiAdapter {
@@ -16,16 +16,48 @@ class cDvbCiAdapter : public cCiAdapter {
private:
cDevice *device;
int fd;
@@ -592,26 +705,53 @@ index adbe40d..6d117b2 100644
public:
virtual ~cDvbCiAdapter();
- static cDvbCiAdapter *CreateCiAdapter(cDevice *Device, int Fd);
+ virtual cTSBufferBase *GetTSBuffer(int FdDvr);
+ static int GetNumCamSlots(cDevice *Device, int Fd, cCiAdapter *CiAdapter);
+ ///< Tests if the CA device is usable for vdr.
+ ///< If CiAdapter is not NULL it will create the CamSlots for the given ci-adapter.
+ virtual bool SetIdle(bool Idle, bool TestOnly);
+ virtual bool IsIdle(void) const { return idle; }
+ static cDvbCiAdapter *CreateCiAdapter(cDevice *Device, int Fd, int Adapter = -1, int Frontend = -1);
+ };
+
+// A plugin that implements an external DVB ci-adapter derived from cDvbCiAdapter needs to create
+// a cDvbCiAdapterProbe derived object on the heap in order to have its Probe()
+// function called, where it can actually create the appropriate ci-adapter.
+// The cDvbCiAdapterProbe object must be created in the plugin's constructor,
+// and deleted in its destructor.
+// Every plugin has to track its own list of already used device nodes.
+// The Probes are always called if the base cDvbCiAdapter can't create a ci-adapter on its own.
+
+class cDvbCiAdapterProbe : public cListObject {
+public:
+ cDvbCiAdapterProbe(void);
+ virtual ~cDvbCiAdapterProbe();
+ virtual cDvbCiAdapter *Probe(cDevice *Device) = 0;
+ ///< Probes for a DVB ci-adapter for the given Device and creates the appropriate
+ ///< object derived from cDvbCiAdapter if applicable.
+ ///< Returns NULL if no adapter has been created.
};
+extern cList<cDvbCiAdapterProbe> DvbCiAdapterProbes;
+
#endif //__DVBCI_H
diff --git a/dvbdevice.c b/dvbdevice.c
index 53a4a22..7fc12a4 100644
index 43e8544..49b5f61 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -287,7 +287,7 @@ private:
@@ -287,9 +287,10 @@ class cDvbTuner : public cThread {
private:
static cMutex bondMutex;
enum eTunerStatus { tsIdle, tsSet, tsTuned, tsLocked };
bool SendDiseqc;
+ bool SendDiseqc;
int frontendType;
const cDvbDevice *device;
- int fd_frontend;
+ mutable int fd_frontend;
int adapter, frontend;
uint32_t subsystemId;
int tuneTimeout;
@@ -298,7 +298,7 @@ private:
@@ -300,7 +301,7 @@ private:
const cScr *scr;
bool lnbPowerTurnedOn;
eTunerStatus tunerStatus;
@@ -619,8 +759,14 @@ index 53a4a22..7fc12a4 100644
+ mutable cMutex mutex;
cCondVar locked;
cCondVar newSet;
dvb_diseqc_master_cmd diseqc_cmd;
@@ -313,6 +313,10 @@ private:
cDvbTuner *bondedTuner;
@@ -308,11 +309,16 @@ private:
bool SetFrontendType(const cChannel *Channel);
cString GetBondingParams(const cChannel *Channel = NULL) const;
void ClearEventQueue(void) const;
+ dvb_diseqc_master_cmd diseqc_cmd;
bool GetFrontendStatus(fe_status_t &Status) const;
void ExecuteDiseqc(const cDiseqc *Diseqc, unsigned int *Frequency);
void ResetToneAndVoltage(void);
bool SetFrontend(void);
virtual void Action(void);
@@ -631,24 +777,37 @@ index 53a4a22..7fc12a4 100644
public:
cDvbTuner(const cDvbDevice *Device, int Fd_Frontend, int Adapter, int Frontend);
virtual ~cDvbTuner();
@@ -324,6 +328,8 @@ public:
@@ -325,9 +331,13 @@ public:
uint32_t SubsystemId(void) const { return subsystemId; }
bool IsTunedTo(const cChannel *Channel) const;
void SetChannel(const cChannel *Channel);
+ bool SetIdle(bool Idle);
+ bool IsIdle(void) const { return isIdle; }
bool SendDiseqcCmd(dvb_diseqc_master_cmd cmd);
+ bool SendDiseqcCmd(dvb_diseqc_master_cmd cmd);
bool Locked(int TimeoutMs = 0);
int GetSignalStrength(void) const;
@@ -350,6 +356,7 @@ cDvbTuner::cDvbTuner(const cDvbDevice *Device, int Fd_Frontend, int Adapter, int
int GetSignalQuality(void) const;
+
+ bool SetIdle(bool Idle);
+ bool IsIdle(void) const { return isIdle; }
};
cMutex cDvbTuner::bondMutex;
@@ -337,6 +347,7 @@ cDvbTuner::cDvbTuner(const cDvbDevice *Device, int Fd_Frontend, int Adapter, int
frontendType = SYS_UNDEFINED;
device = Device;
fd_frontend = Fd_Frontend;
+ SendDiseqc=false;
adapter = Adapter;
frontend = Frontend;
subsystemId = cDvbDeviceProbe::GetSubsystemId(adapter, frontend);
@@ -349,6 +360,7 @@ cDvbTuner::cDvbTuner(const cDvbDevice *Device, int Fd_Frontend, int Adapter, int
tunerStatus = tsIdle;
bondedTuner = NULL;
bondedMaster = false;
bondedMasterFailed = false;
+ isIdle = false;
SetDescription("tuner on frontend %d/%d", adapter, frontend);
Start();
}
@@ -367,6 +374,8 @@ cDvbTuner::~cDvbTuner()
@@ -366,6 +378,8 @@ cDvbTuner::~cDvbTuner()
ExecuteDiseqc(lastDiseqc, &Frequency);
}
*/
@@ -657,7 +816,7 @@ index 53a4a22..7fc12a4 100644
}
bool cDvbTuner::Bond(cDvbTuner *Tuner)
@@ -524,6 +533,8 @@ bool cDvbTuner::Locked(int TimeoutMs)
@@ -510,6 +524,8 @@ bool cDvbTuner::Locked(int TimeoutMs)
void cDvbTuner::ClearEventQueue(void) const
{
@@ -666,8 +825,28 @@ index 53a4a22..7fc12a4 100644
cPoller Poller(fd_frontend);
if (Poller.Poll(TUNER_POLL_TIMEOUT)) {
dvb_frontend_event Event;
@@ -714,6 +725,8 @@ static int GetRequiredDeliverySystem(const cChannel *Channel, const cDvbTranspon
@@ -710,8 +726,28 @@ static int GetRequiredDeliverySystem(const cChannel *Channel, const cDvbTranspon
return ds;
}
+bool cDvbTuner::SendDiseqcCmd(dvb_diseqc_master_cmd cmd)
+{
+ cMutexLock MutexLock(&mutex);
+ cDvbTransponderParameters dtp(channel.Parameters());
+
+ // Determine the required frontend type:
+ int frontendType = GetRequiredDeliverySystem(&channel, &dtp);
+
+ if ((frontendType!=SYS_DVBS2 && frontendType!=SYS_DVBS) || SendDiseqc)
+ return false;
+ if (!OpenFrontend())
+ return false;
+ diseqc_cmd=cmd;
+ SendDiseqc=true;
+ newSet.Broadcast();
+ return true;
+}
+
bool cDvbTuner::SetFrontend(void)
{
+ if (!OpenFrontend())
@@ -675,7 +854,7 @@ index 53a4a22..7fc12a4 100644
#define MAXFRONTENDCMDS 16
#define SETCMD(c, d) { Frontend[CmdSeq.num].cmd = (c);\
Frontend[CmdSeq.num].u.data = (d);\
@@ -859,9 +872,11 @@ void cDvbTuner::Action(void)
@@ -857,10 +893,16 @@ void cDvbTuner::Action(void)
bool LostLock = false;
fe_status_t Status = (fe_status_t)0;
while (Running()) {
@@ -688,10 +867,15 @@ index 53a4a22..7fc12a4 100644
+ Status = NewStatus;
+ }
cMutexLock MutexLock(&mutex);
+ if (SendDiseqc) {
+ CHECK(ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &diseqc_cmd));
+ SendDiseqc=false;
+ }
int WaitTime = 1000;
if (SendDiseqc) {
@@ -935,6 +950,40 @@ bool cDvbTuner::SendDiseqcCmd(dvb_diseqc_master_cmd cmd)
return true;
switch (tunerStatus) {
case tsIdle:
@@ -912,6 +954,40 @@ void cDvbTuner::Action(void)
}
}
+bool cDvbTuner::SetIdle(bool Idle)
@@ -731,7 +915,7 @@ index 53a4a22..7fc12a4 100644
// --- cDvbSourceParam -------------------------------------------------------
class cDvbSourceParam : public cSourceParam {
@@ -1020,7 +1069,8 @@ const char *DeliverySystemNames[] = {
@@ -997,7 +1073,8 @@ const char *DeliverySystemNames[] = {
NULL
};
@@ -741,16 +925,19 @@ index 53a4a22..7fc12a4 100644
{
adapter = Adapter;
frontend = Frontend;
@@ -1040,7 +1090,7 @@ cDvbDevice::cDvbDevice(int Adapter, int Frontend)
@@ -1015,9 +1092,8 @@ cDvbDevice::cDvbDevice(int Adapter, int Frontend)
fd_ca = DvbOpen(DEV_DVB_CA, adapter, frontend, O_RDWR);
if (fd_ca >= 0)
// Common Interface:
- fd_ca = DvbOpen(DEV_DVB_CA, adapter, frontend, O_RDWR);
- if (fd_ca >= 0)
- ciAdapter = cDvbCiAdapter::CreateCiAdapter(this, fd_ca);
+ ciAdapter = cDvbCiAdapter::CreateCiAdapter(parentDevice ? parentDevice : this, fd_ca, adapter, frontend);
+ int fd_ca = DvbOpen(DEV_DVB_CA, adapter, frontend, O_RDWR);
+ ciAdapter = cDvbCiAdapter::CreateCiAdapter(parentDevice ? parentDevice : this, fd_ca, adapter, frontend);
// The DVR device (will be opened and closed as needed):
@@ -1257,7 +1307,11 @@ bool cDvbDevice::BondDevices(const char *Bondings)
@@ -1245,7 +1321,11 @@ bool cDvbDevice::BondDevices(const char *Bondings)
if (d >= 0) {
int ErrorDevice = 0;
if (cDevice *Device1 = cDevice::GetDevice(i)) {
@@ -762,7 +949,7 @@ index 53a4a22..7fc12a4 100644
if (cDvbDevice *DvbDevice1 = dynamic_cast<cDvbDevice *>(Device1)) {
if (cDvbDevice *DvbDevice2 = dynamic_cast<cDvbDevice *>(Device2)) {
if (!DvbDevice1->Bond(DvbDevice2))
@@ -1291,7 +1345,10 @@ bool cDvbDevice::BondDevices(const char *Bondings)
@@ -1279,7 +1359,10 @@ bool cDvbDevice::BondDevices(const char *Bondings)
void cDvbDevice::UnBondDevices(void)
{
for (int i = 0; i < cDevice::NumDevices(); i++) {
@@ -774,7 +961,7 @@ index 53a4a22..7fc12a4 100644
d->UnBond();
}
}
@@ -1345,6 +1402,26 @@ bool cDvbDevice::BondingOk(const cChannel *Channel, bool ConsiderOccupied) const
@@ -1333,6 +1416,26 @@ bool cDvbDevice::BondingOk(const cChannel *Channel, bool ConsiderOccupied) const
return true;
}
@@ -801,7 +988,7 @@ index 53a4a22..7fc12a4 100644
bool cDvbDevice::HasCi(void)
{
return ciAdapter;
@@ -1511,7 +1588,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
@@ -1499,7 +1602,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
bool cDvbDevice::ProvidesEIT(void) const
{
@@ -810,8 +997,35 @@ index 53a4a22..7fc12a4 100644
}
int cDvbDevice::NumProvidedSystems(void) const
@@ -1544,6 +1647,11 @@ bool cDvbDevice::HasLock(int TimeoutMs)
return dvbTuner ? dvbTuner->Locked(TimeoutMs) : false;
}
+bool cDvbDevice::SendDiseqcCmd(dvb_diseqc_master_cmd cmd)
+{
+ return dvbTuner->SendDiseqcCmd(cmd);
+}
+
void cDvbDevice::SetTransferModeForDolbyDigital(int Mode)
{
setTransferModeForDolbyDigital = Mode;
@@ -1553,8 +1661,12 @@ bool cDvbDevice::OpenDvr(void)
{
CloseDvr();
fd_dvr = DvbOpen(DEV_DVB_DVR, adapter, frontend, O_RDONLY | O_NONBLOCK, true);
- if (fd_dvr >= 0)
- tsBuffer = new cTSBuffer(fd_dvr, MEGABYTE(5), CardIndex() + 1);
+ if (fd_dvr >= 0) {
+ if (ciAdapter)
+ tsBuffer = ciAdapter->GetTSBuffer(fd_dvr);
+ if (tsBuffer == NULL)
+ tsBuffer = new cTSBuffer(fd_dvr, MEGABYTE(5), CardIndex() + 1);
+ }
return fd_dvr >= 0;
}
diff --git a/dvbdevice.h b/dvbdevice.h
index 4ffcb91..e9b7cd6 100644
index 7da9c56..6cd4abf 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -107,7 +107,7 @@ class cDvbTuner;
@@ -823,7 +1037,14 @@ index 4ffcb91..e9b7cd6 100644
static cString DvbName(const char *Name, int Adapter, int Frontend);
static int DvbOpen(const char *Name, int Adapter, int Frontend, int Mode, bool ReportError = false);
private:
@@ -133,12 +133,14 @@ private:
@@ -127,19 +127,20 @@ private:
int deliverySystems[MAXDELIVERYSYSTEMS];
int numDeliverySystems;
int numModulations;
- int fd_dvr, fd_ca;
+ int fd_dvr;
static cMutex bondMutex;
cDvbDevice *bondedDevice;
mutable bool needsDetachBondedReceivers;
bool QueryDeliverySystems(int fd_frontend);
public:
@@ -833,12 +1054,26 @@ index 4ffcb91..e9b7cd6 100644
int Adapter(void) const { return adapter; }
int Frontend(void) const { return frontend; }
virtual bool Ready(void);
virtual cString DeviceType(void) const;
virtual cString DeviceName(void) const;
+ virtual bool SetIdleDevice(bool Idle, bool TestOnly);
+
static bool BondDevices(const char *Bondings);
///< Bonds the devices as defined in the given Bondings string.
///< A bonding is a sequence of device numbers (starting at 1),
--
1.7.2.5
@@ -193,6 +194,7 @@ protected:
virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);
public:
virtual bool HasLock(int TimeoutMs = 0);
+ virtual bool SendDiseqcCmd(dvb_diseqc_master_cmd cmd);
// PID handle facilities
@@ -225,7 +227,7 @@ public:
// Receiver facilities
private:
- cTSBuffer *tsBuffer;
+ cTSBufferBase *tsBuffer;
protected:
virtual bool OpenDvr(void);
virtual void CloseDvr(void);

View File

@@ -20,12 +20,12 @@
################################################################################
PKG_NAME="pcsc-lite"
PKG_VERSION="1.8.7"
PKG_VERSION="1.8.8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://pcsclite.alioth.debian.org/pcsclite.html"
PKG_URL="https://alioth.debian.org/frs/download.php/3842/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_URL="https://alioth.debian.org/frs/download.php/3862/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain libusb"
PKG_PRIORITY="optional"

View File

@@ -1,39 +0,0 @@
3.0.1
- bump addon version
2.1.3
- update to evtest-1.30
2.1.2
- cleanup
2.1.1
- rebuild for addon version 2.1
2.0.1
- rebuild for libiconv changes
2.0.0
- prepare for OpenELEC-2.0 release
1.90.1
- depends on xbmc.python API 2.0
1.90.0
- prepare for OpenELEC-1.90 release
1.0.0
- update to evtest-1.29
- prepare for OpenELEC-1.0 release
0.99.3
- change icon
0.99.2
- build as shared lib
- include libiconv libs
- include libxml2 libs
- include zlib libs
0.99.1
- initial addon based on evtest-1.27

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -1,38 +0,0 @@
3.0.2
- update to htop-1.0.2
3.0.1
- bump addon version
2.1.2
- cleanup
2.1.1
- rebuild for addon version 2.1
- update to htop-1.0.1
2.0.0
- prepare for OpenELEC-2.0 release
- update to htop-1.0
1.90.1
- depends on xbmc.python API 2.0
1.90.0
- prepare for OpenELEC-1.90 release
1.0.0
- prepare for OpenELEC-1.0 release
0.99.4
- change icon
0.99.3
- build as shared lib
- include ncurses libs
0.99.2
- prepare for release
0.99.1
- initial addon based on htop-0.9

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -24,3 +24,4 @@
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/
cp -P $PKG_DIR/config/* $ADDON_BUILD/$PKG_ADDON_ID/config/
cp -P $PKG_DIR/settings-default.xml $ADDON_BUILD/$PKG_ADDON_ID/

View File

@@ -1,19 +1,20 @@
3.0.3
improved python script for modifying tuners
3.0.2
added addon settings for
modifying tuner type (DVB-C, DVB-T, ATSC)
setting delays
3.0.1
- bump addon version
- binary files are stored with OpenELEC image
- addon is used to start userspace program
bump addon version
binary files are stored with OpenELEC image
addon is used to start userspace program
2.1.3
- bump addon version for new kernel
bump addon version for new kernel
2.1.2
- dvbhdhomerun upgraded to 0.0.10
dvbhdhomerun upgraded to 0.0.10
2.1.1
- rebuild for addon version 2.1
rebuild for addon version 2.1
2.0.1
- starting userspace DVB drivers from Tvheadend/VDR
starting userspace DVB drivers from Tvheadend/VDR
2.0.0
- initial version of HDHomeRun driver
initial version of HDHomeRun driver

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

@@ -20,7 +20,7 @@
PKG_NAME="hdhomerun"
PKG_VERSION="3.0"
PKG_REV="1"
PKG_REV="3"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.silicondust.com/products/hdhomerun/dvbt/"
@@ -31,8 +31,6 @@ PKG_PRIORITY="optional"
PKG_SECTION="driver/dvb"
PKG_SHORTDESC="A linux DVB driver for the HDHomeRun (http://www.silicondust.com)."
PKG_LONGDESC="A linux DVB driver for the HDHomeRun (http://www.silicondust.com)."
PKG_AUTORECONF="no"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.python.script"

View File

@@ -0,0 +1,4 @@
<settings>
<setting id="PRE_WAIT" value="2" />
<setting id="POST_WAIT" value="1" />
</settings>

View File

@@ -22,10 +22,7 @@
. /etc/profile
case "$1" in
thaw|resume)
xbmc-send --host=127.0.0.1 -a "ReloadSkin()" &
;;
*) exit $NA
;;
esac
ADDON_DIR="$HOME/.xbmc/addons/driver.dvb.hdhomerun"
logger -t Hdhomerun "### Hdhomerun manual start ###"
. $ADDON_DIR/bin/userspace-driver.sh

View File

@@ -1,3 +1,5 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
@@ -18,6 +20,7 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
import os
import sys
import xbmcaddon
. /etc/profile
logger -t Hdhomerun "### Hdhomerun manual stop ###"
killall userhdhomerun

View File

@@ -2,7 +2,7 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,6 +24,11 @@
ADDON_DIR="$HOME/.xbmc/addons/driver.dvb.hdhomerun"
ADDON_HOME="$HOME/.xbmc/userdata/addon_data/driver.dvb.hdhomerun"
ADDON_SETTINGS="$ADDON_HOME/settings.xml"
# modules are not automatically loaded
modprobe dvb_hdhomerun
modprobe dvb_hdhomerun_fe
mkdir -p $ADDON_HOME
@@ -31,31 +36,101 @@ if [ ! -f "$ADDON_HOME/dvbhdhomerun.sample" ]; then
cp $ADDON_DIR/config/* $ADDON_HOME/
fi
if [ ! -f "$ADDON_SETTINGS" ]; then
cp $ADDON_DIR/settings-default.xml $ADDON_SETTINGS
fi
mkdir -p /var/config
cat "$ADDON_SETTINGS" | awk -F\" '{print $2"=\""$4"\""}' | sed '/^=/d' > /var/config/hdhomerun-addon.conf
. /var/config/hdhomerun-addon.conf
if [ -z "$(pidof userhdhomerun)" ]; then
if [ "$ENABLE_TUNER_TYPES" = "true" ]; then
DVBHDHOMERUN_CONF_TMP=/tmp/dvbhdhomerun.conf
touch $ADDON_HOME/dvbhdhomerun.conf
cp $ADDON_HOME/dvbhdhomerun.conf $DVBHDHOMERUN_CONF_TMP
# get tuner serial numbers
SERIALS=$(cat /var/config/hdhomerun-addon.conf | sed -n 's|^ATTACHED_TUNER_\(.*\)_\(.*\)_DVBMODE=.*|\1-\2|gp' | sort | uniq)
. /var/config/hdhomerun-addon.conf
for SERIAL in ${SERIALS[@]}; do
SERIAL_VAR=$(echo $SERIAL | sed 's|-|_|')
DVBMODE=$(eval echo \$ATTACHED_TUNER_${SERIAL_VAR}_DVBMODE)
FULLNAME=$(eval echo \$ATTACHED_TUNER_${SERIAL_VAR}_FULLNAME)
DISABLE=$(eval echo \$ATTACHED_TUNER_${SERIAL_VAR}_DISABLE)
[ "$DVBMODE" = "auto" ] && DVBMODE=""
# remove setttings for this tuner
awk -v val="[$SERIAL]" '$0 == val {flag=1; next} /^tuner_type=|^use_full_name=|^disable=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $DVBHDHOMERUN_CONF_TMP >${DVBHDHOMERUN_CONF_TMP}-types
mv ${DVBHDHOMERUN_CONF_TMP}-types $DVBHDHOMERUN_CONF_TMP
echo "" >>$DVBHDHOMERUN_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $DVBHDHOMERUN_CONF_TMP
ADDNEW=true
if [ -n "$DVBMODE" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo "[$SERIAL]" >>$DVBHDHOMERUN_CONF_TMP
echo "tuner_type=$DVBMODE" >>$DVBHDHOMERUN_CONF_TMP
fi
if [ "$FULLNAME" = "true" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo "[$SERIAL]" >>$DVBHDHOMERUN_CONF_TMP
echo "use_full_name=true" >>$DVBHDHOMERUN_CONF_TMP
fi
if [ "$DISABLE" = "true" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo "[$SERIAL]" >>$DVBHDHOMERUN_CONF_TMP
echo "disable=true" >>$DVBHDHOMERUN_CONF_TMP
fi
echo "" >>$DVBHDHOMERUN_CONF_TMP
done
# remove logging from libhdhomerun library
awk -v val="[libhdhomerun]" '$0 == val {flag=1; next} /^enable=|^logfile=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $DVBHDHOMERUN_CONF_TMP >${DVBHDHOMERUN_CONF_TMP}-log
mv ${DVBHDHOMERUN_CONF_TMP}-log $DVBHDHOMERUN_CONF_TMP
echo "" >>$DVBHDHOMERUN_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $DVBHDHOMERUN_CONF_TMP
if [ "$LIBHDHOMERUN_LOG" = "true" ]; then
cat >>$DVBHDHOMERUN_CONF_TMP << EOF
[libhdhomerun]
enable=true
logfile=/var/log/dvbhdhomerun_libhdhomerun.log
EOF
fi
md5_1=$(md5sum -b $DVBHDHOMERUN_CONF_TMP | awk '{print $1}')
md5_2=$(md5sum -b $ADDON_HOME/dvbhdhomerun.conf | awk '{print $1}')
if [ "$md5_1" != "$md5_2" ]; then
# file changed - copy to addon home
cp $DVBHDHOMERUN_CONF_TMP $ADDON_HOME/dvbhdhomerun.conf
fi
fi
rm -f /tmp/dvbhdhomerun
if [ -f $ADDON_HOME/dvbhdhomerun.conf ]; then
ln -s $ADDON_HOME/dvbhdhomerun.conf /tmp/dvbhdhomerun
fi
# modules are not automatically loaded
modprobe dvb_hdhomerun
modprobe dvb_hdhomerun_fe
usleep 2000000
[ -z "$PRE_WAIT" ] && PRE_WAIT=0
PRE_WAIT=$(( $PRE_WAIT *1 ))
[ -z "$POST_WAIT" ] && POST_WAIT=0
POST_WAIT=$(( $POST_WAIT *1 ))
# could be useful
if [ -f $ADDON_HOME/pre-wait.sh ]; then
sh $ADDON_HOME/pre-wait.sh
fi
logger -t HDHomeRun "### Pre wait for $PRE_WAIT sec ###"
sleep $PRE_WAIT
mkdir -p /var/log/
rm -f /var/log/dvbhdhomerun.log
userhdhomerun -f
# how much time should we wait?
usleep 1000000
if [ -f $ADDON_HOME/post-wait.sh ]; then
sh $ADDON_HOME/post-wait.sh
fi
logger -t HDHomeRun "### Post wait for $POST_WAIT sec ###"
sleep $POST_WAIT
# save adapter names in background
(
@@ -67,3 +142,5 @@ if [ -z "$(pidof userhdhomerun)" ]; then
fi
)&
fi
logger -t HDHomeRun "### HDHomeRun ready ###"

15
packages/addons/driver/hdhomerun/source/default.py Executable file → Normal file
View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,3 +21,16 @@
import os
import sys
import xbmcaddon
__settings__ = xbmcaddon.Addon(id = 'driver.dvb.hdhomerun')
__cwd__ = __settings__.getAddonInfo('path')
__resources_lib__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'lib'))
__settings_xml__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'settings.xml'))
__hdhomerun_log__ = '/var/log/dvbhdhomerun.log'
if __name__ == "__main__" and len(sys.argv) == 2 and sys.argv[1] == 'refresh_tuners':
sys.path.append(__resources_lib__)
from functions import refresh_hdhomerun_tuners
refresh_hdhomerun_tuners(__settings_xml__, __hdhomerun_log__)
__settings__.openSettings()

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<string id="1000">General</string>
<string id="1020">Pre wait time [sec]</string>
<string id="1030">Post wait time [sec]</string>
<string id="1040">Enable libhdhomerun logging</string>
<string id="9000">Tuner settings</string>
<string id="9005">Enable modifying settings</string>
<string id="9010">Refresh tuners... (press me)</string>
<string id="9020"> use full name</string>
<string id="9030"> disabled</string>
</strings>

View File

@@ -0,0 +1,272 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
import os
import sys
import shutil
import xmlpp
from xml.dom import minidom
__sundtek_userspace__ = '/storage/.xbmc/userdata/addon_data/driver.dvb.sundtek-mediatv/'
######################################################################################################
# backup setting.xml file only if backup doesn't exist
def settings_backup(settings_xml):
try:
with open(settings_xml + '_orig') as f: pass
except IOError as e:
shutil.copyfile(settings_xml, settings_xml + '_orig')
######################################################################################################
# restore setting.xml file from backup
def settings_restore(settings_xml):
try:
shutil.copyfile(settings_xml + '_orig', settings_xml)
except IOError as e:
print 'Error restoring file:', settings_xml
######################################################################################################
# get hdhomerun supported devices on a system (only name like 101ADD2B-0)
def get_devices_hdhomerun(hdhomerun_log):
tuners = []
try:
for line in open(hdhomerun_log, 'r'):
line = line.strip()
if line.startswith('Registered tuner'):
name = line.split(':');
name = name[2].strip()
tuners.append(name)
except IOError:
print 'Error reading hdhomerun log file', hdhomerun_log
return tuners
"""
root ~ # grep "Registered tuner" /var/log/dvbhdhomerun.log
Registered tuner, id from kernel: 0 name: 101ADD2B-0
Registered tuner, id from kernel: 1 name: 101ADD2B-1
Registered tuner, id from kernel: 2 name: 1031D75A-0
Registered tuner, id from kernel: 3 name: 1031D75A-1
"""
######################################################################################################
# get sundtek supported devices on a system (name, serial number, type)
def get_devices_sundtek(mediaclient_e):
tuners = []
try:
p = os.popen(mediaclient_e, "r")
while 1:
line = p.readline()
if not line:
break
else:
str = line.strip()
if str.startswith('device '):
name = str[str.find("[")+1:str.find("]")]
tuners.append([name, 0, 's'])
if str.startswith('[SERIAL]:'):
line = p.readline()
str = line.strip()
if str.startswith('ID:'):
id = str.split(':');
id = id[1].strip()
tuners[len(tuners)-1] = [name, id, 's']
if str.startswith('[DVB-C]:'):
tuners[len(tuners)-1] = [name, id, 'c']
elif str.startswith('[DVB-T]:'):
tuners[len(tuners)-1] = [name, id, 'c']
elif str.startswith('[DVB-T2]:'):
tuners[len(tuners)-1] = [name, id, 'c']
except IOError:
print 'Error getting sundtek tuners info'
return tuners
"""
root ~ # mediaclient -e
**** List of Media Hardware Devices ****
device 0: [Sundtek MediaTV Pro (USB 2.0)] DVB-C, DVB-T, ANALOG-TV, FM-RADIO, REMOTE-CONTROL, OSS-AUDIO, RDS
[BUS]:
ID: 1-7
[SERIAL]:
ID: U110763295205
[DVB-C]:
FRONTEND: /dev/dvb/adapter0/frontend0
DVR: /dev/dvb/adapter0/dvr0
DMX: /dev/dvb/adapter0/demux0
[DVB-T]:
FRONTEND: /dev/dvb/adapter0/frontend0
DVR: /dev/dvb/adapter0/dvr0
DMX: /dev/dvb/adapter0/demux0
[ANALOG-TV]:
VIDEO0: /dev/video0
VBI0: /dev/vbi0
[FM-RADIO]:
RADIO0: /dev/radio0
RDS: /dev/rds0
[REMOTECONTROL]:
INPUT0: /dev/mediainput0
[OSS]:
OSS0: /dev/dsp0
"""
######################################################################################################
# parse settings.xml file
def parse_settings(settings_xml):
try:
xmldoc = minidom.parse(settings_xml)
category = xmldoc.getElementsByTagName('category')
return xmldoc
except Exception as inst:
print 'Error parse settings file', settings_xml
return None
######################################################################################################
# remove all nodes with id started with ATTACHED_TUNER_
def remove_old_tuners(xmldoc):
category = xmldoc.getElementsByTagName('category')
for node_cat in category:
setting = node_cat.getElementsByTagName('setting')
for node_set in setting :
if 'id' in node_set.attributes.keys() and not node_set.getAttribute('id').find('ATTACHED_TUNER_'):
node_set.parentNode.removeChild(node_set)
######################################################################################################
# add new hdhomerun tuners
def add_hdhomerun(xmldoc, node_cat, tuners):
for ix, tuner in enumerate(tuners):
tuner_var = tuner.replace('-', '_')
node1 = xmldoc.createElement("setting")
node1.setAttribute("id", 'ATTACHED_TUNER_' + tuner_var + '_DVBMODE')
node1.setAttribute("label", tuner)
node1.setAttribute("type", 'labelenum')
node1.setAttribute("default", 'auto')
node1.setAttribute("values", 'auto|ATSC|DVB-C|DVB-T')
node_cat.appendChild(node1)
node2 = xmldoc.createElement("setting")
node2.setAttribute("id", 'ATTACHED_TUNER_' + tuner_var + '_FULLNAME')
node2.setAttribute("label", '9020')
node2.setAttribute("type", 'bool')
node2.setAttribute("default", 'false')
node_cat.appendChild(node2)
node3 = xmldoc.createElement("setting")
node3.setAttribute("id", 'ATTACHED_TUNER_' + tuner_var + '_DISABLE')
node3.setAttribute("label", '9030')
node3.setAttribute("type", 'bool')
node3.setAttribute("default", 'false')
node_cat.appendChild(node3)
# for tuner
######################################################################################################
# add new sundtek tuners
def add_sundtek(xmldoc, node_cat, tuners):
for ix, tuner in enumerate(tuners):
tuner_name = tuner[0]
tuner_serial = tuner[1]
tuner_type = tuner[2]
node1 = xmldoc.createElement("setting")
node1.setAttribute("id", 'ATTACHED_TUNER_' + tuner_serial + '_DVBMODE')
node1.setAttribute("label", tuner_name + ", " + tuner_serial)
node1.setAttribute("type", 'labelenum')
if (tuner_type == 's'):
node1.setAttribute("default", 'DVB-S')
node1.setAttribute("values", 'DVB-S')
else:
node1.setAttribute("default", 'DVB-C')
node1.setAttribute("values", 'DVB-C|DVB-T')
node_cat.appendChild(node1)
node2 = xmldoc.createElement("setting")
node2.setAttribute("id", 'ATTACHED_TUNER_' + tuner_serial + '_IRPROT')
node2.setAttribute("label", '9020')
node2.setAttribute("type", 'labelenum')
node2.setAttribute("default", 'auto')
node2.setAttribute("values", 'auto|RC5|NEC|RC6')
node_cat.appendChild(node2)
node3 = xmldoc.createElement("setting")
node3.setAttribute("id", 'ATTACHED_TUNER_' + tuner_serial + '_KEYMAP')
node3.setAttribute("label", '9030')
node3.setAttribute("type", 'file')
node3.setAttribute("mask", '*.map')
node3.setAttribute("default", __sundtek_userspace__)
node_cat.appendChild(node3)
# for tuner
######################################################################################################
# add new ATTACHED_TUNER_ nodes for available tuners
def add_new_tuners(xmldoc, tuners, which):
category = xmldoc.getElementsByTagName('category')
for node_cat in category:
setting = node_cat.getElementsByTagName('setting')
for node_set in setting :
if 'label' in node_set.attributes.keys() and '9010' in node_set.getAttribute('label'):
if which == 'hdhomerun':
add_hdhomerun(xmldoc, node_cat, tuners)
break
elif which == 'sundtek':
add_sundtek(xmldoc, node_cat, tuners)
break
######################################################################################################
# save settings.xml file back
def save_settings(settings_xml, xmldoc):
try:
outputfile = open(settings_xml, 'w')
xmlpp.pprint(xmldoc.toxml(), output = outputfile, indent=2)
outputfile.close()
except IOError:
print 'Error saving file:', settings_xml
settings_restore(settings_xml)
######################################################################################################
# refresh hdhomerun tuners in settings.xml file
def refresh_hdhomerun_tuners(settings_xml, hdhomerun_log):
settings_backup(settings_xml)
tuners = get_devices_hdhomerun(hdhomerun_log)
xmldoc = parse_settings(settings_xml)
if xmldoc == None:
print 'No hdhomerun tuners found'
else:
remove_old_tuners(xmldoc)
add_new_tuners(xmldoc, tuners, 'hdhomerun')
save_settings(settings_xml, xmldoc)
######################################################################################################
# refresh sundtek tuners in settings.xml file
def refresh_sundtek_tuners(settings_xml, mediaclient_e):
settings_backup(settings_xml)
tuners = get_devices_sundtek(mediaclient_e)
xmldoc = parse_settings(settings_xml)
if xmldoc == None:
print 'No sundtek tuners found'
else:
remove_old_tuners(xmldoc)
add_new_tuners(xmldoc, tuners, 'sundtek')
save_settings(settings_xml, xmldoc)

View File

@@ -0,0 +1,161 @@
"""Pretty print an XML document.
LICENCE:
Copyright (c) 2008, Fredrik Ekholdt
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of Fredrik Ekholdt nor the names of its contributors may be used to
endorse or promote products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE."""
import sys as _sys
import re as _re
def _usage(this_file):
return """SYNOPSIS: pretty print an XML document
USAGE: python %s <filename> \n""" % this_file
def _pprint_line(indent_level, line, width=100, output=_sys.stdout):
if line.strip():
start = ""
number_chars = 0
for l in range(indent_level):
start = start + " "
number_chars = number_chars + 1
try:
elem_start = _re.findall("(\<\W{0,1}\w+:\w+) ?", line)[0]
elem_finished = _re.findall("([?|\]\]/]*\>)", line)[0]
#should not have *
attrs = _re.findall("(\S*?\=\".*?\")", line)
output.write(start + elem_start)
number_chars = len(start + elem_start)
for attr in attrs:
if (attrs.index(attr) + 1) == len(attrs):
number_chars = number_chars + len(elem_finished)
if (number_chars + len(attr) + 1) > width:
output.write("\n")
for i in range(len(start + elem_start) + 1):
output.write(" ")
number_chars = len(start + elem_start) + 1
else:
output.write(" ")
number_chars = number_chars + 1
output.write(attr)
number_chars = number_chars + len(attr)
output.write(elem_finished + "\n")
except IndexError:
#give up pretty print this line
output.write(start + line + "\n")
def _pprint_elem_content(indent_level, line, output=_sys.stdout):
if line.strip():
for l in range(indent_level):
output.write(" ")
output.write(line + "\n")
def _get_next_elem(data):
start_pos = data.find("<")
end_pos = data.find(">") + 1
retval = data[start_pos:end_pos]
stopper = retval.rfind("/")
if stopper < retval.rfind("\""):
stopper = -1
single = (stopper > -1 and ((retval.find(">") - stopper) < (stopper - retval.find("<"))))
ignore_excl = retval.find("<!") > -1
ignore_question = retval.find("<?") > -1
if ignore_excl:
cdata = retval.find("<![CDATA[") > -1
if cdata:
end_pos = data.find("]]>")
if end_pos > -1:
end_pos = end_pos + len("]]>")
elif ignore_question:
end_pos = data.find("?>") + len("?>")
ignore = ignore_excl or ignore_question
no_indent = ignore or single
#print retval, end_pos, start_pos, stopper > -1, no_indent
return start_pos, \
end_pos, \
stopper > -1, \
no_indent
def get_pprint(xml, indent=4, width=80):
"""Returns the pretty printed xml """
class out:
output = ""
def write(self, string):
self.output += string
out = out()
pprint(xml, output=out, indent=indent, width=width)
return out.output
def pprint(xml, output=_sys.stdout, indent=4, width=80):
"""Pretty print xml.
Use output to select output stream. Default is sys.stdout
Use indent to select indentation level. Default is 4 """
data = xml
indent_level = 0
start_pos, end_pos, is_stop, no_indent = _get_next_elem(data)
while ((start_pos > -1 and end_pos > -1)):
_pprint_elem_content(indent_level, data[:start_pos].strip(),
output=output)
data = data[start_pos:]
if is_stop and not no_indent:
indent_level = indent_level - indent
_pprint_line(indent_level,
data[:end_pos - start_pos],
width=width,
output=output)
data = data[end_pos - start_pos:]
if not is_stop and not no_indent :
indent_level = indent_level + indent
if not data:
break
else:
start_pos, end_pos, is_stop, no_indent = _get_next_elem(data)
if __name__ == "__main__":
if "-h" in _sys.argv or "--help" in _sys.argv:
_sys.stderr.write(_usage(_sys.argv[0]))
_sys.exit(1)
if len(_sys.argv) < 2:
_sys.stderr.write(_usage(_sys.argv[0]))
_sys.exit(1)
else:
filename = _sys.argv[1]
fh = open(filename)
pprint(fh.read(), output=_sys.stdout, indent=4, width=80)

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="1000" >
<setting type="sep" />
<setting id="PRE_WAIT" type="number" label="1020" default="2" />
<setting id="POST_WAIT" type="number" label="1030" default="1" />
<setting id="LIBHDHOMERUN_LOG" type="bool" label="1040" default="false" />
</category>
<category label="9000">
<setting type="sep" />
<setting id="ENABLE_TUNER_TYPES" type="bool" label="9005" default="true" />
<setting label="9010" option="close" type="action" action="RunScript($ID, refresh_tuners)" />
</category>
</settings>

View File

@@ -23,22 +23,22 @@
. /etc/profile
LOCKDIR="/var/lock/"
LOCKFILE="hdhomerun"
LOCKFILE="$LOCKDIR/hdhomerun"
case "$1" in
hibernate|suspend)
if [ -n "$(pidof userhdhomerun)" ]; then
progress "Shutting down HDHomeRun driver for suspending..."
mkdir -p "$LOCKDIR"
touch "$LOCKDIR/$LOCKFILE"
touch "$LOCKFILE"
killall userhdhomerun
fi
;;
thaw|resume)
if [ -f "$LOCKDIR/$LOCKFILE" ]; then
if [ -f "$LOCKFILE" ]; then
# driver started within Tvheadend/VDR
rm -rf "$LOCKDIR/$LOCKFILE"
rm -f "$LOCKFILE"
fi
;;

View File

@@ -24,9 +24,4 @@
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/
cp -P $PKG_DIR/config/* $ADDON_BUILD/$PKG_ADDON_ID/config/
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/
cp -Pa $ROOT/$BUILD/sundtek-*/opt/bin/* $ADDON_BUILD/$PKG_ADDON_ID/bin/
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/
cp -Pa $ROOT/$BUILD/sundtek-*/opt/lib/*.so $ADDON_BUILD/$PKG_ADDON_ID/lib/
cp -P $PKG_DIR/settings-default.xml $ADDON_BUILD/$PKG_ADDON_ID/

View File

@@ -1,21 +1,26 @@
3.0.1
- bump addon version
3.0.4
improved python script for modifying tuners
3.0.3
added addon settings for modifying tuner type (DVB-C, DVB-T)
3.0.2
added addon settings
enable HW PID filter (enabled for RPi by default)
enable IR receiver
allow sharing local tuner over network
use network tuners
sundtek's binaries are downloaded on first run
automatically download new version of the binaries if available
added preload library to .profile (to run mediaclient, w_scan, ... from console)
2.1.4
support for Raspberry Pi
2.1.3
support for network tuner
2.1.2
support for multiple Sundtek tuners
support for working with other tuners (kernel drivers)
2.1.1
- update to addon version 2.1
update to addon version 2.1
2.0.5
- starting userspace DVB drivers from Tvheadend/VDR
starting userspace DVB drivers from Tvheadend/VDR
1.90.0
- initial version of Sundtek MediaTV DVB driver
initial version of Sundtek MediaTV DVB driver

View File

@@ -0,0 +1,32 @@
0x01 KEY_SELECT
0x02 KEY_3
0x03 KEY_EXIT
0x04 KEY_1
0x05 KEY_5
0x06 KEY_6
0x07 KEY_CHANNELDOWN
0x08 KEY_2
0x09 KEY_CHANNELUP
0x0a KEY_9
0x0b KEY_ZOOM
0x0c KEY_7
0x0d KEY_8
0x0e KEY_VOLUMEUP
0x0f KEY_4
0x10 KEY_BACK
0x11 KEY_0
0x12 KEY_ENTER
0x13 KEY_VOLUMEDOWN
0x14 KEY_RECORD
0x15 KEY_STOP
0x16 KEY_PLAY
0x17 KEY_MUTE
0x18 KEY_UP
0x19 KEY_DOWN
0x1a KEY_LEFT
0x1b KEY_RIGHT
0x1c KEY_RED
0x1d KEY_GREEN
0x1e KEY_YELLOW
0x1f KEY_BLUE
0x43 KEY_POWER

View File

@@ -0,0 +1,32 @@
0x01 KEY_SELECT
0x02 KEY_3
0x03 KEY_EXIT
0x04 KEY_1
0x05 KEY_5
0x06 KEY_6
0x07 KEY_CHANNELDOWN
0x08 KEY_2
0x09 KEY_CHANNELUP
0x0a KEY_9
0x0b KEY_ZOOM
0x0c KEY_7
0x0d KEY_8
0x0e KEY_VOLUMEUP
0x0f KEY_4
0x10 KEY_BACK
0x11 KEY_0
0x12 KEY_OK
0x13 KEY_VOLUMEDOWN
0x14 KEY_RECORD
0x15 KEY_STOP
0x16 KEY_PLAY
0x17 KEY_MUTE
0x18 KEY_UP
0x19 KEY_DOWN
0x1a KEY_LEFT
0x1b KEY_RIGHT
0x1c KEY_RED
0x1d KEY_GREEN
0x1e KEY_YELLOW
0x1f KEY_BLUE
0x43 KEY_POWER

View File

@@ -1,12 +1,15 @@
#
# sundtek.conf
#
# Call attach/detach script when new device appears/disappears
# Do not change this line!
device_attach=/storage/.xbmc/addons/driver.dvb.sundtek-mediatv/bin/device-attached.sh
# network tuner IP address (OpenELEC specific)
#network_tuner_ip=xxx.xxx.xxx.xxx
# enable HW PID filter (default on for RPi)
use_hwpidfilter=off
# enable listening on network
enablenetwork=off
# Lowest adapter number to start with, e.g. /dev/dvb/adapter5/frontend0
first_adapter=0
# Infrared Control Support is disabled/enabled
ir_disabled=1
@@ -14,13 +17,17 @@ ir_disabled=1
# trigger device_attach only once if more devices is used
bulk_notification=on
# Lowest adapter number to start with, e.g. /dev/dvb/adapter5/frontend0
#first_adapter=5
# Get adapter serial number with mediaclient -e
# or look into file adapter_serial_number.txt
[SERIALNUMBER]
#[SERIALNUMBER]
# Choose initial DVB mode for hybrid DVB-T/DVB-C devices only
#initial_dvb_mode=[DVBC|DVBT]
# default mode is DVB-C, we must set it to DVB-T if needed
#initial_dvb_mode=DVBT
#[U123456789012]
#initial_dvb_mode=DVBT
#[NETWORK]
#device=192.168.1.1:0
#device=192.168.1.1:1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@@ -20,13 +20,13 @@
PKG_NAME="sundtek-mediatv"
PKG_VERSION="3.0"
PKG_REV="1"
PKG_REV="4"
PKG_ARCH="any"
PKG_LICENSE="nonfree"
PKG_SITE="http://support.sundtek.com/"
PKG_URL=""
PKG_DEPENDS="sundtek"
PKG_BUILD_DEPENDS="sundtek"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS=""
PKG_PRIORITY="optional"
PKG_SECTION="driver/dvb"
PKG_SHORTDESC="Sundtek USB Stick DVB userspace driver"

View File

@@ -0,0 +1,21 @@
<settings>
<setting id="AUTO_UPDATE" value="false" />
<setting id="ANALOG_TV" value="false" />
<setting id="SETTLE_TIME" value="0" />
<setting id="RUN_USER_SCRIPT" value="false" />
<setting id="ENABLE_HW_PID_FILTER" value="false" />
<setting id="ENABLE_IR_RECEIVER" value="false" />
<setting id="LOWEST_ADAPTER_NUM" value="0" />
<setting id="ALLOW_NET_USE" value="false" />
<setting id="USE_NET_TUNERS" value="false" />
<setting id="DEVICE1_IP" value="" />
<setting id="DEVICE1_NUM" value="1" />
<setting id="DEVICE2_IP" value="" />
<setting id="DEVICE2_NUM" value="1" />
<setting id="DEVICE3_IP" value="" />
<setting id="DEVICE3_NUM" value="1" />
<setting id="DEVICE4_IP" value="" />
<setting id="DEVICE4_NUM" value="1" />
<setting id="DEVICE5_IP" value="" />
<setting id="DEVICE5_NUM" value="1" />
</settings>

View File

@@ -0,0 +1,28 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
ADDON_DIR="$HOME/.xbmc/addons/driver.dvb.sundtek-mediatv"
logger -t Sundtek "### Sundtek manual start ###"
. $ADDON_DIR/bin/userspace-driver.sh

View File

@@ -0,0 +1,30 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
ADDON_DIR="$HOME/.xbmc/addons/driver.dvb.sundtek-mediatv"
export LD_PRELOAD=$ADDON_DIR/lib/libmediaclient.so
logger -t Sundtek "### Sundtek manual stop ###"
mediaclient --shutdown

View File

@@ -2,7 +2,7 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,58 +22,312 @@
. /etc/profile
net_tuner_num_fix() {
local num=$1
[ -z "$num" ] && num=1
num=$(( $num *1 ))
[ $num -lt 1 ] && num=1
num=$(( $num -1 ))
echo $num
}
ADDON_DIR="$HOME/.xbmc/addons/driver.dvb.sundtek-mediatv"
ADDON_HOME="$HOME/.xbmc/userdata/addon_data/driver.dvb.sundtek-mediatv"
SUNDTEK_READY="/var/run/sundtek.ready"
ADAPTER_WAIT_TIME=120
NETWORK_TUNER_IP=$(awk '/^network_tuner_ip=/ {split($0,a,"="); printf("%s", a[2])}' "$ADDON_HOME/sundtek.conf")
ADDON_SETTINGS="$ADDON_HOME/settings.xml"
mkdir -p $ADDON_HOME
if [ ! -f "$ADDON_HOME/sundtek.conf" ]; then
cp $ADDON_DIR/config/* $ADDON_HOME/
else
# in case of missing entries in addon home's sundtek.conf
entry_set="$(grep use_hwpidfilter $ADDON_HOME/sundtek.conf 2>/dev/null)"
if [ -z "$entry_set" ]; then
sed -i 's|^device_attach=.*|# device_attach not used anymore\n\n# enable HW PID filter\nuse_hwpidfilter=off\n\n# enable listening on network\nenablenetwork=off|g' $ADDON_HOME/sundtek.conf
sed -i 's|^#first_adapter=.*|first_adapter=0|g' $ADDON_HOME/sundtek.conf
sed -i 's|.*network tuner IP address (OpenELEC specific).*||g' $ADDON_HOME/sundtek.conf
sed -i 's|.*network_tuner_ip=.*||g' $ADDON_HOME/sundtek.conf
fi
fi
SUNDTEK_ARG="--pluginpath=$ADDON_DIR/bin --daemon"
if [ ! -f "$ADDON_SETTINGS" ]; then
cp $ADDON_DIR/settings-default.xml $ADDON_SETTINGS
fi
[ ! -f $ADDON_HOME/rc_key_enter.map ] && mv $ADDON_HOME/rc_key_enter $ADDON_HOME/rc_key_enter.map
[ ! -f $ADDON_HOME/rc_key_ok.map ] && mv $ADDON_HOME/rc_key_ok $ADDON_HOME/rc_key_ok.map
mkdir -p /var/config
cat "$ADDON_SETTINGS" | awk -F\" '{print $2"=\""$4"\""}' | sed '/^=/d' > /var/config/sundtek-addon.conf
. /var/config/sundtek-addon.conf
if [ "$AUTO_UPDATE" = "true" -a -f $ADDON_DIR/bin/mediasrv ]; then
logger -t Sundtek "### Checking for new Sundtek binary installer ###"
touch $ADDON_HOME/driver-version.txt
wget -O /tmp/sundtek-driver-version.txt http://sundtek.de/media/latest.phtml
md5_1=$(md5sum -b /tmp/sundtek-driver-version.txt | awk '{print $1}')
md5_2=$(md5sum -b $ADDON_HOME/driver-version.txt | awk '{print $1}')
if [ "$md5_1" != "$md5_2" ]; then
logger -t Sundtek "### Updating Sundtek binary installer ###"
rm -f $ADDON_DIR/bin/mediasrv
fi
rm -f /tmp/sundtek-driver-version.txt
fi
if [ ! -f $ADDON_DIR/bin/mediasrv ]; then
# remove renamed addon if exist
rm -fr "$HOME/.xbmc/addons/driver.dvb.sundtek"
rm -fr "$HOME/userdata/addon_data/driver.dvb.sundtek"
logger -t Sundtek "### Downloading installer ###"
cd $ADDON_DIR
mkdir -p bin lib tmp
cd tmp/
ARCH=$(sed -n 's|.*\.\([^-]*\)-.*|\1|p' /etc/release | tr -d '\n')
if [ "$ARCH" = "x86_64" ]; then
INSTALLER_URL="http://sundtek.de/media/netinst/64bit/installer.tar.gz"
elif [ "$ARCH" = "i386" ]; then
INSTALLER_URL="http://sundtek.de/media/netinst/32bit/installer.tar.gz"
elif [ "$ARCH" = "arm" ]; then
INSTALLER_URL="http://sundtek.de/media/netinst/armsysvhf/installer.tar.gz"
# enable HW PID filter on RPi by default
sed -i 's|^use_hwpidfilter=.*|use_hwpidfilter=on|g' $ADDON_DIR/config/sundtek.conf
sed -i 's|^use_hwpidfilter=.*|use_hwpidfilter=on|g' $ADDON_HOME/sundtek.conf
sed -i 's|.*id="ENABLE_HW_PID_FILTER".*|<setting id="ENABLE_HW_PID_FILTER" value="true" />|' $ADDON_DIR/settings-default.xml
sed -i 's|.*id="ENABLE_HW_PID_FILTER".*|<setting id="ENABLE_HW_PID_FILTER" value="true" />|' $ADDON_SETTINGS
else
logger -t Sundtek "### Unsupported architecture ###"
cd ..
rm -fr tmp/
exit 1
fi
wget -O installer.tar.gz $INSTALLER_URL
wget -O ../driver-version.txt http://sundtek.de/media/latest.phtml
logger -t Sundtek "### Extracting installer ###"
tar -xzf installer.tar.gz
if [ $? -ne 0 ]; then
logger -t Sundtek "### Installer damaged ###"
cd ..
rm -fr tmp/
exit 2
fi
cp -Pa opt/bin/* ../bin/
cp -Pa opt/lib/* ../lib/
cp ../driver-version.txt $ADDON_HOME/
cd ..
rm -fr tmp/
logger -t Sundtek "### Installer finished ###"
cat "$ADDON_SETTINGS" | awk -F\" '{print $2"=\""$4"\""}' | sed '/^=/d' > /var/config/sundtek-addon.conf
. /var/config/sundtek-addon.conf
fi
if [ ! -f $ADDON_HOME/driver-version.txt ]; then
cp $ADDON_DIR/driver-version.txt $ADDON_HOME/
fi
# enable to install same addon package version again
#rm -f /storage/.xbmc/addons/packages/driver.dvb.sundtek*
# add alias for /opt/bin/mediaclient
alias_set="$(grep libmediaclient.so /storage/.profile 2>/dev/null)"
if [ -z "$alias_set" ]; then
echo "" >>/storage/.profile
echo "[ -f /storage/.xbmc/addons/driver.dvb.sundtek-mediatv/lib/libmediaclient.so ] && export LD_PRELOAD=/storage/.xbmc/addons/driver.dvb.sundtek-mediatv/lib/libmediaclient.so" >>/storage/.profile
echo "" >>/storage/.profile
else
# fix name
sed -i 's|/driver.dvb.sundtek/|/driver.dvb.sundtek-mediatv/|g' /storage/.profile
fi
export LD_PRELOAD=$ADDON_DIR/lib/libmediaclient.so
if [ "$ANALOG_TV" = "true" -a ! -f "$ADDON_DIR/bin/plugins/lib/libavcodec.so.54.12.100" ]; then
logger -t Sundtek "### Downloading missing ffmpeg libraries ###"
cd $ADDON_DIR/bin
mkdir -p plugins/
cd plugins/
ARCH=$(sed -n 's|.*\.\([^-]*\)-.*|\1|p' /etc/release | tr -d '\n')
wget -O sundtek-ffmpeg-analog_tv-lib.tgz http://dl.dropbox.com/u/8224157/public/sundtek/sundtek-ffmpeg-analog_tv-lib-$ARCH.tgz
logger -t Sundtek "### Extracting ffmpeg libraries ###"
tar -xzf sundtek-ffmpeg-analog_tv-lib.tgz
if [ $? -ne 0 ]; then
logger -t Sundtek "### Ffmpeg library archive damaged ###"
rm -f sundtek-ffmpeg-analog_tv-lib.tgz
exit 2
fi
rm -f sundtek-ffmpeg-analog_tv-lib.tgz
fi
if [ -z "$(pidof mediasrv)" ]; then
rm -f /var/log/mediasrv.log
rm -f /var/log/mediaclient.log
rm -f $SUNDTEK_READY
rm -f /tmp/sundtek.conf
ln -sf $ADDON_HOME/sundtek.conf /tmp/sundtek.conf
mediasrv $SUNDTEK_ARG
SUNDTEK_CONF_TMP=/tmp/sundtek.conf
cp $ADDON_HOME/sundtek.conf $SUNDTEK_CONF_TMP
if [ -n "$NETWORK_TUNER_IP" ]; then
logger -t Sundtek "### Trying to connect Sundtek device $NETWORK_TUNER_IP ###"
mediaclient --mount=$NETWORK_TUNER_IP
[ -z "$LOWEST_ADAPTER_NUM" ] && LOWEST_ADAPTER_NUM=0
sed -i "s|^first_adapter=.*|first_adapter=$LOWEST_ADAPTER_NUM|g" $SUNDTEK_CONF_TMP
# enable HW PID filter
if [ "$ENABLE_HW_PID_FILTER" = "true" ]; then
sed -i 's|^use_hwpidfilter=.*|use_hwpidfilter=on|g' $SUNDTEK_CONF_TMP
else
logger -t Sundtek "### Trying to attach Sundtek device ###"
sed -i 's|^use_hwpidfilter=.*|use_hwpidfilter=off|g' $SUNDTEK_CONF_TMP
fi
# wait for device to get attached or connected
cnt=0
while [ 1 ]; do
if [ -n "$NETWORK_TUNER_IP" -a -e /dev/dvb/adapter*/frontend* ]; then
sh $ADDON_DIR/bin/device-attached.sh
fi
# enable IR receiver
if [ "$ENABLE_IR_RECEIVER" = "true" ]; then
sed -i 's|^ir_disabled=.*|ir_disabled=0|g' $SUNDTEK_CONF_TMP
else
sed -i 's|^ir_disabled=.*|ir_disabled=1|g' $SUNDTEK_CONF_TMP
fi
if [ -f $SUNDTEK_READY ]; then
rm -f $SUNDTEK_READY
break
elif [ "$cnt" = "$ADAPTER_WAIT_TIME" ]; then
logger -t Sundtek "### No Sundtek device attached or connected ###"
return
fi
let cnt=cnt+1
usleep 500000
done
if [ "$ALLOW_NET_USE" = "true" ]; then
sed -i 's|^enablenetwork=.*|enablenetwork=on|g' $SUNDTEK_CONF_TMP
else
sed -i 's|^enablenetwork=.*|enablenetwork=off|g' $SUNDTEK_CONF_TMP
fi
[ "$DEVICE1_IP" = "0.0.0.0" ] && DEVICE1_IP=""
[ "$DEVICE2_IP" = "0.0.0.0" ] && DEVICE2_IP=""
[ "$DEVICE3_IP" = "0.0.0.0" ] && DEVICE3_IP=""
[ "$DEVICE4_IP" = "0.0.0.0" ] && DEVICE4_IP=""
[ "$DEVICE5_IP" = "0.0.0.0" ] && DEVICE5_IP=""
DEVICE1_NUM=$(net_tuner_num_fix $DEVICE1_NUM)
DEVICE2_NUM=$(net_tuner_num_fix $DEVICE2_NUM)
DEVICE3_NUM=$(net_tuner_num_fix $DEVICE3_NUM)
DEVICE4_NUM=$(net_tuner_num_fix $DEVICE4_NUM)
DEVICE5_NUM=$(net_tuner_num_fix $DEVICE5_NUM)
if [ "$USE_NET_TUNERS" = "true" -a -n "$DEVICE1_IP" ]; then
# delete all network tuner entries
awk '/^\[NETWORK\]/{flag=1; next} /^device=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-net
mv ${SUNDTEK_CONF_TMP}-net $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
# add entries
echo -e "\n[NETWORK]" >>$SUNDTEK_CONF_TMP
for dev in $(seq 0 $DEVICE1_NUM); do
echo "device=$DEVICE1_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE2_IP" ]; then
for dev in $(seq 0 $DEVICE2_NUM); do
echo "device=$DEVICE2_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE3_IP" ]; then
for dev in $(seq 0 $DEVICE3_NUM); do
echo "device=$DEVICE3_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE4_IP" ]; then
for dev in $(seq 0 $DEVICE4_NUM); do
echo "device=$DEVICE4_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE5_IP" ]; then
for dev in $(seq 0 $DEVICE5_NUM); do
echo "device=$DEVICE5_IP:$dev" >>$SUNDTEK_CONF_TMP
done
fi
fi
fi
fi
else
# delete all network tuner entries
awk '/^\[NETWORK\]/{flag=1; next} /^device=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-net
mv ${SUNDTEK_CONF_TMP}-net $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
fi
if [ "$ENABLE_TUNER_TYPES" = "true" ]; then
# get tuner serial numbers
SERIALS=$(cat /var/config/sundtek-addon.conf | sed -n 's|^ATTACHED_TUNER_\(.*\)_DVBMODE=.*|\1|gp' | sort | uniq)
. /var/config/sundtek-addon.conf
for SERIAL in ${SERIALS[@]}; do
DVBMODE=$(eval echo \$ATTACHED_TUNER_${SERIAL}_DVBMODE)
IRPROT=$(eval echo \$ATTACHED_TUNER_${SERIAL}_IRPROT)
KEYMAP=$(eval echo \$ATTACHED_TUNER_${SERIAL}_KEYMAP)
if [ "$DVBMODE" = "DVB-T" ]; then
# only set DVB-T because default is DVB-C (and DVB-S is not set either)
DVBMODE="DVBT"
else
DVBMODE=""
fi
[ "$IRPROT" = "NEC" -o "$IRPROT" = "auto" ] && IRPROT=""
[ ! -f $KEYMAP ] && KEYMAP=""
# remove setttings for this tuner
awk -v val="[$SERIAL]" '$0 == val {flag=1; next} /^ir_protocol=|^rcmap=|^initial_dvb_mode=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-types
mv ${SUNDTEK_CONF_TMP}-types $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
ADDNEW=true
if [ -n "$DVBMODE" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "initial_dvb_mode=$DVBMODE" >>$SUNDTEK_CONF_TMP
fi
if [ -n "$IRPROT" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "ir_protocol=$IRPROT" >>$SUNDTEK_CONF_TMP
fi
if [ -n "$KEYMAP" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "rcmap=$KEYMAP" >>$SUNDTEK_CONF_TMP
fi
echo "" >>$SUNDTEK_CONF_TMP
done
fi
md5_1=$(md5sum -b $SUNDTEK_CONF_TMP | awk '{print $1}')
md5_2=$(md5sum -b $ADDON_HOME/sundtek.conf | awk '{print $1}')
if [ "$md5_1" != "$md5_2" ]; then
# file changed - copy to addon home
cp $SUNDTEK_CONF_TMP $ADDON_HOME/sundtek.conf
fi
mediasrv --wait-for-devices -p $ADDON_DIR/bin -c $ADDON_HOME/sundtek.conf -d
# wait few seconds
[ -z "$SETTLE_TIME" ] && SETTLE_TIME=0
SETTLE_TIME=$(( $SETTLE_TIME *1 ))
if [ $SETTLE_TIME -gt 0 ]; then
logger -t Sundtek "### Settle for $SETTLE_TIME sec ###"
sleep $SETTLE_TIME
fi
if [ "$ANALOG_TV" = "true" ]; then
logger -t Sundtek "### Switching to analog TV mode ###"
#rm -fr /dev/dvb/
mediaclient --disable-dvb=/dev/dvb/adapter0
fi
if [ "$RUN_USER_SCRIPT" = "true" -a -f "$ADDON_HOME/userscript.sh" ]; then
logger -t Sundtek "### Running user script $ADDON_HOME/userscript.sh ###"
cat $ADDON_HOME/userscript.sh | dos2unix >/var/run/sundtek-userscript.sh
sh /var/run/sundtek-userscript.sh
fi
(
# save adapter serial number in background
sleep 4
sleep 5
serial_number_old=$(cat $ADDON_HOME/adapters.txt 2>/dev/null)
serial_number_new=$(mediaclient -e | awk '/device / {print $0} /ID:/ {print $2}')
if [ "$serial_number_old" != "$serial_number_new" ]; then
@@ -82,4 +336,4 @@ if [ -z "$(pidof mediasrv)" ]; then
)&
fi
export LD_PRELOAD=$ADDON_DIR/lib/libmediaclient.so:$LD_PRELOAD
logger -t Sundtek "### Sundtek ready ###"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,3 +21,18 @@
import os
import sys
import xbmcaddon
__settings__ = xbmcaddon.Addon(id = 'driver.dvb.sundtek-mediatv')
__cwd__ = __settings__.getAddonInfo('path')
__resources_lib__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'lib'))
__settings_xml__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'settings.xml'))
__mediaclient__ = xbmc.translatePath(os.path.join(__cwd__, 'bin', 'mediaclient'))
__ld_preload__ = xbmc.translatePath(os.path.join(__cwd__, 'lib', 'libmediaclient.so'))
__mediaclient_e__ = 'LD_PRELOAD=' + __ld_preload__ + ' ' + __mediaclient__ + ' -e'
if __name__ == "__main__" and len(sys.argv) == 2 and sys.argv[1] == 'refresh_tuners':
sys.path.append(__resources_lib__)
from functions import refresh_sundtek_tuners
refresh_sundtek_tuners(__settings_xml__, __mediaclient_e__)
__settings__.openSettings()

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<string id="1000">General</string>
<string id="1011">Auto update binary driver</string>
<string id="1012">Enable analog TV</string>
<string id="1014">Extra delay [sec]</string>
<string id="1015">Run user script</string>
<string id="1030">Enable hardware PID filter</string>
<string id="1035">Enable IR receiver</string>
<string id="1040">Lowest adapter number (/dev/dvb/adapterX/)</string>
<string id="2000">Networking</string>
<string id="2005">Share local tuner over network</string>
<string id="2010">Use network shared tuners</string>
<string id="2020">Server 1 IP address</string>
<string id="2021"> # of tuners</string>
<string id="2030">Server 2 IP address</string>
<string id="2031"> # of tuners</string>
<string id="2040">Server 3 IP address</string>
<string id="2041"> # of tuners</string>
<string id="2050">Server 4 IP address</string>
<string id="2051"> # of tuners</string>
<string id="2060">Server 5 IP address</string>
<string id="2061"> # of tuners</string>
<string id="9000">Tuner settings</string>
<string id="9005">Enable modifying settings</string>
<string id="9010">Refresh tuners... (press me)</string>
<string id="9020"> IR protocol</string>
<string id="9030"> keymap filename</string>
</strings>

View File

@@ -0,0 +1,272 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
import os
import sys
import shutil
import xmlpp
from xml.dom import minidom
__sundtek_userspace__ = '/storage/.xbmc/userdata/addon_data/driver.dvb.sundtek-mediatv/'
######################################################################################################
# backup setting.xml file only if backup doesn't exist
def settings_backup(settings_xml):
try:
with open(settings_xml + '_orig') as f: pass
except IOError as e:
shutil.copyfile(settings_xml, settings_xml + '_orig')
######################################################################################################
# restore setting.xml file from backup
def settings_restore(settings_xml):
try:
shutil.copyfile(settings_xml + '_orig', settings_xml)
except IOError as e:
print 'Error restoring file:', settings_xml
######################################################################################################
# get hdhomerun supported devices on a system (only name like 101ADD2B-0)
def get_devices_hdhomerun(hdhomerun_log):
tuners = []
try:
for line in open(hdhomerun_log, 'r'):
line = line.strip()
if line.startswith('Registered tuner'):
name = line.split(':');
name = name[2].strip()
tuners.append(name)
except IOError:
print 'Error reading hdhomerun log file', hdhomerun_log
return tuners
"""
root ~ # grep "Registered tuner" /var/log/dvbhdhomerun.log
Registered tuner, id from kernel: 0 name: 101ADD2B-0
Registered tuner, id from kernel: 1 name: 101ADD2B-1
Registered tuner, id from kernel: 2 name: 1031D75A-0
Registered tuner, id from kernel: 3 name: 1031D75A-1
"""
######################################################################################################
# get sundtek supported devices on a system (name, serial number, type)
def get_devices_sundtek(mediaclient_e):
tuners = []
try:
p = os.popen(mediaclient_e, "r")
while 1:
line = p.readline()
if not line:
break
else:
str = line.strip()
if str.startswith('device '):
name = str[str.find("[")+1:str.find("]")]
tuners.append([name, 0, 's'])
if str.startswith('[SERIAL]:'):
line = p.readline()
str = line.strip()
if str.startswith('ID:'):
id = str.split(':');
id = id[1].strip()
tuners[len(tuners)-1] = [name, id, 's']
if str.startswith('[DVB-C]:'):
tuners[len(tuners)-1] = [name, id, 'c']
elif str.startswith('[DVB-T]:'):
tuners[len(tuners)-1] = [name, id, 'c']
elif str.startswith('[DVB-T2]:'):
tuners[len(tuners)-1] = [name, id, 'c']
except IOError:
print 'Error getting sundtek tuners info'
return tuners
"""
root ~ # mediaclient -e
**** List of Media Hardware Devices ****
device 0: [Sundtek MediaTV Pro (USB 2.0)] DVB-C, DVB-T, ANALOG-TV, FM-RADIO, REMOTE-CONTROL, OSS-AUDIO, RDS
[BUS]:
ID: 1-7
[SERIAL]:
ID: U110763295205
[DVB-C]:
FRONTEND: /dev/dvb/adapter0/frontend0
DVR: /dev/dvb/adapter0/dvr0
DMX: /dev/dvb/adapter0/demux0
[DVB-T]:
FRONTEND: /dev/dvb/adapter0/frontend0
DVR: /dev/dvb/adapter0/dvr0
DMX: /dev/dvb/adapter0/demux0
[ANALOG-TV]:
VIDEO0: /dev/video0
VBI0: /dev/vbi0
[FM-RADIO]:
RADIO0: /dev/radio0
RDS: /dev/rds0
[REMOTECONTROL]:
INPUT0: /dev/mediainput0
[OSS]:
OSS0: /dev/dsp0
"""
######################################################################################################
# parse settings.xml file
def parse_settings(settings_xml):
try:
xmldoc = minidom.parse(settings_xml)
category = xmldoc.getElementsByTagName('category')
return xmldoc
except Exception as inst:
print 'Error parse settings file', settings_xml
return None
######################################################################################################
# remove all nodes with id started with ATTACHED_TUNER_
def remove_old_tuners(xmldoc):
category = xmldoc.getElementsByTagName('category')
for node_cat in category:
setting = node_cat.getElementsByTagName('setting')
for node_set in setting :
if 'id' in node_set.attributes.keys() and not node_set.getAttribute('id').find('ATTACHED_TUNER_'):
node_set.parentNode.removeChild(node_set)
######################################################################################################
# add new hdhomerun tuners
def add_hdhomerun(xmldoc, node_cat, tuners):
for ix, tuner in enumerate(tuners):
tuner_var = tuner.replace('-', '_')
node1 = xmldoc.createElement("setting")
node1.setAttribute("id", 'ATTACHED_TUNER_' + tuner_var + '_DVBMODE')
node1.setAttribute("label", tuner)
node1.setAttribute("type", 'labelenum')
node1.setAttribute("default", 'auto')
node1.setAttribute("values", 'auto|ATSC|DVB-C|DVB-T')
node_cat.appendChild(node1)
node2 = xmldoc.createElement("setting")
node2.setAttribute("id", 'ATTACHED_TUNER_' + tuner_var + '_FULLNAME')
node2.setAttribute("label", '9020')
node2.setAttribute("type", 'bool')
node2.setAttribute("default", 'false')
node_cat.appendChild(node2)
node3 = xmldoc.createElement("setting")
node3.setAttribute("id", 'ATTACHED_TUNER_' + tuner_var + '_DISABLE')
node3.setAttribute("label", '9030')
node3.setAttribute("type", 'bool')
node3.setAttribute("default", 'false')
node_cat.appendChild(node3)
# for tuner
######################################################################################################
# add new sundtek tuners
def add_sundtek(xmldoc, node_cat, tuners):
for ix, tuner in enumerate(tuners):
tuner_name = tuner[0]
tuner_serial = tuner[1]
tuner_type = tuner[2]
node1 = xmldoc.createElement("setting")
node1.setAttribute("id", 'ATTACHED_TUNER_' + tuner_serial + '_DVBMODE')
node1.setAttribute("label", tuner_name + ", " + tuner_serial)
node1.setAttribute("type", 'labelenum')
if (tuner_type == 's'):
node1.setAttribute("default", 'DVB-S')
node1.setAttribute("values", 'DVB-S')
else:
node1.setAttribute("default", 'DVB-C')
node1.setAttribute("values", 'DVB-C|DVB-T')
node_cat.appendChild(node1)
node2 = xmldoc.createElement("setting")
node2.setAttribute("id", 'ATTACHED_TUNER_' + tuner_serial + '_IRPROT')
node2.setAttribute("label", '9020')
node2.setAttribute("type", 'labelenum')
node2.setAttribute("default", 'auto')
node2.setAttribute("values", 'auto|RC5|NEC|RC6')
node_cat.appendChild(node2)
node3 = xmldoc.createElement("setting")
node3.setAttribute("id", 'ATTACHED_TUNER_' + tuner_serial + '_KEYMAP')
node3.setAttribute("label", '9030')
node3.setAttribute("type", 'file')
node3.setAttribute("mask", '*.map')
node3.setAttribute("default", __sundtek_userspace__)
node_cat.appendChild(node3)
# for tuner
######################################################################################################
# add new ATTACHED_TUNER_ nodes for available tuners
def add_new_tuners(xmldoc, tuners, which):
category = xmldoc.getElementsByTagName('category')
for node_cat in category:
setting = node_cat.getElementsByTagName('setting')
for node_set in setting :
if 'label' in node_set.attributes.keys() and '9010' in node_set.getAttribute('label'):
if which == 'hdhomerun':
add_hdhomerun(xmldoc, node_cat, tuners)
break
elif which == 'sundtek':
add_sundtek(xmldoc, node_cat, tuners)
break
######################################################################################################
# save settings.xml file back
def save_settings(settings_xml, xmldoc):
try:
outputfile = open(settings_xml, 'w')
xmlpp.pprint(xmldoc.toxml(), output = outputfile, indent=2)
outputfile.close()
except IOError:
print 'Error saving file:', settings_xml
settings_restore(settings_xml)
######################################################################################################
# refresh hdhomerun tuners in settings.xml file
def refresh_hdhomerun_tuners(settings_xml, hdhomerun_log):
settings_backup(settings_xml)
tuners = get_devices_hdhomerun(hdhomerun_log)
xmldoc = parse_settings(settings_xml)
if xmldoc == None:
print 'No hdhomerun tuners found'
else:
remove_old_tuners(xmldoc)
add_new_tuners(xmldoc, tuners, 'hdhomerun')
save_settings(settings_xml, xmldoc)
######################################################################################################
# refresh sundtek tuners in settings.xml file
def refresh_sundtek_tuners(settings_xml, mediaclient_e):
settings_backup(settings_xml)
tuners = get_devices_sundtek(mediaclient_e)
xmldoc = parse_settings(settings_xml)
if xmldoc == None:
print 'No sundtek tuners found'
else:
remove_old_tuners(xmldoc)
add_new_tuners(xmldoc, tuners, 'sundtek')
save_settings(settings_xml, xmldoc)

View File

@@ -0,0 +1,161 @@
"""Pretty print an XML document.
LICENCE:
Copyright (c) 2008, Fredrik Ekholdt
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of Fredrik Ekholdt nor the names of its contributors may be used to
endorse or promote products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE."""
import sys as _sys
import re as _re
def _usage(this_file):
return """SYNOPSIS: pretty print an XML document
USAGE: python %s <filename> \n""" % this_file
def _pprint_line(indent_level, line, width=100, output=_sys.stdout):
if line.strip():
start = ""
number_chars = 0
for l in range(indent_level):
start = start + " "
number_chars = number_chars + 1
try:
elem_start = _re.findall("(\<\W{0,1}\w+:\w+) ?", line)[0]
elem_finished = _re.findall("([?|\]\]/]*\>)", line)[0]
#should not have *
attrs = _re.findall("(\S*?\=\".*?\")", line)
output.write(start + elem_start)
number_chars = len(start + elem_start)
for attr in attrs:
if (attrs.index(attr) + 1) == len(attrs):
number_chars = number_chars + len(elem_finished)
if (number_chars + len(attr) + 1) > width:
output.write("\n")
for i in range(len(start + elem_start) + 1):
output.write(" ")
number_chars = len(start + elem_start) + 1
else:
output.write(" ")
number_chars = number_chars + 1
output.write(attr)
number_chars = number_chars + len(attr)
output.write(elem_finished + "\n")
except IndexError:
#give up pretty print this line
output.write(start + line + "\n")
def _pprint_elem_content(indent_level, line, output=_sys.stdout):
if line.strip():
for l in range(indent_level):
output.write(" ")
output.write(line + "\n")
def _get_next_elem(data):
start_pos = data.find("<")
end_pos = data.find(">") + 1
retval = data[start_pos:end_pos]
stopper = retval.rfind("/")
if stopper < retval.rfind("\""):
stopper = -1
single = (stopper > -1 and ((retval.find(">") - stopper) < (stopper - retval.find("<"))))
ignore_excl = retval.find("<!") > -1
ignore_question = retval.find("<?") > -1
if ignore_excl:
cdata = retval.find("<![CDATA[") > -1
if cdata:
end_pos = data.find("]]>")
if end_pos > -1:
end_pos = end_pos + len("]]>")
elif ignore_question:
end_pos = data.find("?>") + len("?>")
ignore = ignore_excl or ignore_question
no_indent = ignore or single
#print retval, end_pos, start_pos, stopper > -1, no_indent
return start_pos, \
end_pos, \
stopper > -1, \
no_indent
def get_pprint(xml, indent=4, width=80):
"""Returns the pretty printed xml """
class out:
output = ""
def write(self, string):
self.output += string
out = out()
pprint(xml, output=out, indent=indent, width=width)
return out.output
def pprint(xml, output=_sys.stdout, indent=4, width=80):
"""Pretty print xml.
Use output to select output stream. Default is sys.stdout
Use indent to select indentation level. Default is 4 """
data = xml
indent_level = 0
start_pos, end_pos, is_stop, no_indent = _get_next_elem(data)
while ((start_pos > -1 and end_pos > -1)):
_pprint_elem_content(indent_level, data[:start_pos].strip(),
output=output)
data = data[start_pos:]
if is_stop and not no_indent:
indent_level = indent_level - indent
_pprint_line(indent_level,
data[:end_pos - start_pos],
width=width,
output=output)
data = data[end_pos - start_pos:]
if not is_stop and not no_indent :
indent_level = indent_level + indent
if not data:
break
else:
start_pos, end_pos, is_stop, no_indent = _get_next_elem(data)
if __name__ == "__main__":
if "-h" in _sys.argv or "--help" in _sys.argv:
_sys.stderr.write(_usage(_sys.argv[0]))
_sys.exit(1)
if len(_sys.argv) < 2:
_sys.stderr.write(_usage(_sys.argv[0]))
_sys.exit(1)
else:
filename = _sys.argv[1]
fh = open(filename)
pprint(fh.read(), output=_sys.stdout, indent=4, width=80)

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="1000" >
<setting type="sep" />
<setting id="AUTO_UPDATE" type="bool" label="1011" default="false" />
<setting id="ANALOG_TV" type="bool" label="1012" default="false" enable="false" />
<setting id="SETTLE_TIME" type="number" label="1014" default="0" />
<setting id="RUN_USER_SCRIPT" type="bool" label="1015" default="false" />
<setting id="ENABLE_HW_PID_FILTER" type="bool" label="1030" default="false" />
<setting id="ENABLE_IR_RECEIVER" type="bool" label="1035" default="false" />
<setting id="LOWEST_ADAPTER_NUM" type="number" label="1040" default="0" />
</category>
<category label="2000" >
<setting type="sep" />
<setting id="ALLOW_NET_USE" type="bool" label="2005" default="false" />
<setting id="USE_NET_TUNERS" type="bool" label="2010" default="false" />
<setting id="DEVICE1_IP" type="ipaddress" label="2020" default="" visible="eq(-1,true)" />
<setting id="DEVICE1_NUM" type="labelenum" label="2021" default="1" values="1|5|4|3|2" visible="eq(-2,true)" />
<setting id="DEVICE2_IP" type="ipaddress" label="2030" default="" visible="eq(-3,true)" />
<setting id="DEVICE2_NUM" type="labelenum" label="2031" default="1" values="1|5|4|3|2" visible="eq(-4,true)" />
<setting id="DEVICE3_IP" type="ipaddress" label="2040" default="" visible="eq(-5,true)" />
<setting id="DEVICE3_NUM" type="labelenum" label="2041" default="1" values="1|5|4|3|2" visible="eq(-6,true)" />
<setting id="DEVICE4_IP" type="ipaddress" label="2050" default="" visible="eq(-7,true)" />
<setting id="DEVICE4_NUM" type="labelenum" label="2051" default="1" values="1|5|4|3|2" visible="eq(-8,true)" />
<setting id="DEVICE5_IP" type="ipaddress" label="2060" default="" visible="eq(-9,true)" />
<setting id="DEVICE5_NUM" type="labelenum" label="2061" default="1" values="1|5|4|3|2" visible="eq(-10,true)" />
</category>
<category label="9000">
<setting type="sep" />
<setting id="ENABLE_TUNER_TYPES" type="bool" label="9005" default="true" />
<setting label="9010" option="close" type="action" action="RunScript($ID, refresh_tuners)" />
</category>
</settings>

View File

@@ -23,22 +23,22 @@
. /etc/profile
LOCKDIR="/var/lock/"
LOCKFILE="sundtek-mediatv"
LOCKFILE="$LOCKDIR/sundtek-mediatv"
case "$1" in
hibernate|suspend)
if [ -n "$(pidof mediasrv)" ]; then
progress "Shutting down Sundtek MediaTV DVB driver for suspending..."
progress "Shutting down Sundtek DVB driver for suspending..."
mkdir -p "$LOCKDIR"
touch "$LOCKDIR/$LOCKFILE"
touch "$LOCKFILE"
mediaclient --shutdown
fi
;;
thaw|resume)
if [ -f "$LOCKDIR/$LOCKFILE" ]; then
if [ -f "$LOCKFILE" ]; then
# driver started within Tvheadend/VDR
rm -rf "$LOCKDIR/$LOCKFILE"
rm -f "$LOCKFILE"
fi
;;

View File

@@ -1,3 +1,9 @@
3.0.4
- update to makemkv-1.8.0
3.0.3
- update to makemkv-1.7.10
3.0.2
- update to makemkv-1.7.9

View File

@@ -19,8 +19,8 @@
################################################################################
PKG_NAME="makemkv"
PKG_VERSION="1.7.9"
PKG_REV="2"
PKG_VERSION="1.8.0"
PKG_REV="4"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.makemkv.com/forum2/viewforum.php?f=3"

View File

@@ -1,14 +1,13 @@
diff -Naur makemkv-1.6.10/lib/makefile.linux makemkv-1.6.10.patch/lib/makefile.linux
--- makemkv-1.6.10/lib/makefile.linux 2011-05-29 23:17:48.000000000 +0200
+++ makemkv-1.6.10.patch/lib/makefile.linux 2011-05-30 15:29:15.510417904 +0200
@@ -1,11 +1,11 @@
diff --git a/lib/makefile.linux b/lib/makefile.linux
index b3b5afa..07322ad 100644
--- a/lib/makefile.linux
+++ b/lib/makefile.linux
@@ -1,10 +1,10 @@
include makefile.common
-GCC=gcc
-RCC=rcc
+GCC:=gcc
+RCC:=rcc
MOC=$(strip $(shell which moc-qt4))
ifeq ($(MOC),)
-MOC=moc
@@ -16,8 +15,8 @@ diff -Naur makemkv-1.6.10/lib/makefile.linux makemkv-1.6.10.patch/lib/makefile.l
endif
CXXOPTS=-Os -D_GNU_SOURCE -D_linux_
@@ -14,7 +14,7 @@
BUILDINFO_BUILD_DATE=$(shell date)
@@ -16,7 +16,7 @@ PREFIX=/usr
LIBDIR=${PREFIX}/lib
-all: out/libdriveio.so.0 out/libmakemkv.so.1 out/makemkv

View File

@@ -1,12 +0,0 @@
3.0.1
- bump addon version
2.1.3
- updated to tcpdump-4.3.0
- updated to libpcap-1.3.0
2.1.2
- rebuild
2.1.1
- initial addon based on tcpdump-4.1.1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

View File

@@ -1,5 +0,0 @@
3.0.1
- bump addon version
2.1.1
- initial addon based on iperf-2.0.5

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1,23 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
import os
import sys
import xbmcaddon

View File

@@ -34,6 +34,7 @@ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/pylib
cp -R $BUILD/Cheetah*/.install/usr/lib/python*/site-packages/* $ADDON_BUILD/$PKG_ADDON_ID/pylib
cp -R $BUILD/pyOpenSSL*/.install/usr/lib/python*/site-packages/* $ADDON_BUILD/$PKG_ADDON_ID/pylib
cp -R $BUILD/yenc*/.install/usr/lib/python*/site-packages/* $ADDON_BUILD/$PKG_ADDON_ID/pylib
cp -R $BUILD/configobj*/.install/usr/lib/python*/site-packages/* $ADDON_BUILD/$PKG_ADDON_ID/pylib
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/SABnzbd
cp -PR $BUILD/SABnzbd-*/* $ADDON_BUILD/$PKG_ADDON_ID/SABnzbd

View File

@@ -1,3 +1,20 @@
3.0.6
- fix configobj error n startup
3.0.5
- rebuild. configobj included
3.0.4
- update to SickBeard-4e57625
- update to CouchPotatoServer-a49a00a
- fix keep awake option
3.0.3
- update to SABnzbd-0.7.11
- update to CouchPotatoServer-811f35b
- update to SickBeard-6cb5e76
- added option to restart the suite on suspend / resume
3.0.2
- Fixed bug causing configobj to throw an exception with Couchpotato v2s config
- corrected a bug causing most of the suite to crash on first launch in certain circumstances

View File

@@ -10,4 +10,5 @@
<setting id="COUCHPOTATO_LAUNCH" value="true" />
<setting id="COUCHPOTATO_VERSION" value="1" />
<setting id="HEADPHONES_LAUNCH" value="true" />
<setting id="RESTART_ON_RESUME" value="false" />
</settings>

View File

@@ -20,7 +20,7 @@
PKG_NAME="SABnzbd-Suite"
PKG_VERSION="3.0"
PKG_REV="2"
PKG_REV="6"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.openelec.tv"

View File

@@ -27,7 +27,7 @@ import signal
import subprocess
import urllib2
import hashlib
from configobj import ConfigObj
import sys
from xml.dom.minidom import parseString
import logging
import traceback
@@ -195,6 +195,9 @@ except:
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
os.environ['PYTHONPATH'] = str(os.environ.get('PYTHONPATH')) + ':' + pPylib
sys.path.append(pPylib)
from configobj import ConfigObj
# SABnzbd start
try:

View File

@@ -28,7 +28,6 @@ import urllib2
import socket
import time
import datetime
from configobj import ConfigObj
__scriptname__ = "SABnzbd Suite"
__author__ = "OpenELEC"
@@ -51,6 +50,9 @@ subprocess.call(['python',__start__])
# check for launching sabnzbd
sabNzbdLaunch = (__settings__.getSetting('SABNZBD_LAUNCH').lower() == 'true')
sys.path.append(os.path.join(__cwd__, 'pylib'))
from configobj import ConfigObj
if sabNzbdLaunch:
# SABnzbd addresses and api key
sabNzbdAddress = '127.0.0.1:8081'
@@ -59,7 +61,7 @@ if sabNzbdLaunch:
sabNzbdApiKey = sabConfiguration['misc']['api_key']
sabNzbdUser = sabConfiguration['misc']['username']
sabNzbdPass = sabConfiguration['misc']['password']
sabNzbdQueue = 'http://' + sabNzbdAddress + '/sabnzbd/api?mode=queue&output=xml&apikey=' + sabNzbdApiKey + '&ma_username=' + sabNzbdUser + '&ma_password=' + sabNzbdUser
sabNzbdQueue = 'http://' + sabNzbdAddress + '/api?mode=queue&output=xml&apikey=' + sabNzbdApiKey + '&ma_username=' + sabNzbdUser + '&ma_password=' + sabNzbdPass
# start checking SABnzbd for activity and prevent sleeping if necessary
socket.setdefaulttimeout(timeout)
@@ -83,29 +85,30 @@ while (not xbmc.abortRequested):
wakeHourIdx = int(__settings__.getSetting('SABNZBD_WAKE_AT'))
# check if SABnzbd is downloading
sabIsActive = False
req = urllib2.Request(sabNzbdQueue)
try: handle = urllib2.urlopen(req)
except IOError, e:
xbmc.log('SABnzbd-Suite: could not determine SABnzbds status', level=xbmc.LOGERROR)
else:
queue = handle.read()
handle.close()
sabIsActive = (queue.find('<status>Downloading</status>') >= 0)
if shouldKeepAwake:
sabIsActive = False
req = urllib2.Request(sabNzbdQueue)
try: handle = urllib2.urlopen(req)
except IOError, e:
xbmc.log('SABnzbd-Suite: could not determine SABnzbds status', level=xbmc.LOGERROR)
else:
queue = handle.read()
handle.close()
sabIsActive = (queue.find('<status>Downloading</status>') >= 0)
# reset idle timer when we're close to idle sleep/shutdown
if (shouldKeepAwake and sabIsActive):
response = xbmc.executehttpapi("GetGUISetting(0;powermanagement.shutdowntime)").replace('<li>','')
shutdownTime = int(response) * 60
idleTime = xbmc.getGlobalIdleTime()
timeToShutdown = shutdownTime - idleTime
# reset idle timer when we're close to idle sleep/shutdown
if sabIsActive:
response = xbmc.executehttpapi("GetGUISetting(0;powermanagement.shutdowntime)").replace('<li>','')
shutdownTime = int(response) * 60
idleTime = xbmc.getGlobalIdleTime()
timeToShutdown = shutdownTime - idleTime
if (sabIsActive and timeToShutdown <= checkInterval - timeout):
xbmc.log('SABnzbd-Suite: still downloading. Resetting XBMC idle timer.')
xbmc.executehttpapi("SendKey(0xF000)")
if (timeToShutdown <= checkInterval - timeout):
xbmc.log('SABnzbd-Suite: still downloading. Resetting XBMC idle timer.')
xbmc.executehttpapi("SendKey(0xF000)")
# calculate and set the time to wake up at (if any)
if (wakePeriodically):
if wakePeriodically:
wakeHour = wakeHourIdx * 2 + 1
timeOfDay = datetime.time(hour=wakeHour)
now = datetime.datetime.now()

View File

@@ -17,5 +17,6 @@
<string id="3021">Keep awake while downloading</string>
<string id="3030">Wake up periodically</string>
<string id="3031">Wake up at</string>
<string id="3032">Restart on suspend / resume</string>
</strings>

View File

@@ -24,6 +24,7 @@
<setting id="SABNZBD_WAKE_AT" type="enum" subsetting="true" enable="eq(-1,true)"
label="3031" default="01"
values="|01:00|03:00|05:00|07:00|09:00|11:00|13:00|15:00|17:00|19:00|21:00|23:00"/>
<setting id="RESTART_ON_RESUME" type="bool" label="3032" default="false" />
</category>
</settings>

View File

@@ -20,32 +20,32 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
. /etc/profile
VDR_DIR=$(basename $BUILD/vdr-[0-9]*)
ADDON_HOME="$HOME/.xbmc/userdata/addon_data/service.downloadmanager.SABnzbd-Suite"
ADDON_SETTINGS="$ADDON_HOME/settings.xml"
RESTART_ON_RESUME=`grep RESTART_ON_RESUME $ADDON_SETTINGS | awk '{print $3}' | sed -e "s,value=,," -e "s,\",,g"`
export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/usr/local/lib/pkgconfig:${PKG_CONFIG_SYSROOT_DIR}buildd/lib/pkgconfig"
LOCKFILE="/var/lock/SABnzbd-Suite.sleep"
cd $PKG_BUILD
if [ "$RESTART_ON_RESUME" == "true" ] ; then
case "$1" in
hibernate|suspend)
if [ ! -z "`ps | grep -E 'python.*service.downloadmanager.SABnzbd-Suite' | awk '{print $1}'`" ] ; then
progress "Shutting down SABnzbd-Suite for suspending..."
SABnzbd-Suite.stop
touch $LOCKFILE
fi
;;
./configure --enable-x11 \
--enable-vdr \
--enable-libxine \
--disable-dbus-glib-1 \
--cc=$CC \
--cxx=$CXX \
--add-cflags="$CFLAGS"
# mpg2c is running on host
make mpg2c \
CC="$HOST_CC" \
CFLAGS="$HOST_CFLAGS" \
LDFLAGS="$HOST_LDFLAGS" \
VDRDIR="../$VDR_DIR" \
LIBDIR="." \
LOCALEDIR="./locale"
make VDRDIR="../$VDR_DIR" \
LIBDIR="." \
LDFLAGS="-lm" \
LOCALEDIR="./locale"
thaw|resume)
progress "Restarting SABnzbd-Suite for wakeup..."
if [ -f "$LOCKFILE" ] ; then
rm -rf "$LOCKFILE"
python $HOME/.xbmc/addons/service.downloadmanager.SABnzbd-Suite/bin/SABnzbd-Suite.py
fi
;;
*) exit $NA
;;
esac
fi

View File

@@ -24,6 +24,7 @@
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
cp $PKG_BUILD/daemon/transmission-daemon $ADDON_BUILD/$PKG_ADDON_ID/bin
cp $PKG_BUILD/daemon/transmission-remote $ADDON_BUILD/$PKG_ADDON_ID/bin
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/web
cp -R $PKG_BUILD/web/* $ADDON_BUILD/$PKG_ADDON_ID/web

View File

@@ -1,3 +1,6 @@
3.0.4
- update to transmission-2.77
3.0.3
- update to transmission-2.76
- update libevent to libevent-2.0.21-stable

Some files were not shown because too many files have changed in this diff Show More