polymorphicshade / Tubular

A fork of NewPipe that implements SponsorBlock and ReturnYouTubeDislike.
GNU General Public License v3.0
1.54k stars 40 forks source link

Question about data import export etc. #1

Closed hetszunyukapanyanyimonyok closed 8 months ago

hetszunyukapanyanyimonyok commented 8 months ago

Hello @poymorphicshade!

I am glad to see your new project. I have read the last discussion about the Tublar project and I read that there will be special options like filter keywords, channels etc.

Will you keep this Tublar specific data separate from newpipe data or will it be in the same file? Will the new backed up files incompatible with other New pipe versions? What is the plan?

Thank you for your time in this project!

polymorphicshade commented 8 months ago

Old and new stuff will go in the same database file.

NewPipe and Tubular are separate apps, so anything in Tubular won't mess with anything in NewPipe.

hetszunyukapanyanyimonyok commented 8 months ago

Sorry maybe I was not clear enough.(my bad) I do understand what you mean. In this cease if I export Tublar database(with filter data etc) can I use it in New pipe or will it cause an issue?

polymorphicshade commented 8 months ago

Oh! I'm not sure... as long as I don't touch the existing NewPipe tables then I think it will work.

Tokopah commented 8 months ago

Ive been unable to import my data from the previous fork of newpipe sponsorblock. Causes the app to crash.

hetszunyukapanyanyimonyok commented 8 months ago

@Tokopah @polymorphicshade Wrote in an other forum that there is a bug and he will fix it in next release.

paulverbeke commented 6 months ago

Hi @polymorphicshade, I'm trying to import my Tubular 0.26.1_r3 export to NewPipe 0.26.1 and Newpipe crashes. "A migration from 8 to 7 was required but not found". Looks like the backup format was altered. Do you think it would possible to have an cross compatible backup ? Thanks a lot

polymorphicshade commented 6 months ago

Hi @polymorphicshade, I'm trying to import my Tubular 0.26.1_r3 export to NewPipe 0.26.1 and Newpipe crashes. "A migration from 8 to 7 was required but not found". Looks like the backup format was altered. Do you think it would possible to have an cross compatible backup ? Thanks a lot

Tubular's database schema is different compared to vanilla NewPipe's database schema, so importing won't work.

Feel free to make a new feature request about exporting the database for backwards-compatibility, but I doubt I'll get to it any time soon.

paulverbeke commented 6 months ago

all right, thanks for the update. It would have been nice to know that I can't go back to vanilla before I used Tubular so extensively. Maybe we could add a warning in the readme for the next people that want to go back ?

polymorphicshade commented 6 months ago

all right, thanks for the update. It would have been nice to know that I can't go back to vanilla before I used Tubular so extensively. Maybe we could add a warning in the readme for the next people that want to go back ?

Good idea!

Also, you can probably fix the database yourself by using any standard sqlite editor. If you change the db version back to 7 and delete the SponsorBlock-specific tables, I think it will work.

paulverbeke commented 6 months ago

thanks good to know

paulverbeke commented 6 months ago

looks harder than originally thought. I dropped sponsorblock_whitelist table, then changed the pragma user version to 7 but still got an error during import "looks like you've changed schema but forgot to update the version number". I don't like beeing blocked on Tubular. @polymorphicshade could you help me get it working ?

paulverbeke commented 5 months ago

can confirm that with v0.27 you can now export Tubular database and import it to Newpipe perfectly ! Thanks @polymorphicshade