class documentation

class RemoteLibrary:

Constructor: RemoteLibrary(storage, root)

View In Hierarchy

Discover and load Flipper-compatible remotes from SD storage.

Method __init__ Undocumented
Method list_files Return all .ir files below root.
Method load Load a remote by absolute path or filename under root.
Method save_raw Write one captured raw signal in Flipper format.
Instance Variable root Undocumented
Instance Variable storage Undocumented
Method _ensure_parent_dirs Create missing SD directories before writing a remote.
Method _read Undocumented
Method _resolve Undocumented
Method _walk Undocumented
def __init__(self, storage, root='infrared'):

Undocumented

def list_files(self):

Return all .ir files below root.

def load(self, path):

Load a remote by absolute path or filename under root.

def save_raw(self, path, name, timings, frequency=38000, duty_cycle=0.33):

Write one captured raw signal in Flipper format.

root =

Undocumented

storage =

Undocumented

def _ensure_parent_dirs(self, path, storage):

Create missing SD directories before writing a remote.

def _read(self, path):

Undocumented

def _resolve(self, path):

Undocumented

def _walk(self, path, result):

Undocumented