TeamNewPipe / NewPipe

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

Add ability to synchronize data with freetube #3249

Open BeatLink opened 4 years ago

BeatLink commented 4 years ago

Describe the solution you'd like

Could there be a way to synchronize data with freetube? I know the import, export system works but i wanted a solution where changing one updated the other. The easiest way i can see to implement this is to develop a filesystem based storage application that can be synced with applications like syncthing or nextcloud. Then freetube, and possibly other app developers could implement the storage backend for their apps

How will you/everyone benefit from this feature?

By allowing it to work with other applications it will help to develop a better software ecosystem to rival youtube and bring in more users, which could mean more support, more contributions and more developer manpower.

pawlosck commented 4 years ago

Is there any chance to add this feature? Author of FreeTube can add this feature after rewriting app to new framework.

Part of comment from Freetube project


If it's something that the NewPipe team would like to be involved in then they are more than welcome to be.


https://github.com/FreeTubeApp/FreeTube-Vue/issues/147

BeatLink commented 4 years ago

A more elegant solution would be to add synchronization to invidious accounts and get freetube to do the same

pawlosck commented 4 years ago

New version of Freetube will be use local backend to support Youtube, so it's not good idea. Beside, invidious is horrible slowly and doesn't support some resolutions like 4K. Previous version of Freetube uses invidious and a lot of movies can't be opened or opening is very slowly.

Most of users uses apps like NewPipe or Freetube to don't create any accounts, so creating accounts to synchronise settings is not good idea. My idea is good, because new apps could be added without any modifications of current apps. You can choice any sync app.

Of course, other users can propose other solution, but I think, my solution is the most universal, but it's not the best.

fourstepper commented 4 years ago

I would also love some sort of synchronization between the NewPipe app and another desktop client, be that even manual sync via a sevive such as Syncthing

natema commented 3 years ago

Issue #1281 appears related. There, the possibility to support synchronization via WebDAV is being discussed.

fourstepper commented 3 years ago

seems like it, thanks @natema

therealrobster commented 1 year ago

Just checking in to see if there's been any talk with the Freetube people on this? I'd like to contribute, but not sure if my skills are high enough?

opusforlife2 commented 1 year ago

You can follow UniversalPipeWrench/unified-user-data-format#1.

opathofer commented 7 months ago

I have a quick-fix for this for windows computers, unfortunately semi-automatic, but better then manually ex/importing 4 files each time in the GUI:

the following oneliner should backup and restore the nominal environment, just make sure that both instances have the same version and that the instance backed-up or restored is closed

pre-requisite that your cloude software (in this instance OneDrive) has an appropriate directory (in this case \Interrests\Freetube\Freetube)

Backup: robocopy %UserProfile%\AppData\Roaming\FreeTube %OneDrive%\Interrests\Freetube\Freetube /MIR /NDL /r:0 /w:0

Restore: robocopy %OneDrive%\Interrests\Freetube\Freetube %UserProfile%\AppData\Roaming\FreeTube /MIR /NDL /r:0 /w:0

So once I finished watching on my living room PC i closed down FreeTube, execute Backup, and then on my work-PC or Laptop I Restore. I use the same scripts (which are on OneDrive as well to return the favour after I am finished there.