Skip to content

Extension capabilities input-listener and meta-listener not working in VLC 4.0

I'm trying to update an extension to VLC 4.0 (Because it didn't work) but VLC never call the functions input_changed and meta_changed. (The other functions are called normally )

It's a bug or I just didn't know how works VLC?

My code:

function descriptor()
  return { 
    [...]
    capabilities = {
        "input-listener",
        "meta-listener",
        "playing-listener",
     }
  }
end

-- Activate & Deactivate
function activate()
  vlc.msg.dbg("Activate")
end
function close()
  vlc.msg.dbg("Close")
end
function deactivate()
  vlc.msg.dbg("Deactivate")
end

-- Triggers
function input_changed()
  vlc.msg.dbg("Input changed")
end
function playing_changed()
  vlc.msg.dbg("Playing changed")
end
function meta_changed()
  vlc.msg.dbg("Meta changed")
end
Edited by Piripe
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information