Re: Recording your QSO's as an MP3 file
toggle quoted messageShow quoted text
Wow..thanks for the tips. The android ssh or cron methods seem to be the most practical for me. Going into the cloud server console and running the script whever i want to load up the library seems like too much. I will attempt to read up on the cron solution as that is automated. I wonder if you can set the interval beyond 60 seconds....seems like 300 seconds or 600 seconds would be better.
Thanks for the helpful video and followup ideas.
Mark 4x1ks / ku4m
On Tue, Jul 23, 2019, 00:58 Joshua Nulton <kg5ebi@...
My DMR work is considerably more automated but that involves databases and tons more programming beyond simple scripting. My primary Allstar node is also in the cloud. For that node I simply run the command on demand using something such as SSH button on an Android device.
Press the button on the phone, the SSH command of "sudo bash /home/repeater/moveconvert.sh" will execute. Another thing you could do easily is to setup a cron job to execute the moveconvert.sh script every 60 seconds automatically. A third thing you could do is add a couple lines at the end of the script, one line of sleep 60 and the final line to say sudo bash /home/repeater/moveconvert.sh which would start the script again after sleeping 60 seconds. The final option is really only good for testing as once you close that terminal session the script essentially is killed as well.
For true automation look toward cron. For just simple manual processing use an Android to SSH command option.
If you need help, I would be happy to offer it.
Hopefully I can get a tip on this issue.
I ran the moveconvert.sh script...did the install etc. according to the nice video.
It works fine, except that my node is running on a cloud server and in order to get the latest audio files I have to actually run bash moveconvert.sh manually. That means I have to go into the /home/repeater directory and then type sudo bash moveconvert.sh every time I want to add the latest audio *.wav files to my library. It does not happen automatically.
Is there a fix so that I don't have to run the script every time I want to add the latest wav files to the library?
thanks for the help
Mark 4x1ks / ku4m
On Mon, Jul 8, 2019 at 1:09 PM Joshua Nulton <kg5ebi@...
My mistake Steve, feel free to remove the post.
On Mon, Jul 8, 2019 at 5:07 AM Steve N4IRS <szingman@...
To be clear, this subgroup is intended for discussion of interfacing
with AllStarlink, not general ASL support. Since you are already
posting in the general ASL user list, that should be sufficient.
73, Steve N4IRS
On 7/8/19 3:56 AM, Joshua Nulton wrote:
I have put together a <15
minute tutorial on everything needed to record the QSO's on your
Allstar node, move them to an internet accessible web folder and
convert them from large .WAV files (the compression used is not
all that bad really) into manageable .MP3 files that will play
back simply through your browser.
The process requires the installation of 4 packages.
- Apache2 (most likely have this installed already)
- rsync (very small, lightweight and reliable)
- ffmpeg to convert the audio
- lame encoder to convert to mp3 codec
Installation and configuration of everything is
demonstrated in the YouTube tutorial video. If you don't
want to type out the bash script it can be downloaded here:
The software mentioned above will still need installed as
per video instructions. Quick overview is here:
apt-get install apache2
apt-get install rsync
apt-get install ffmpeg
apt-get install lame
Join allstarlink@DVSwitch.groups.io to automatically receive all group messages.