# How to see which bitrate the input file/stream has?

**URL:** <https://discourse.mopidy.com/t/how-to-see-which-bitrate-the-input-file-stream-has/1681>\
**Category:** Pi MusicBox (archive)\
**Created:** [June 22, 2017, 5:54am UTC](https://discourse.mopidy.com/t/how-to-see-which-bitrate-the-input-file-stream-has/1681 "2017-06-22T05:54:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Frasier](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/peter_frasier/32/621_2.png) [@Peter\_Frasier](https://discourse.mopidy.com/u/Peter_Frasier)\
**Post date:** [June 22, 2017, 5:54am UTC](https://discourse.mopidy.com/t/how-to-see-which-bitrate-the-input-file-stream-has/1681/1 "2017-06-22T05:54:45Z")

</div>

i would like to see what musicbox is decoding in terms of bitrate and maybe codec.  
thx

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [June 22, 2017, 8:26am UTC](https://discourse.mopidy.com/t/how-to-see-which-bitrate-the-input-file-stream-has/1681/2 "2017-06-22T08:26:02Z")

</div>

I believe that in the very latest version of musicbox webclient that’s shipped in rc4, the bitrate should be shown in the song’s info/details popup. You can open that popup from the song’s context menu (right-most button on each song in a tracklist). Mopidy doesn’t provide the clients with info on the codec. That would require a mopidy feature request.

---

<div class="post-metadata">

**Author:** ![prdgymx](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/prdgymx/32/630_2.png) [@prdgymx](https://discourse.mopidy.com/u/prdgymx)\
**Post date:** [June 29, 2017, 11:57am UTC](https://discourse.mopidy.com/t/how-to-see-which-bitrate-the-input-file-stream-has/1681/3 "2017-06-29T11:57:12Z")

</div>

You can get it from the core.playback.get\_current\_tl\_track JSON-RPC API as well.

`curl -sd '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.get_current_tl_track"}' http://localhost:6680/mopidy/rpc`

Should return something like this:

> 

`{ "jsonrpc": "2.0", "id": 1, "result": { "track": { "album": { "date": "1992", " __model__": "Album", "artists": [{ " __model__": "Artist", "name": "The Prodigy", "uri": "spotify:artist:4k1ELeJKT1ISyDv8JivPpB" }], "name": "Experience", "uri": "spotify:album:3LYrQ4Pr2CMbQl3nWxXItR" }, " __model__": "Track", "name": "Fire (Sunrise Version)", "disc_no": 0, "uri": "spotify:track:4e081v84DUXLS7AceAD9c9", "length": 298000, "track_no": 10, "artists": [{ " __model__": "Artist", "name": "The Prodigy", "uri": "spotify:artist:4k1ELeJKT1ISyDv8JivPpB" }], "date": "1992", "bitrate": 320 }, " __model__": "TlTrack", "tlid": 584 } }`

---

<div class="post-metadata">

**Author:** ![Mikaell](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@Mikaell](https://discourse.mopidy.com/u/Mikaell)\
**Post date:** [March 9, 2018, 8:40am UTC](https://discourse.mopidy.com/t/how-to-see-which-bitrate-the-input-file-stream-has/1681/4 "2018-03-09T08:40:07Z")

</div>

Hi!

I keep looking for a way to see the exact bitrate of the currently paying audio and cannot find anything that works. After 3 days of google-ing I hope I can find an answer here 🙂 The above command only shows artist info and length and stuff, but no bitrate. Also, the info panel in the web interface lacks any such info. This is true no matter what I try to play back (local files, network, radio, airplay, dlna…)

Latest version just installed…

Any info greatly appreciated,

Thanks!

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [February 19, 2026, 11:47am UTC](https://discourse.mopidy.com/t/how-to-see-which-bitrate-the-input-file-stream-has/1681/5 "2026-02-19T11:47:09Z")

</div>


