I'd like to listen to music when I'm working, when learning, when relaxing and almost all the time.
The problem is I have all my music collection in my desktop and I work from laptop. And to change music, radio stations, I need to go to desktop.
There is a simple solution for this problem I found today.
I use Ubuntu in my desktop and Rhythmbox to play music. There is a small command line utility rhythmbox-client. So I connect to my desktop with ssh and use rhythmbox-client command to control music being played in my desktop.
Here are few sample commands I tried to far:
rhythmbox-client --play-uri=http://38.101.195.5:8132/listen.pls (TORI Radio Channel)
rhythmbox-client --print-playing
rhythmbox-client --next
rhythmbox-client --volume-down
rhythmbox-client --volume-up
Hope to find some more small tools like this to make my life easy.
Oh, BTW, I forgot to tell you I stopped connecting external mouse to my laptop to force myself use keyboard more. :)
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment