Added option to control niceness-level of noad-process.
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 28 Dec 2006 21:00:47 +0000 (21:00 +0000)
committerMatthias Schwarzott <zzam@gentoo.org>
Thu, 28 Dec 2006 21:00:47 +0000 (21:00 +0000)
Package-Manager: portage-2.1.2_rc4-r1

media-video/noad/ChangeLog
media-video/noad/Manifest
media-video/noad/files/0.6.0-r7/confd_vdraddon.noad
media-video/noad/files/0.6.0-r7/record-50-noad.sh

index ce07944a903062188d4a0f3c434118fd7251185f..332dbc7762a9ee7bfaa2fd69c2668430128aba7d 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for media-video/noad
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.15 2006/12/28 20:02:01 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.16 2006/12/28 21:00:47 zzam Exp $
+
+  28 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
+  files/0.6.0-r7/confd_vdraddon.noad, files/0.6.0-r7/record-50-noad.sh:
+  Added option to control niceness-level of noad-process.
 
 *noad-0.6.0-r7 (28 Dec 2006)
 
index dea91cf4cb8f7376508daa84f9b6a736a54c56d9..d870eb310b48d5188f981f75a7245d053711ba0a 100644 (file)
@@ -33,10 +33,10 @@ AUX 0.6.0-r5/record-50-noad.sh 1280 RMD160 3cecff39403c6d7a4cf22736534873c69505b
 MD5 8a37f935434e52b3a1ae733d1b935c12 files/0.6.0-r5/record-50-noad.sh 1280
 RMD160 3cecff39403c6d7a4cf22736534873c69505b0fd files/0.6.0-r5/record-50-noad.sh 1280
 SHA256 9df8d54663eba19774533ccfd9b0e8516cde5c6cb36dbd4f43de6f0d1d5222b7 files/0.6.0-r5/record-50-noad.sh 1280
-AUX 0.6.0-r7/confd_vdraddon.noad 1377 RMD160 1cbcb6f5a3c6307a0b7516e22072ce905ebd81c6 SHA1 84dd50b71c1df38be217d8b469d0a2f7cd7636b0 SHA256 13e4ef0ef59c2a6138c55be359eaed876991fef0f5fe664597ea815686a1e854
-MD5 71d60871f0b4d66591abeb939e2bd4f4 files/0.6.0-r7/confd_vdraddon.noad 1377
-RMD160 1cbcb6f5a3c6307a0b7516e22072ce905ebd81c6 files/0.6.0-r7/confd_vdraddon.noad 1377
-SHA256 13e4ef0ef59c2a6138c55be359eaed876991fef0f5fe664597ea815686a1e854 files/0.6.0-r7/confd_vdraddon.noad 1377
+AUX 0.6.0-r7/confd_vdraddon.noad 1443 RMD160 aa1dd8349139cb1aebfb06a759e57370ca6bf1e8 SHA1 5b2d15efa42a366b89a6ab6271f94618cad3c194 SHA256 6a1728d5b27f7964d0032f1f522f7057d8a5ebd8d6b542ad85fb4fc924b2308d
+MD5 77aaa5a9c3c46b17fcdc43d34f65b073 files/0.6.0-r7/confd_vdraddon.noad 1443
+RMD160 aa1dd8349139cb1aebfb06a759e57370ca6bf1e8 files/0.6.0-r7/confd_vdraddon.noad 1443
+SHA256 6a1728d5b27f7964d0032f1f522f7057d8a5ebd8d6b542ad85fb4fc924b2308d files/0.6.0-r7/confd_vdraddon.noad 1443
 AUX 0.6.0-r7/noad-reccmd 152 RMD160 b30fdf88b2ed0547f14a9ba163fba0a05c368ff2 SHA1 c2e493a3c5fbfeb385e7986ff68a47909c42b9a9 SHA256 4d25751987bb50677eb3909d23a3c820bbd8aeaef4aac383baff855082dab7c0
 MD5 6ed00f1a29658d3d9525a7fc5edff6f6 files/0.6.0-r7/noad-reccmd 152
 RMD160 b30fdf88b2ed0547f14a9ba163fba0a05c368ff2 files/0.6.0-r7/noad-reccmd 152
@@ -45,10 +45,10 @@ AUX 0.6.0-r7/reccmds.noad.conf 61 RMD160 c62bdb45da8ae9aabfbd7a688f4600a5af04397
 MD5 4524974857d07e15856410a1001a2817 files/0.6.0-r7/reccmds.noad.conf 61
 RMD160 c62bdb45da8ae9aabfbd7a688f4600a5af04397f files/0.6.0-r7/reccmds.noad.conf 61
 SHA256 41dbc62f88429710b92f6d7cc45c49a967ae1376fc01b5b485b51f7e077ed20d files/0.6.0-r7/reccmds.noad.conf 61
-AUX 0.6.0-r7/record-50-noad.sh 1484 RMD160 7b4b5785a4e5eef5c878b33275678eaf99cc15b6 SHA1 d1c1b738e9a31df41a9c64c6a3f60862a3ca36ce SHA256 f54755dc116f3a9a2da7fdbd7c4fa47bea269bf6d847b032027b6114009a4dbe
-MD5 836d0353e0416c2b1afbb2182111d5a3 files/0.6.0-r7/record-50-noad.sh 1484
-RMD160 7b4b5785a4e5eef5c878b33275678eaf99cc15b6 files/0.6.0-r7/record-50-noad.sh 1484
-SHA256 f54755dc116f3a9a2da7fdbd7c4fa47bea269bf6d847b032027b6114009a4dbe files/0.6.0-r7/record-50-noad.sh 1484
+AUX 0.6.0-r7/record-50-noad.sh 1576 RMD160 9410f948702b0004a05ddb190d3cdde98ca43d10 SHA1 47f7b303acb7c5ef7c671cc48f9d9567ec4342b4 SHA256 795109f02b102bb35504f3a413718e33f3a145c8d8808f26e2a37216807c0196
+MD5 7e7971e09ac67c380542d40918f323b7 files/0.6.0-r7/record-50-noad.sh 1576
+RMD160 9410f948702b0004a05ddb190d3cdde98ca43d10 files/0.6.0-r7/record-50-noad.sh 1576
+SHA256 795109f02b102bb35504f3a413718e33f3a145c8d8808f26e2a37216807c0196 files/0.6.0-r7/record-50-noad.sh 1576
 AUX noad-0.6.0-as-needed.diff 978 RMD160 d6c74670793b76f5cc9f3ea740b001a9034c5b2a SHA1 83885096cfe13c28912fe69afd9d708f9e22caf4 SHA256 a4f8cbdeeba303ab659bafc75f5d622b1ceec6945d3c35e4f0c559d3504e8ed9
 MD5 b2af6d077e29ad03e2d5ce1c8b36ec04 files/noad-0.6.0-as-needed.diff 978
 RMD160 d6c74670793b76f5cc9f3ea740b001a9034c5b2a files/noad-0.6.0-as-needed.diff 978
@@ -106,10 +106,10 @@ EBUILD noad-0.6.0-r7.ebuild 2105 RMD160 390195d02119403cf990e6f79b88df0beed36e90
 MD5 dd476e74c3c5da6d83c04a61c27d87dd noad-0.6.0-r7.ebuild 2105
 RMD160 390195d02119403cf990e6f79b88df0beed36e90 noad-0.6.0-r7.ebuild 2105
 SHA256 69dd252e3516bffeca1716d39211062f958573d5f07ff86331aa6630323c60e5 noad-0.6.0-r7.ebuild 2105
-MISC ChangeLog 3387 RMD160 5387ffacc51de7fe6667c8a44991642294ce14c1 SHA1 6408fe04377f6d8ec4ceb9634c01934df986cb02 SHA256 ea94ba1f7a119a8aaaf744fcf2effd14dcc536c72f16250833d70367f325a30c
-MD5 fe87638f52459a1e2a3b5bafb3695427 ChangeLog 3387
-RMD160 5387ffacc51de7fe6667c8a44991642294ce14c1 ChangeLog 3387
-SHA256 ea94ba1f7a119a8aaaf744fcf2effd14dcc536c72f16250833d70367f325a30c ChangeLog 3387
+MISC ChangeLog 3571 RMD160 47876d16107c1691c72f8f55e41eee00158378db SHA1 2c6abf88a8c5aebf244ee2d0f6d748e92c93ded6 SHA256 979b6d588f39e1ee6f796ce4fc3c06d3f71b10bdc88986536c4658841ff48355
+MD5 cf974ab93bb5bb6a199b4c35b16cf571 ChangeLog 3571
+RMD160 47876d16107c1691c72f8f55e41eee00158378db ChangeLog 3571
+SHA256 979b6d588f39e1ee6f796ce4fc3c06d3f71b10bdc88986536c4658841ff48355 ChangeLog 3571
 MISC metadata.xml 345 RMD160 40fa5fcd3946fb26c10efadbe084eb5f56607153 SHA1 01fde850e9581b6a2ccdb95b24d90a1a0511417f SHA256 a6ecd52a0597c34de4d3aa2dd428d3fcbc760e35ef9daa31d6c2d911d55bead4
 MD5 0dac6cdf92af4c49732fb6ac660b2132 metadata.xml 345
 RMD160 40fa5fcd3946fb26c10efadbe084eb5f56607153 metadata.xml 345
@@ -132,7 +132,7 @@ SHA256 57903a89cf74860cf7d8e58b307d50def06a591c47a6b947506fe1fef60791c7 files/di
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFFlCLEt2vP6XvVdOcRAvzCAKC1cDn5eFspXuMQHLpZVewk5oVbaACfbH7z
-s7b4aqhzvP6EMoBmxINJDyc=
-=TeNq
+iD8DBQFFlDCMt2vP6XvVdOcRAvGHAJsGRfTCVGCP9GiegsW0gtcNnbsR0gCfd899
+5wCj6tRjCGT15EQZCgrpjUw=
+=t9xk
 -----END PGP SIGNATURE-----
index 6cb3d80d7719b232f1a458c859328338da14a394..b5e44f76c8ba7e8cb38bc8b1d39364aa21968e88 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r7/confd_vdraddon.noad,v 1.1 2006/12/28 20:02:01 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r7/confd_vdraddon.noad,v 1.2 2006/12/28 21:00:47 zzam Exp $
 
 #########
 ##
@@ -20,10 +20,11 @@ VDR_USE_NOAD="yes"
 #
 NOAD_ONLINE="no"
 
-##     start noad with nice
+##     Use this nice-level when running noad / or no-niceness
 #      available Parameter
-#      yes | no
-NOAD_NICE="yes"
+#      no | 0 ... 19
+#NOAD_NICE_LEVEL="no"
+NOAD_NICE_LEVEL="18"
 
 ##     use ac3 detection
 #      available Parameter
index da1847ca31a5f076bcdb638480658de4b83a63d9..51cd0b68f0daddffb240aaa4f32b2bb854dd8d3e 100644 (file)
@@ -1,4 +1,4 @@
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r7/record-50-noad.sh,v 1.1 2006/12/28 20:02:01 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r7/record-50-noad.sh,v 1.2 2006/12/28 21:00:47 zzam Exp $
 #
 # Joerg Bornkessel <hd_brummy@gentoo.org>
 # Mathias Schwarzott <zzam@gentoo.org>
@@ -56,8 +56,10 @@ fi
 [[ "${NOAD_OVERLAP}" == "yes" ]] && CMD="${CMD} -o"
 [[ "${NOAD_MESSAGES}" == "yes" ]] && CMD="${CMD} -O"
 
-if [[ ${NOAD_NICE} == yes ]]; then
-       CMD="nice ${CMD}"
+: ${NOAD_NICE_LEVEL:=18}
+if [[ ${NOAD_NICE_LEVEL} != no ]]; then
+       NOAD_NICE_LEVEL=$((NOAD_NICE_LEVEL+0))
+       CMD="nice -n ${NOAD_NICE_LEVEL} ${CMD}"
 fi
 
 CMD="${CMD} ${NOAD_PARAMETER}"