<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github---conradfr-icecast-ex-read-metadata-from-shoutcast-icecast-streams--5xfgayfd0" -->

---
title: GitHub - conradfr/icecast_ex: Read metadata from...
description: An Elixir library for reading metadata from Shoutcast and Icecast audio streams, forked from shoutcast_ex to support hackney 4.x and other HTTP clients. It...
canonical: https://daily.dev/posts/github---conradfr-icecast-ex-read-metadata-from-shoutcast-icecast-streams--5xfgayfd0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub - conradfr/icecast_ex: Read metadata from Shoutcast & Icecast streams. | daily.dev
og:description: An Elixir library for reading metadata from Shoutcast and Icecast audio streams, forked from shoutcast_ex to support hackney 4.x and other HTTP clients. It...
og:url: https://daily.dev/posts/github---conradfr-icecast-ex-read-metadata-from-shoutcast-icecast-streams--5xfgayfd0
og:image: https://api.daily.dev/og/posts/5XfGaYFd0.png
og:image:alt: GitHub - conradfr/icecast_ex: Read metadata from Shoutcast & Icecast streams.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub - conradfr/icecast_ex: Read metadata from Shoutcast & Icecast streams.

**[ElixirStatus](https://daily.dev/sources/elixirstatus)** · 1 min read · 0 upvotes · 0 comments

## Summary

An Elixir library for reading metadata from Shoutcast and Icecast audio streams, forked from shoutcast_ex to support hackney 4.x and other HTTP clients. It supports pluggable HTTP client adapters (hackney by default, or Req/Finch), configurable via application config or at call time, and is installed as a standard Hex dependency.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/conradfr/icecast_ex>

## Questions this post answers

### How do I read metadata from an Icecast or Shoutcast stream in Elixir?

Use the icecast_ex library by adding {:icecast, "~> 1.0.2"} to mix.exs dependencies, then call Icecast.read_meta with the stream URL, such as Icecast.read_meta("http://ice1.somafm.com/lush-128-mp3"), which returns {:ok, %Meta{}}. It defaults to the hackney 4.x HTTP client adapter but also supports a Req adapter.

_Elixir developers wiring up stream metadata parsing can find related library updates on daily.dev._

### How do I switch the HTTP client adapter used by icecast_ex from hackney to Req?

Configure config :icecast, adapter: Icecast.Adapter.Req in config/config.exs, making sure to also install the mint package; a Finch instance can additionally be set via config :icecast, finch: instance_name. Alternatively, pass Icecast.Adapter.Req directly at call time as the third argument to read_meta.

_Comparing HTTP client adapters in Elixir libraries is easier when following daily.dev for ecosystem updates._

## Similar posts on daily.dev

- [Icecast — icecast v1.0.2](https://daily.dev/posts/icecast-icecast-v1-0-2-os8anw2cx) · ElixirStatus · 0 upvotes · 0 comments
- [audio\_proxy](https://daily.dev/posts/audio-proxy-atshu8jtf) · ElixirStatus · 0 upvotes · 0 comments
- [DatanoiseTV/tinyice: A tiny audio streaming server \(compatible with icecast2\) written in Go with multiple mountpoint, multi-source, and relaying support.](https://daily.dev/posts/datanoisetv-tinyice-a-tiny-audio-streaming-server-compatible-with-icecast2-written-in-go-with-mul-bhwbwnzaf) · Hacker News · 0 upvotes · 0 comments
- [Self-Hosted Spotify Alternatives](https://daily.dev/posts/self-hosted-spotify-alternatives-dbgvnyaa5) · Noted · 106 upvotes · 8 comments
- [Hex v2.5.0 released](https://daily.dev/posts/hex-v2-5-0-released-zx5hrogzu) · Elixir Forum · 0 upvotes · 0 comments

---

Tags: [#elixir](https://daily.dev/tags/elixir)

[View this post on daily.dev](https://daily.dev/posts/github---conradfr-icecast-ex-read-metadata-from-shoutcast-icecast-streams--5xfgayfd0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"GitHub - conradfr/icecast_ex: Read metadata from Shoutcast \u0026 Icecast streams.","url":"https://daily.dev/posts/github---conradfr-icecast-ex-read-metadata-from-shoutcast-icecast-streams--5xfgayfd0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github---conradfr-icecast-ex-read-metadata-from-shoutcast-icecast-streams--5xfgayfd0"},"datePublished":"2026-09-12T10:15:20.739Z","dateModified":"2026-09-12T10:15:38.641Z","description":"An Elixir library for reading metadata from Shoutcast and Icecast audio streams, forked from shoutcast_ex to support hackney 4.x and other HTTP clients. It...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/06f4a28c23bf163c07807115be7fa70d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/06f4a28c23bf163c07807115be7fa70d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"ElixirStatus","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ElixirStatus","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/22e4640538124187827caf8cc8e39190","url":"https://daily.dev/sources/elixirstatus"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/github---conradfr-icecast-ex-read-metadata-from-shoutcast-icecast-streams--5xfgayfd0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"elixir","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ElixirStatus","item":"https://daily.dev/sources/elixirstatus"},{"@type":"ListItem","position":3,"name":"GitHub - conradfr/icecast_ex: Read metadata from Shoutcast \u0026 Icecast streams."}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/github---conradfr-icecast-ex-read-metadata-from-shoutcast-icecast-streams--5xfgayfd0#faq","mainEntity":[{"@type":"Question","name":"How do I read metadata from an Icecast or Shoutcast stream in Elixir?","acceptedAnswer":{"@type":"Answer","text":"Use the icecast_ex library by adding {:icecast, \"~\u003e 1.0.2\"} to mix.exs dependencies, then call Icecast.read_meta with the stream URL, such as Icecast.read_meta(\"http://ice1.somafm.com/lush-128-mp3\"), which returns {:ok, %Meta{}}. It defaults to the hackney 4.x HTTP client adapter but also supports a Req adapter. Elixir developers wiring up stream metadata parsing can find related library updates on daily.dev."}},{"@type":"Question","name":"How do I switch the HTTP client adapter used by icecast_ex from hackney to Req?","acceptedAnswer":{"@type":"Answer","text":"Configure config :icecast, adapter: Icecast.Adapter.Req in config/config.exs, making sure to also install the mint package; a Finch instance can additionally be set via config :icecast, finch: instance_name. Alternatively, pass Icecast.Adapter.Req directly at call time as the third argument to read_meta. Comparing HTTP client adapters in Elixir libraries is easier when following daily.dev for ecosystem updates."}}]}
```

