chuot / rdio-scanner

Rdio Scanner is an open source software that ingest and distribute audio files generated by various software-defined radio recorders. Its interface tries to reproduce the user experience of a real police scanner, while adding its own touch.
GNU General Public License v3.0
422 stars 60 forks source link

dirwatch not reading correctly #235

Closed kb2ear closed 2 years ago

kb2ear commented 2 years ago

I have a dirwatch that has filenames formatted like 20220710212553.WAV I have the extension set to WAV and the mask set to #DATE#TIME But all recording are being imported with a 12/31 date and 19:03 time. They are being deleted every hour by the pruning.

This setup works in 5.2.9. but no 6.5.1

Jul 10 21:37:53 repeater Rdio Scanner master[17288]: 2022/07/10 21:37:53 newcall: system=42702 talkgroup=27089 file=20220710213727.m4a success
chuot commented 2 years ago

I'm surprised it was working with v5.2.9 because it is the same exact regexp I'm using in the lataest v6. Anyway, I tried and indeed it isn't working. I will change the regexp to take your filename format into account, without breaking things for others.

chuot commented 2 years ago

@kb2ear please test with v6.5.2, which is just out, and close the issue accordingly.

kb2ear commented 2 years ago

looks like it's working