Skip to content

THAVASIGTI/tn_radio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TAMILNADU ONLINE FM RADIO

Code style: black PyPI Downloads

In this package tamil nadu local online Fm Station

INSTALL PACKAGE

sudo apt-get install vlc
pip install tn-radio

IMPORT PACKAGE

Python 3.7.3 (default, Oct  7 2019, 12:56:13) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import tn_radio
obj = tn_radio.Radio()

LIST OF FM STREAM

Python 3.7.3 (default, Oct  7 2019, 12:56:13) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import tn_radio
obj = tn_radio.Radio()

obj.list_fm()

0 Ohm Namashivaya[Chennai, India]
1 Namakkal Thedal FM[Namakkal, India]
2 Natrinai FM[Tiruchirappalli, India]
3 Pudukkottai Thedal FM[Pudukkottai, India]
4 முத்தமிழ் FM மேலூர்[Melur, India]
5 Virudhunagar Thedal FM[Virudhunagar, India]

SET STREAM FM INDEX

Python 3.7.3 (default, Oct  7 2019, 12:56:13) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import tn_radio
obj = tn_radio.Radio()
obj.set_stream(3)

PLAY FM

Python 3.7.3 (default, Oct  7 2019, 12:56:13) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import tn_radio
obj = tn_radio.Radio()
obj.set_stream(3)
obj.play()

STOP FM

     obj.stop()

PAUSE FM

     obj.pause()

CHANGE FM STREAM

     obj.set_stream(5)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages