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: export track history #1202

Open
denilsonsa opened this issue Feb 23, 2024 · 1 comment
Open

Feature request: export track history #1202

denilsonsa opened this issue Feb 23, 2024 · 1 comment

Comments

@denilsonsa
Copy link

We currently have the option to export the list of favorite radios, and the history of recent radios. However, we cannot export the history of recent tracks.

In my case, there was an online radio with a selection of tracks that I enjoyed, but this radio is now gone. I'd like to export my track history to be able to find all my favorite tracks elsewhere.

If/when implemented, it could be exported as a simple CSV, TSV or JSON file.

@denilsonsa
Copy link
Author

denilsonsa commented Feb 24, 2024

Meanwhile, as a workaround, it is possible to manually create a data backup of the application, then extract the contents, and then use any SQLite tool to read/export the track_history table from apps/net.programmierecke.radiodroid2/db/radio_droid_database.

If you want to decode the station_uuid column, look at the JSON string text inside the <string name="favourites"> element inside the XML file apps/net.programmierecke.radiodroid2/sp/net.programmierecke.radiodroid2_preferences.xml. The following jq expression can be useful:

.[] | {stationuuid, name, homepage, url}

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

No branches or pull requests

1 participant