We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
regismaltais
8 years agoNew member | Level 2
Looking to synchronize files between multiple devices with Kodi
Hi,
I had done some kodi addon development in the past
I want to help a friend to make this kind of addons:
He will like to make a service that synchronize favorites, video restore point, playlist, iptv and epg files among many devices he own.
In the config of the service, he will determine which device will be the master ( to send the files) or the slave (receive the file).
The service of kodi will store on a "cloud" ideally all the master files of a user.
By example, a PC will contain the master for the favorites and a tablet will contain the master for the playlist
The synch of the files will be done when you launch kodi on a device, so the Dropbox will be read and the devices will receives all the master files at once.
The goal is to make sure that all the devices contain the last version of their master file among them
I will like a solution like Dropbox, because it would more flexible more specifically with video restore point.
The user by example can watch a movie then stop it, the next day, he continues at the same restore point on his phone and at lunch time he can continue with wifi and finish when at home, on the android tv box
I will program it with Python 2.7
I need a bit of help to make this happen.
1 Reply
- Greg-DB8 years ago
Dropbox Community Moderator
Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here:
https://www.dropbox.com/developers
For Python in particular, we recommend using the official Dropbox API v2 Python SDK:
https://github.com/dropbox/dropbox-sdk-python
There's an example app that shows how to upload and download files here:
https://github.com/dropbox/dropbox-sdk-python/blob/master/example/updown.py
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!