Posts: 92
Threads: 34
Joined: Sep 2019
Reputation:
0
10-06-2019, 07:54 PM
(This post was last modified: 11-19-2019, 09:16 AM by vikozo.)
Hello
i would like to know if the Volume my be changed by
mpc volume 60
i just ask because in my case it is not working.
have a nice day
vinc
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Raspberry Pi3B+ --> HiFiBerry AMP2 --> Visaton FRS 8 30W 4Ω
Posts: 13,421
Threads: 304
Joined: Mar 2018
Reputation:
545
Do you mean the volume knob is not updating or the volume itself is not changing?
If you want the volume to change AND the knob to update then use vol.sh
pi@rp2:~ $ /var/www/vol.sh --help
Usage: vol.sh [OPTION] [VOLUME]
Change the volume and update the knob.
With no OPTION or VOLUME, print the current volume.
With just VOLUME, set current volume to VOLUME.
-up VOLUME value between 1 and 100
-dn VOLUME value between 1 and 100
-mute mute or unmute the volume
-restore set volume to current knob level
--version print the program version
--help print this help text
Posts: 92
Threads: 34
Joined: Sep 2019
Reputation:
0
Hello Tim
thanks for your feedback if i do a
$ /var/www/vol.sh 60
$ /var/www/vol.sh 90
it works if i do add it in a crontab like
15 19 * * * /var/www/vol.sh 60
20 19 * * * /var/www/vol.sh 85
25 19 * * * /var/www/vol.sh 60
30 19 * * * /var/www/vol.sh 85
35 19 * * * /var/www/vol.sh 60
and doing a
service cron reload
did not work
any idea whats wrong?
have a nice day
vinc
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Raspberry Pi3B+ --> HiFiBerry AMP2 --> Visaton FRS 8 30W 4Ω
Posts: 499
Threads: 14
Joined: Oct 2018
Reputation:
17
10-31-2019, 10:10 AM
(This post was last modified: 10-31-2019, 10:12 AM by TookaFace.)
Cron is disabled by default in moOde
You could enable cron with sudo systemctl enable cron or using systemd-timer instead.
Posts: 92
Threads: 34
Joined: Sep 2019
Reputation:
0
11-19-2019, 09:15 AM
(This post was last modified: 11-19-2019, 09:17 AM by vikozo.)
Hello @
TookaFace
Cron is working by default on my Pi
I did Put the Command into a bashfile - and with Cron just call up the file itself it works to me know.
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Raspberry Pi3B+ --> HiFiBerry AMP2 --> Visaton FRS 8 30W 4Ω