Page 1 of 1

Getting tracklist through DevTools

Posted: Sun Jul 20, 2025 11:41 am
by birwin2
Based on a post back in 2018, I am trying to use Chrome Dev Tools to get data from MM. Submitting the following request through a WebSocket to get the currently playing track works fine:

var request = {id:1,method:'Runtime.evaluate',params:{expression:'app.player.getCurrentTrack()'}}

But when I try to get the current tracklist {expression:'app.player.getTracklist()'}, what I get back is the following:

{"id":1,"result":{"result":{"type":"object","className":"Object","description":"Object","objectId":"1608634423004785985.1.1"}}}

Is is possible to get back a tracklist object that I can process using this method?