Skip to content

math120908/pytwradio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Steaming for Taiwan Radio

Requirement

  • python 2.7.8

Execution

See list of radio first by./pyradio.py --list, and remember the radio id you want to listen to.

Use following command to record radio into a file.

$ python pytwradio.py --id 370 -t 100 -o output.ts
# -t recording time(s) or using `-t -1' to endless record

On mac, you can use the following command to play radio

$ ./pytwradio.py --id 370 -t -1 -o output.ts 2>/dev/null & sleep 10 && ffplay output.ts

Record audio with playing video

$ ./pytwradio.py --id 370 -t -1 --play [-o output.ts]

Reference

  • Radio list http://hichannel.hinet.net/radio/channelList.do?pN={{pageNum}}

Version Notes

  • 2015/01/07~2015/01/12 hichannel new interface.

About

Steaming for Taiwan Radio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages