ErfanRht / MovieLab

An open source movie tracker and movie finder.
https://ErfanRht.github.io/MovieLab-Intro
Apache License 2.0
415 stars 92 forks source link

Import #16

Open Gottarocket opened 2 years ago

Gottarocket commented 2 years ago

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

Option to import from similar apps or service like tracktv

Describe the solution you'd like Option to import from service via their api or import json or csv

Describe alternatives you've considered

Sync like showly app or option to import other formats

Additional context Need export on app too

mondlicht-und-sterne commented 2 years ago

Import + Export

These two functions are really important. If an update doesn't work or you have to uninstall the app, all your data is gone, Therefore, it should be possible to export and re-import all the data entered (wathlist, history, collections, etc.).

ErfanRht commented 2 years ago

Yeah you guys are right, it's a necessary feature.

ErfanRht commented 2 years ago

It's been added in 2.0.6. Check it out!

Gottarocket commented 2 years ago

Appreciate import export option but my import request was related to import from other services like tracktv

ErfanRht commented 2 years ago

Appreciate import export option but my import request was related to import from other services like tracktv

I'm afraid I couldn't find a way to do that, can you share a method or documentation of how can that be done?

BrightDV commented 2 years ago

I've digged a little in Trakt API documentation. It seems possible, but you will have to implement OAuth (there are some packages available on pub.dev). For example, the request to get watched movies. Also, it returns the IMDb id of each movie/serie.

Gottarocket commented 2 years ago

If it can import just .txt with all show names and values its more than enough. There are scripts on github which can export it as csv too. So instead of exporting it as csv, it should be imported into app directly

ErfanRht commented 2 years ago

I've digged a little in Trakt API documentation. It seems possible, but you will have to implement OAuth (there are some packages available on pub.dev). For example, the request to get watched movies. Also, it returns the IMDb id of each movie/serie.

Thank you for your time, this is really helpful.

ErfanRht commented 2 years ago

If it can import just .txt with all show names and values its more than enough. There are scripts on github which can export it as csv too. So instead of exporting it as csv, it should be imported into app directly

To achieve that, we need some changes in the app structure and i hope it happens soon.