NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

Add ability to control what is exported/imported

Open MD77MD opened this issue 5 years ago • 10 comments

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:

  • channels
  • feeds
  • home tabs
  • playlists
  • channel groups
  • history and watch position
  • search history
  • settings

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 avatar Aug 04 '20 12:08 MD77MD

This would solve #3505 as well

MD77MD avatar Aug 04 '20 13:08 MD77MD

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.

opusforlife2 avatar Aug 04 '20 14:08 opusforlife2

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

Stypox avatar Aug 04 '20 14:08 Stypox

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.

opusforlife2 avatar Aug 04 '20 14:08 opusforlife2

@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

MD77MD avatar Aug 04 '20 15:08 MD77MD

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!

thiswillbeyourgithub avatar Aug 09 '20 22:08 thiswillbeyourgithub

@thiswillbeyourgithub check out #3157

Stypox avatar Aug 12 '20 11:08 Stypox

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

opusforlife2 avatar Aug 12 '20 11:08 opusforlife2

Also see #4144.

opusforlife2 avatar Aug 17 '20 10:08 opusforlife2

Yes please finally 🙌❤️

tracure1337 avatar Mar 08 '21 14:03 tracure1337

It would be great if the export/import feature, also had the capability to export to browser readable HTML file, that is compatible with browsers export/import features.

Why?:

  • Because if NewPipe ever go rogue, then one can have the peace of mind, that they can just import the bookmarks in a browser.
  • One can move the bookmarks to a non-NewPipe compatible platform.
  • The ability to keep NewPipe bookmarks on a USB, and spin them up on ANY device with a HTML viewer.
  • There is a lot greater chance that one have a browser by hand, then an full blown database editor, as if one isnt editing DBs, chances are small that one have a DB viewer. One could have a DB viewer, without being and editor, but you might understand my point with theorethical chance.
  • If one want to have less apps on a device, but one have used NewPipe a lot, and have a stock pile of Bookmarks, then one can't export the bookmarks to a browser, and are forced to keep NewPipe installed, even if one don't want to.
  • If NewPipe ever brake compatibily between updates, an export to a HTML file could be a last resource save to continue with an old database of bookmarks.

Here is an example of how the HTML bookmarks layers could be organized, for import to a browser.

Level-1 folder: [NewPipe] // Place holder for app name that exported the bookmarks.

Level-2 folder under [NewPipe]: [PlayListName] // Place holder for playlist name

Level-3 List under [PlayListName]: [VideoName] // Place holder for video name

qwirl avatar Apr 03 '25 17:04 qwirl