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

Location of config files? #249

Closed
1 of 5 tasks
cyberwolfie1 opened this issue Nov 5, 2023 · 3 comments
Closed
1 of 5 tasks

Location of config files? #249

cyberwolfie1 opened this issue Nov 5, 2023 · 3 comments
Labels
question Further information is requested

Comments

@cyberwolfie1
Copy link

Important note
Please check other open and closed issues for a similar question before posting a new one.
-> I could not find a similar issue.

Topic
Please select what topic you are referring to.

  • Coding
  • Contribution
  • Languages
  • Setup
  • Other. Please specify:
    Data location

Question
I am hoping to set up SyncThing to synchronize between FreeTube Cordova on my Android device and FreeTube on my laptop. On Linux, the history.db, playlists.db and profiles.db are by default located in ~/.config/FreeTube. I am unable to locate the same files on my Android device.

Is it possible, and where would I find it?

@cyberwolfie1 cyberwolfie1 added the question Further information is requested label Nov 5, 2023
@vdbhb59
Copy link

vdbhb59 commented Nov 6, 2023

AFAIK, these should be located in the root data folder, /data/data or /data/apps. Not sure if this can be synchronised directly, but this is a valid question, as I am intrigued myself now.

@MarmadileManteater
Copy link
Owner

The cordova version of freetube is heavily based off the web version of freetube, and so, it currently does not write any db files to the file system unless you export them just like the web build.

Persistent files for settings, history, playlists and subscriptions is a feature I want to implement #152 , but I haven't done it yet because it requires toying with nedb. For electron, nedb can just fs.writeFile. Since node built-ins are not available in cordova, there would need to be some sort of abstraction layer between nedb and cordova.

@cyberwolfie1
Copy link
Author

Ok, I see. Consider this a +1 for #152 then :)

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

No branches or pull requests

3 participants