6

I found out that listening to radio in terminal using "mplayer url" is much better than any software around, but after a while, terminal prints out a message saying low on cache.

How can I increase the cache in the terminal? Is it possible to free the used cache periodically while listening to the radio?

| improve this question | | | | |
6

You can set mplayer's cache with -cache argument on command line as well as specifying the initial cache fill before playback with '-cache-min'.

Try:

$ mplayer -cache 8192 -cache-min 80 <url>

p.s. 8192 should be enough, however, you can increase that number according to your needs. Note that the initial cache fill without the '-cache-min' option is only 20%.

| improve this answer | | | | |
  • My edit adds in the -cache-min option and brief explanatory note... – andrew.46 May 21 '14 at 22:11
0

To listen Internet-Radio from a terminal I would recommend pyradio

As far as I know it uses mplayer and vlc in the background but has a really nice command-line interface.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.