Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str AttributeLoad NameLoad attr Str kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body Assign NameStore SubscriptLoad NameLoad Index Num TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str orelse If UnaryOpNot Call AttributeLoad NameLoad attr body Assign NameStore Str orelse TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str If CompareNotEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return CompareEq NameLoad Num orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A dbus dbus.mainloop.glib DBusGMainLoop libqtile.log_utils logger N/A base N/A bar Mpris N/A N/A base _TextBox N/A N/A MPRIS player widget

    A widget which displays the current track/artist of your favorite MPRIS
    player. It should work with all players which implement a reasonably
    correct version of MPRIS, though I have only tested it with clementine.
     N/A orientations N/A base ORIENTATION_HORIZONTAL __init__ N/A N/A self name width objname N/A clementine N/A bar CALCULATED org.mpris.clementine config N/A N/A N/A N/A N/A base _TextBox __init__ self width config N/A N/A self dbus_loop None N/A N/A self objname objname N/A N/A self connected False N/A N/A self name name N/A _configure N/A N/A self qtile bar N/A N/A N/A N/A N/A N/A base _TextBox _configure self qtile bar N/A N/A N/A self dbus_loop None N/A N/A N/A N/A self dbus_loop N/A DBusGMainLoop N/A N/A self bus N/A N/A dbus SessionBus mainloop N/A self dbus_loop N/A deebus N/A N/A N/A self bus get_object org.freedesktop.DBus /org/freedesktop/DBus N/A N/A N/A deebus connect_to_signal NameOwnerChanged N/A self handle_name_owner_change N/A N/A N/A self _connect N/A _connect N/A N/A self N/A N/A N/A Try to connect to the player if it exists N/A N/A N/A N/A self player N/A N/A N/A self bus get_object N/A self objname /Player N/A N/A self iface N/A N/A dbus Interface N/A self player dbus_interface org.freedesktop.MediaPlayer N/A N/A N/A N/A self iface connect_to_signal TrackChange N/A self handle_track_change N/A N/A N/A N/A self iface connect_to_signal StatusChange N/A self handle_status_change N/A N/A self connected True N/A N/A N/A N/A N/A dbus exceptions DBusException N/A N/A N/A N/A logger exception exception initializing mpris N/A N/A self connected False N/A handle_track_change N/A N/A self metadata N/A N/A N/A N/A N/A self update N/A handle_status_change N/A N/A self N/A args N/A N/A N/A N/A self update N/A handle_name_owner_change N/A N/A self name old_owner new_owner N/A N/A N/A N/A name N/A self objname N/A N/A N/A old_owner N/A N/A N/A N/A self _connect N/A N/A N/A new_owner N/A N/A N/A self connected False N/A N/A N/A self update N/A ensure_connected N/A N/A f N/A N/A N/A Tries to connect to the player

        It *should* be successful if the player is alive
         wrapper N/A N/A N/A args kwargs N/A N/A self N/A args N/A 0 N/A N/A N/A N/A N/A N/A self iface GetMetadata N/A N/A N/A N/A N/A N/A dbus exceptions DBusException AttributeError N/A N/A N/A N/A self _connect N/A N/A f args kwargs N/A N/A wrapper N/A update N/A N/A self N/A N/A N/A N/A N/A N/A self qtile call_soon_threadsafe N/A self real_update N/A ensure_connected real_update N/A N/A self N/A N/A N/A N/A N/A self configured N/A N/A playing Not configured N/A N/A N/A self connected N/A N/A playing Not Connected N/A N/A N/A N/A N/A self is_playing N/A N/A playing Stopped N/A N/A N/A N/A metadata N/A N/A N/A self iface GetMetadata N/A playing N/A N/A N/A metadata N/A title  -  N/A metadata N/A artist N/A N/A N/A N/A N/A dbus exceptions DBusException N/A N/A N/A self connected False N/A playing N/A N/A playing N/A self text N/A N/A N/A self text playing N/A N/A N/A N/A self bar draw N/A ensure_connected is_playing N/A N/A self N/A N/A N/A Checks status of the player

        Returns true if we are connected to the player and it is playing
        something, false otherwise
         N/A N/A self connected N/A N/A N/A playing random repeat stop_after_last N/A N/A N/A self iface GetStatus N/A N/A playing 0 N/A N/A False N/A ensure_connected cmd_info N/A N/A self N/A N/A N/A What's the current state of the widget? N/A N/A dict connected N/A self connected nowplaying N/A self text isplaying N/A N/A self is_playing N/A cmd_update N/A N/A self N/A N/A N/A Force the widget to update. Mostly used for testing N/A N/A N/A self update N/A N/A