Session

class transmission_rpc.session.Session[source]

Session is a class holding the session data for a Transmission daemon.

Access the session field can be done through attributes. The attributes available are the same as the session arguments in the Transmission RPC specification, but with underscore instead of hyphen.

get 'download-dir' with session.download_dir.

session = Client().get_session()

current = session.download_dir

setter on session’s properties has been removed, please use Client().set_session() instead

https://github.com/transmission/transmission/blob/main/docs/rpc-spec.md

#41-session-arguments