Kodi Audio Format Support: What Works and What Needs Conversion
Find out which audio formats Kodi Media Center plays natively, how to handle unsupported formats, and tips for optimizing your audio library for Kodi.
Kodi (formerly XBMC) is the open-source media center that runs on virtually every device — Windows, macOS, Linux, Android, iOS, Apple TV, Fire TV, Raspberry Pi, NVIDIA Shield. Its audio codec stack is FFmpeg, which means it plays nearly anything. This guide covers Kodi's actual format support, the recommended library format, and the addon ecosystem that extends Kodi for music.
Audio Formats Kodi Plays
Kodi's broad codec support comes from FFmpeg / libavcodec compiled into the player. Without any addons, Kodi plays:
- Lossy: MP3, AAC (LC, HE, HEv2), M4A, OGG Vorbis, Opus, WMA, AC3, E-AC3 (Dolby Digital Plus), DTS, MP2
- Lossless: FLAC, ALAC, WAV (PCM 8-32 bit, IEEE float), AIFF, WavPack, APE (Monkey's Audio), TAK, TTA, Shorten
- High-end: DSD (.dsf, .dff) on capable hardware, DTS-HD MA, Dolby TrueHD
- Containers: MP3, M4A, MP4 audio-only, FLAC, OGG, WAV, MKA, MKV audio, MOV audio, WV, APE
- Streaming protocols: HTTP, HTTPS, HLS audio, DASH audio, Icecast, Shoutcast, UPnP/DLNA
The trade-off: Kodi's audio engine is general-purpose and built for video playback first. Audiophile features like ReplayGain, gapless playback fidelity, and bit-perfect output are present but less polished than in foobar2000 or Plexamp.
Music Library Scanning
Kodi's music library is built by pointing the Music section at one or more folders. Settings > Media > Library > Add music source. Kodi scans the folders, reads tags, and populates a SQLite database used for browsing.
Required tags for clean scanning:
- Album Artist (single-artist albums use the same value as Track Artist)
- Album
- Track Title
- Track Number (with disc number for multi-disc)
- Year
- Genre (optional)
- Embedded cover art or folder.jpg / cover.jpg in the album directory
Kodi looks up additional metadata from TheAudioDB and MusicBrainz when the Music addon is configured. Bad tags produce a messy library; the library viewer is unforgiving.
Recommended Formats
For your Kodi music archive: FLAC. Lossless, broad client support, half the size of WAV, supports deep metadata. Compression level 5 (default) balances encode speed and file size.
For portability to mobile devices that sync from your Kodi library: MP3 320 kbps or AAC 256 kbps. Both sound transparent and play on every phone.
For video soundtracks stored alongside movies: leave as the original AC3 / DTS / E-AC3 / TrueHD; Kodi handles surround pass-through to compatible AVRs.
Hardware Decoding Caveats
Kodi delegates audio decoding to the OS audio stack on most platforms. On Android and Fire TV, hardware-accelerated AAC decoding is the norm. On Raspberry Pi 4 / Pi 5, the integrated audio output handles up to 48 kHz PCM through the 3.5mm jack and up to 192 kHz via HDMI; for high-resolution formats (24-bit / 96 kHz FLAC), use HDMI to a receiver or a USB DAC.
DSD playback requires either a DSD-capable USB DAC and DoP (DSD over PCM) configuration in Kodi, or PC hardware capable of native DSD output. On most consumer hardware, Kodi transcodes DSD to PCM during playback.
Addon Ecosystem for Music
Kodi's addon repository includes:
- Spotify (Spotify Connect via spotty) — stream Spotify through Kodi
- TuneIn Radio — internet radio
- Skin Helper Service — better artist info and now-playing widgets
- CD Ripper — built-in CD ripping to FLAC, MP3, OGG
- AudioBook — audiobook library with progress tracking
- MusicBrainz Manual Import — fix tagging mistakes against the MusicBrainz database
Custom skins like Arctic Zephyr 2 or Estuary MOD V2 reformat the music browsing UI for a more streaming-service feel.
Organizing Music for Kodi Metadata
Kodi expects this folder structure:
- /Music/Artist Name/Album Name/01 - Track Title.flac
- /Music/Artist Name/Album Name/cover.jpg
- /Music/Various Artists/Album Name/01 - Track Title.flac (compilations)
Tags inside the file are authoritative; the path is a fallback parser. For artists with name conflicts (same name, different musicians), MusicBrainz IDs in the file's MUSICBRAINZ_ARTISTID tag disambiguate.
Comparison with Plex
Kodi runs locally on the playback device — there is no separate server. Plex separates server (which catalogs the library and transcodes) from client (which streams). For a single Kodi-on-everything setup where the same machine plays the music, Kodi is simpler. For a server-and-multiple-clients setup, Plex is purpose-built. Some users run both: Plex Media Server for streaming to phones and TVs, Kodi for the in-room media center experience.
For more on the Plex side, see audio format for Plex. For VLC's role as the conversion tool that prepares music for Kodi, see convert audio with VLC. For the FLAC archival workflow that feeds Kodi's library, see what is FLAC.
Bitrate and Quality Tips
For ripping CDs into Kodi: FLAC level 5 or level 8 (level 8 is 2-3% smaller, 4-5x slower to encode). Either is bit-perfect to the source.
For converting an existing MP3 / AAC library: do not re-encode to FLAC. Keep lossy sources as is.
For AAC sources from iTunes / Apple Music DRM-free purchases: leave as M4A. Kodi plays M4A natively without conversion.
For older WMA libraries: convert to FLAC if lossless, MP3 320 kbps if not, before adding to Kodi. WMA plays but is the format with the weakest tagging support across the broader ecosystem.
CPU and Power on Pi-Class Hardware
On Raspberry Pi 4 / Pi 5, Kodi handles 24-bit / 192 kHz FLAC playback comfortably with 5-10% CPU load. Higher rates (DSD64, DSD128) push CPU to 30-50% and may stutter without a USB DAC handling the decode. For high-end audio on Pi, pair with a HiFiBerry DAC HAT or Allo BOSS for clean analog output.
Network Audio Playback
Kodi can play music from network sources without storing locally:
- SMB / CIFS shares — point at a NAS share path (smb://server/music)
- NFS exports — Linux-style network filesystem mounts
- UPnP / DLNA — browse media servers on the local network (Plex Media Server, Jellyfin, Twonky, MinimDLNA)
- HTTP / HTTPS streams — direct URL playback for internet radio
For a NAS-stored library, SMB or NFS mounts give the cleanest performance and tag handling. UPnP works but loses some metadata fidelity in transit. HTTP streams handle internet radio addons.
Multi-Room Audio
Kodi does not natively support multi-room synchronized playback, but the Squeezebox ecosystem (Logitech Media Server + squeezelite) integrates with Kodi via the LMS plugin for synchronized multi-room audio. Plex's Plexamp does multi-room sync more elegantly out of the box for users in the Plex ecosystem.