TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.64k stars 3.08k forks source link

Add ability to control what is exported/imported #4076

Open MD77MD opened 4 years ago

MD77MD commented 4 years ago

Describe the feature you want

The ability to export/import groups separate from settings. the ability to control what is exported and imported between multiple devices

Is your feature request related to a problem? Please describe it

I have multiple devices with different settings depending on their usage (phone settings are different than TV settings). Take subscriptions and groups for an example: subscriptions are easily exported and imported. however groups can only be imported/exported with settings.

Additional context

I would suggest a master export/import file, then we can control what is exported/imported via checkboxes, with 'merge' and 'replace' options:

checkbox for:

How will you/everyone benefit from this feature?

It would make exporting and importing between multiple devices a lot easier for everyone. and eliminate the need to redo settings on each device every time groups are updated lol

this is also useful for testing newPipe builds that might have new or conflicting options in settings

MD77MD commented 4 years ago

This would solve #3505 as well

opusforlife2 commented 4 years ago

eliminate the need to redo settings on each device every time groups are updated lol

Indeed. XD

Though now that I think about it, for debug apks and breaking changes between releases, the stuff that has changed should be greyed out so it isn't accidentally imported, leaving the user/tester with a broken Newpipe. Which means, every checkbox should have a version. Version bump would mean breaking change and hence greyed out checkbox.

Stypox commented 4 years ago

@opusforlife2 that's already taken care of with database migrations. The recent issues should not have happened ;-)

opusforlife2 commented 4 years ago

Well, a safety net like this would have prevented those issues, I think. If something like this is too tedious to maintain, then no problem.

MD77MD commented 4 years ago

@opusforlife2 @Stypox example: device A: tv playlists device B: phone playlists + groups

issue: importing form A to B = lose B groups importing from B to A = lose A playlists

ideal: importing from A to B = merge playlists + merge groups

This mean imported section should have merge or override options

This way now matter how many devices you have you can export and import exactly what you want

no more being forced to choose between shareing you history to the living room TV or losing your playlists and groups

thiswillbeyourgithub commented 4 years ago

Hi,

not entirely related but not sure this deserves a whole thread.

There's a feature I've been needing for some time. I have a periodic sync between two folders (one on my phone and one on my desktop computer) and I use it to not have to worry about backing up anymore. My subscription list is unvaluable to me but it's a bit annoying to have to open the app to backup the content.

So do you think it would be possible to add a periodic backup feature to newpipe? Or a way to backup from the command line or something?

Thanks for reading!

Stypox commented 4 years ago

@thiswillbeyourgithub check out #3157

opusforlife2 commented 4 years ago

I already mentioned the user there, to avoid linking this unrelated issue to that PR. XD

opusforlife2 commented 4 years ago

Also see #4144.

cocoonkid commented 3 years ago

Yes please finally 🙌❤️