Cloudbox / autoscan

Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
MIT License
611 stars 53 forks source link

service-account.json #87

Closed xfouloux closed 3 years ago

xfouloux commented 3 years ago

Hi,

thanks for the tool ! coming from the old plex_autoscan,

what should be the format and keys of the file service-account.json ?

Thanks

timmehtimtims commented 3 years ago

The following has worked for me:

  1. go to your api project in google developer console and create a new service account
  2. once you create the key download it is as a .json
  3. rename it 'service-account.json'
  4. upload the file to your server wherever your autoscan directory is located eg: /my/appdata/autoscan/service-account.json
  5. point to the file in your config.yml using the path in the container: /config/service-account.json
  6. add the service account email address to the shared drive(s) that you want it to manage and give it the correct permissions
  7. DONE!
xfouloux commented 3 years ago

Oh thanks ! I'll do this asap =) !