I hope you do try it Russell, if you run into hiccups feel free to reach out. But after watching some your videos I am confident you can pull this mod off in under 10 minutes. As far as the few questions, I have it running in two different ways on 2 different servers.

Server #1 the script runs every 30 seconds by a cron job and the files are synced to Google Drive, not even hosted on the node server. Since my Drive account has 500GB of space I don't really need to think about deleting anything.
Server #2 the script runs on command only. I run an MQTT server on the host and a simple button on my phone to send an MQTT message. When the message trips from 0 (false) to 1 (true) the bash script executes for one run.

If you are on a system that you are concerned with file space you could periodically (daily even) run a script that will purge any .mp3 file in said directory that is beyond XX days old. So in bash form it would look something like this with 21 being the day count, feel free to modify that number:

#!/bin/bash
find /var/www/html/library/ -type f -mtime +21 -name '*.mp3' -execdir rm -- '{}' \;
done

On Tue, Jul 9, 2019 at 5:33 AM Russell Thomas <russell@kv4s.com> wrote:
I watched this today and I might give it a shot.
I'm assuming you just setup a crontab schedule to kick off the script?

Also, do we need a delete script to remove them if the MP3s are older than a month or week.

73,
Russell Thomas, KV4S
DMR TG: 240218 | YSF: US KV4S | D-STAR: XRF334R
Allstar: 47923 | IRLP: 4535 | EchoLink: KV4S-L
Web: http://KV4S.com

On Mon, Jul 8, 2019, 2:57 AM Joshua Nulton <kg5ebi@gmail.com> 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.

YouTube link: https://youtu.be/SnOBoF85k0k

The process requires the installation of 4 packages.
  1. Apache2 (most likely have this installed already)
  2. rsync (very small, lightweight and reliable)
  3. ffmpeg to convert the audio
  4. 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:

sudo -s
apt update
apt-get install apache2
apt-get install rsync
apt-get install ffmpeg
apt-get install lame
mkdir /var/www/html/library

Enjoy and if you have any questions, please post them on the official Allstar Community forum here: https://community.allstarlink.org/
73's
Jae   KG5EBI
_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.