File based storage module.


class FileStorage (filename: str, loop:

Storage module storing settings in a file.

Initialize a new FileStorage instance.


Static methods

def default_storage(loop: -> FileStorage

Return file storage with default path.

This corresponds to the default file storage path that pyatv uses internally, e.g. in atvremote. Use this if you want to hook into that storage in your own applications.

The path used for this file is $HOME/.pyatv.conf (C:\Users\.pyatv.conf on Windows).

Inherited members