Skip to content

This script will download the ICY information for a stream and store it as an object.

License

Notifications You must be signed in to change notification settings

GijsTimmers/icyparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icyparser

A script to retrieve an Icecast/Shoutcast's ICY stream and relevant metadata.

Installation

$ sudo pip3 install icyparser

Usage

>>> from icyparser import IcyParser
>>> ip = IcyParser()
>>> ip.getIcyInformation(url) ## starts thread, values become acccessible
>>> print(ip.icy_streamtitle)
Bonobo - Cirrus
>>> print(ip.icy_genre)
Alternative
>>> ip.stop()                 ## stops thread

About

This script will download the ICY information for a stream and store it as an object.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages