Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Dump only DWRO named image files #295

Open
duracell80 opened this issue Feb 15, 2023 · 0 comments
Open

Feature Request: Dump only DWRO named image files #295

duracell80 opened this issue Feb 15, 2023 · 0 comments

Comments

@duracell80
Copy link

duracell80 commented Feb 15, 2023

It would be very helpful to reduce the number of writes to an SSD drive when using the --dump-aas-files flag. Excluding station graphics, album art and traffic would really help clean up the directory. The weather radar images are updated roughly every 10 minutes OTA but get overwritten a few times in that time. Same for traffic, if there was a way to filter and dump only the files needed that would really help.

A selective filter:

  • Traffic + Weather Only
  • Weather Only
  • Traffic Only
  • Station Graphics Only
  • All

An example of the filename I see for radar:
1569_DWRO_******_rev03_20230215_2200_0621.png

Here I'm dumping the files and sending the audio output to null.

$DIR_BASE=/tmp/nrsc5
$DEV=0
$BAND=0
$FREQUENCY=107.5

nrsc5 -o - -d $DEV_IDEX -q --dump-aas-files $DIR_BASE $FREQUENCY $BAND > /dev/null 2>&1 &

I can then collect the overlays from the /tmp/nrsc5 directory into my home and into an animation video or gif with ffmpeg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants