Bazı kanalara zap yaptıgınızda ses seviyesi birden yukseliyor bu canınızı sıkıyorsa o kanallar ozel ses seviyesi atayabilirsiniz
bos bir dosya acın ismine .sh verin ornek volume.sh
icine
#!/bin/sh
wget -q -O - [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] >> /tmp/sid.log
chmod a+x /tmp/sid.log
if grep -qs '<e2sid>23</e2sid>' cat /tmp/sid.log ; then
wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
fi
rm -rf /tmp/sid.log
sleep 2
bunu yapıstırın ama 30 kez cunku bu scripti calıstırabilmek icin crond gerekiyor crond ta saniye ayarı olmadıgı icin 1 dakika diyecegiz
1 dk sonra sesi degistirmesi anlamsız olacagı icin aradaki boslugu script ile dolduruyoruz yani aynı komutu 2 saniyede bir calıstırıyor olacak
exit 0
ile scripti kapatabilirsiniz
acıklaması
wget -q -O - [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] >> /tmp/sid.log
kanal bilgelerini tmp icinde sid.log dosyasına kaydediyor
if grep -qs '<e2sid>23</e2sid>' cat /tmp/sid.log ; then
komutu tmp icindeki sid.log dosyasını oku eger decimal sid degeri 23 ise
bu komutu ver
wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
buradaki set 77 ses seviyesi yani volume 44
normalde volume 50 izliyorken euronews tr gecince volume 70 oluyorsa bu ayarla sadece o kanalda sesi istediginiz gibi otomatik kısmıs olabilirsiniz
aslında volume kacsa tum kanallarda aynı seviyede tutulan bir script yapılsa reklamda ses yukselir yukselmez dusurulse super olur ama bu scriptle olmaz donanımsal olarak cihazdan cıkan sesi kontrol edecek bir cihaz ile olur
bizim copluk tv ler her reklamda bangır bangır bagırdıgı icin bu bir ihtiyac elektronikle ugrasan arkadaslar bence bu konuya kafa yorsunlar iyi talep olur
Paylaş