kpreid / shinysdr

Software-defined radio receiver application built on GNU Radio with a web-based UI and plugins. In development, usable but incomplete. Compatible with RTL-SDR.
https://shinysdr.switchb.org/
GNU General Public License v3.0
1.07k stars 115 forks source link

Frequency database doesn't always load fully #127

Open kpreid opened 5 years ago

kpreid commented 5 years ago

Sometimes some frequency databases' content is missing in the spectrum view, and reloading helps.

I haven't dug into this yet, but it probably has to do with JS database objects' change notifications.

mathisono commented 5 years ago

I noticed that a reload clears it up!

But only to find out that new database entrys are not retained after i kill the program. After adding a few entrys for aprs and ATC, they are gone!? I havent chased down the bug. when we add a new entry in the web ui, is it amending one of the db or starting a new one?

kpreid commented 5 years ago

@mathisono To get entries saved, you need to config.databases.add_writable_database as described in the manual. However, you made me notice that this is a terrible new user experience, so I'll look into fixing that (#129).