Replies: 4 comments
-
If you're using sqlite as your database, you can use the writeFile function to write out the files from the rdioScannerCalls table in the database, such as by running the following on the command line:
Change the |
Beta Was this translation helpful? Give feedback.
-
Thanks for replying. I've never used SQLite before, so I downloaded the precompiled command line tools from sqlite.org. When I first tried running the command you suggested it gave an error because the name of the database file I have is rdio-scanner.db. After changing it to that it appears to accept the command, but nothing happens. If you have any further suggestions, I'd be glad to hear them. Thanks again for your help. |
Beta Was this translation helpful? Give feedback.
-
Oops, I typed the wrong filename for the database. rdio-scanner.db is the correct one. As for nothing happening. When I run the command above, it prints out a number (or several numbers if I tell it to dump more than once call), which is the size of the file written in bytes, and I end up with an additional file in the current directory:
Try running sqlite without any commands and exploring the database:
I'm betting the issue is somewhere in the first parameter to writefile that generates a filename to be written. I did try to format the date using strftime and wasn't able to get it to work immediately. When it broke I got the same issue as you - no output. Maybe try manually specifying a filename with something like |
Beta Was this translation helpful? Give feedback.
-
When I specify a filename it saves the file and is playable. I tried removing datetime from the parameters and that also works. So the datetime seems to be the culprit. Is there some other way to generate a unique filename? Thanks again for your help! |
Beta Was this translation helpful? Give feedback.
-
Is there some way to extract multiple audio files from the database directly? There was some bad weather in my area yesterday and I would like to keep a copy of all the transmissions but there are over 2,000 of them and doing it one at a time through the web client would be too much of a pain.
Beta Was this translation helpful? Give feedback.
All reactions