Do you have a bunch video games which you don’t play and would like to trade? I did too, so I joined Goozex.com. Unlike other trading sites which try to match you with someone willing to trade a specific item or sites that are basically just bulletin boards. Goozex assigns point values to each game you trade which you can then use to get other games. There is a slight charge of $1 per trade. It’s a great way to get rid of your game and in my opinion a better value than what you get by trading in your games to Amazon or Gamestop.
A month ago our tuning adapter got messed up in a storm. This week another storm came in and knocked out the power just long enough to reboot all the electronics in the house, with an average boot time of 6 minutes and fear of pissing off the tuning adapter, I put the TiVo and the tuning adapter on a UPS.
The same storm annoyed my network equipment upstairs: Toshiba PCX1100U cable modem, Linksys WRT54G wireless router, Motorola VT1005 Vonage adapter and D-Link gigabit switch. So I ordered a UPS for them as well. I might add the server to the UPS as well but really it’s not that important that it stay up during a power outage.
I have a server running pyTivo to stream my music and photos to my TiVo. I wanted to listen to my Pandora account on my TiVo and not wait for TiVo to do it. My plan is to use the TiVo HME SDK to write my own app, but in the short term I did the poor mans version.
My server is headless, so I’m running a command-line Pandora client called pianobar. While it plays the audio, I wanted to know how to stream it via HTTP instead of the speakers. I found that you can use gstreamer to tap into the pulseaudio monitor. WIth gstreamer I can take the PCM audio, convert it to mp3 and send it to the icecast server.
In order to do this, you need to find out the pulseaudio monitor device. I typically run:
pactl list > /tmp/output
Then I look for the Sink with a State: of RUNNING. Then grab the Monitor Source:. Once you have the monitor source, you can use gstreamer to do the rest.
gst-launch pulsesrc device=MONITORSOURCEVALUE ! audioconvert ! lame name=enc mode=0 vbr-quality=6 ! shout2send mount=/pandora.mp3 port=8000 password=hackme ip=192.168.1.10
Last step is to create an .m3u file to put in your music folder configured in pyTivo. Mine is simply one line:
Now in your TiVo menu, select “Music & Photos”, select MyMusic (or what ever you called your music share in pyTivo). Find the .m3u file, and select the url that’s inside. Sit back and listen to your Pandora stream on your TiVo.