Sure, you can copy your music and videos from iTunes to your iPhone or iPod Touch. But what if you want to listen to internet radio stations or just stream media (music, video, pictures) to your device? You could buy an internet radio application from the iTunes store, but that won’t give you the ability to stream your own media to the device.
If you’d rather a free option, I suggest you try TVersity. Using this free software, you can stream to a number of devices including the iPhone, iPod Touch, PSP, Playstation 3, Nintendo Wii and Xbox 360.
As things stand right now, TVersity doesn’t seem that great for streaming individual songs to the iPhone or iPod Touch. You have to tell it to play each song rather than playing an album or playlist at a time. Maybe this will be fixed in the next version. However, it’s great for playing podcasts, audiobooks, videos (in the correct format) and streaming audio. It’s wonderful on my Playstation 3 for streaming anything (other than what Sony screwed up with PS3 firmware 2.20 a while back).
Here’s what you do:
Setting Up TVersity
Easy. At this point, you should be able to stream media to your iPhone. But what about internet radio stations?
- Go to the SHOUTcast directory
- Find a stream you want to listen to, then click Tune In!
- In iTunes, right-click the stream, click Get Info, click Edit URL, then copy the URL
- Open TVersity and click the + button at the upper left
- Fill out the form as shown in the image below:
- Click Submit
- Rinse and repeat for any other stations you want.
Accessing TVersity on the Road
This is all great, but what if you want to access your media when you are away from home? Well, you can simply use the http://xxx.xxx.xxx.xxx:41952/iphone URL as before. But if you are behind a router, you will need to substitute your external IP address instead. If you don’t know what it is, just go to a site like WhatIsMyIP.com and get it from there. Very simple. Or is it?
What happens if your IP address changes on a regular basis? Your bookmark will stop working at the absolute worst time (like when you are trying to show off to one of your friends). This is where a dynamic hostname service like DynDNS or DtDNS comes in handy. Basically, they give you a hostname that points to whatever your IP address happens to be at the time. That way, you can bookmark something like http://yourniftyhostname.com:41952/iphone and not have to worry about the address changing. You should run client software in the background to ensure that your address is always updated when it changes.
DynDNS Update Clients - http://www.dyndns.com/support/clients/
DtDNS Update Clients - http://www.dtdns.com/index.cfm?fuseaction=info.clients
Note: If you have a D-Link router, it’s possible that you can enter your DynDNS account info in your router setup to update your DynDNS hostname with your IP address automatically. This eliminates the need for an update client. It’s possible that other brands of routers can do this as well.
EDIT: Leave it to me to forget something very important! If you have a router and have more than one computer on your network, you will have to enable port forwarding for port 41952. To learn how to enable port forwarding, just do a Google search for something like port forwarding d-link or port forwarding linksys.
Technorati Tags: iphone, ipod touch, apple, tversity, streaming
Tags: apple · geek · hax0r · iphone · music · video
See updates at the bottom of this post.
Aurora Feint has been pulled from the iTunes apps store as of July 23rd. It appears that there has been quite a bit of spyware concern centered on the “Community” feature. This feature asked you for your email address and phone number. In return, it was supposed to automatically add your friends so they could be in your party within the game. But it wasn’t immediately obvious how this was to magically happen.
The intent was to add the community feature with as little typing as possible because according to the developers, “everyone always complains about the keyboard on the iPhone and how annoying it is to type on it“. Apparently, they used an API that would download all of your contact information stored in the Contacts app on your iPhone. The contact details were to be transmitted in clear text to their server.
This is part of what the developers had to say:
In the 1.0 version of the game we just didn’t get around to doing everything we wanted to do in time for the launch: remember we tried to do a high quality game in 10 weeks flat. So, if you opt-in to the community feature, when you refresh your friends, the data is sent unencrypted to our web servers. Before you freak out though, let me explain why this was done. We just thought that it was a cool feature and that we’d implement security stuff if we became popular. To that end, the web server we launched with was a teeny box with almost no power. We spent the first few days scrambling to scale our servers. We really had no idea how popular we were going to be. We added this feature in near the end of our development cycle and simply decided that we didn’t have enough time to spend to make it secure in advance of knowing if it was even going to be a hit.
The developers say that they have revised their application to use
HTTPS for data transfer and it has been submitted to Apple for review. They are also
working on another version which has the community feature completely
removed.
If you play the game and want to continue, make sure you don’t delete it from iTunes. You might want to think twice about enabling the community feature if you haven’t already done so. If you have already enabled the community option, your data hopefully shouldn’t be transmitted unless you choose “Refresh Friends Data”.
I read through the posts on the Aurora Feint forums and it seems to be
a mix of those who are concerned about security and those who don’t
think it’s a big deal. What do you think?
I imagine this is going to take a while to straighten out …
Read more on the Aurora Feint forums.
See their privacy statement.
Edit: Looks like this isn’t the first time there has been an issue with an application in the app store.
25 Jul 2008 - Update: Version 1.0.0.1
has been released. It contains bugfixes, “additional networked
features” and more magicbooks. The developers also advised that they
disabled the community feature as of July 18th as soon as they realised
they were becoming popular. They do not store the data and have
assured us that they have deleted all personal information stored on
their servers. Make sure you update, because your game data will no
longer be saved to the AF servers with the old version.
Technorati Tags: iphone, apple, aurora feint
Tags: Uncategorized
I’m working on Learn to Program by Chris Pine. This is one of the exercises mentioned in chapter 7 (
chapter 6 in the online version).
Poor Grandma can’t hear very well. You really have to scream at her, but even then, she doesn’t quite hear what you’re saying. You have to be careful too because she often tries to plant sloppy, toothless Grandma kisses on you.
# Deaf Grandma with random years
say = ‘Ew. Grandma wants a kiss!’
puts ‘Grandma stares vacantly at you…’
while say != ‘BYE’
# STDOUT.flush
say = gets.chomp
puts
puts “You say, ‘#{say}.’”
if say == say.upcase
# She hears you … sort of
year = (2007 - rand(101))
puts “Grandma says, ‘NO, NOT SINCE #{year}!’”
else
# She yells at you
puts “Grandma says, ‘HUH?! SPEAK UP!’”
end
end
puts
puts ‘You head for the hills before Grandma steals a kiss …’
Unless you YELL at Grandma (in uppercase), she just complains that she can’t hear you. When she does hear you, she’ll just say something in reference to a random year in the past. When it’s time to leave, you have to yell ‘BYE’ to her (or just wait for her to doze off in her rocking chair).
Technorati Tags: ruby, programming
Tags: ruby
Here is my (very simple) version of
99 Bottles of Beer on the Wall in Ruby. I the only fancy thing I am doing is “while”. I don’t like the fact that the song is duplicated to handle one bottle, so I will eventually change that. I have a couple of ideas, but I am not sure which I want to use.
#99 Bottles of Beer on the Wall
bottles = 99
while bottles != 1
puts “#{bottles} bottles of beer on the wall, #{bottles} bottles of beer.”
puts “Take one down and pass it around, #{bottles -1} bottles of beer on the wall.”
puts ”
bottles = bottles - 1
end
# Do this when there is one bottle left so we don’t have “one bottles” of beer
puts “#{bottles} bottle of beer on the wall, #{bottles} bottle of beer.”
puts “Take one down and pass it around, no bottles of beer on the wall.”
puts ”
puts ‘Time to buy some more beer!’
Tags: ruby
I’ve noticed that Twitter has been going down quite a bit lately. I have heard that the Twitter people are looking into switching from Ruby on Rails to something else. Since I am learning Ruby (with the intention of learning Rails as well), I am interested in knowing why Twitter is having problems with RoR.
Everything that I have read so far indicates that they are having scaling problems. They feel that you have to give Rails more and more CPU power and resources to keep it going with such a large site. I wonder how Rails compares to other frameworks in terms of how much resources it needs as the applications and databases get larger.
Twitter Said To Be Abandoning Ruby on Rails
5 Question Interview with Twitter Developer Alex Payne
Comparison of web application frameworks
Follow me on Twitter
It doesn’t appear that this is an easy question to answer, so I’ll have to do some reading on this one. In the meantime, I’d welcome any thoughts on this from people who are more experienced with web frameworks … or from anyone else who has a thought.
Technorati Tags: ruby, rails, ror, twitter
Tags: ruby
If you can’t make this, you probably can’t read either.
1/4 c Canadian maple syrup
2 tbsp soy sauce
splash of lemon juice
1 tsp grated ginger
2 tbsp dijon mustard (or less if you want)
2 tbsp diced onion
4 salmon fillets
- Mix everything together except for the salmon and pour over the fish, saving a bit for later. Tip: The fish should probably be in a container when you do this.
- Marinate the fish for half an hour or more.
- Heat the oven to 400F.
- Bake for 15 to 20 minutes or until the salmon flakes when “forked”.
- Take the salmon out of the oven and pour the rest of the marinade over the fish.
- Done.
Tags: recipe
I don’t often do recipes, but here goes:
2 tilapia fillets
1 tbsp butter
1 clove roasted garlic
2 tbsp lemon juice
pepper
parsley
- Heat the oven to 450. Spray the baking dish with non-stick spray.
- Put the fillets in the baking dish. Pour liquid over the fillets, and top with garlic, pepper, parsley.
- Bake in the oven for 15 minutes (or until the fish flakes when “forked”).
- Eat.
This recipe will probably work for almost any sort of fish. If you don’t like too much lemon, try 2 tbsp butter and 1 tsbp lemon instead. If you don’t like garlic, you are a freak and you should not read my blog.
Tags: recipe
I’m really not sure what went wrong. I did the Dreamhost upgrade to WordPress 2.5.1 and it fried my entire blog. The database was fine (along with the config file pointing to it), but none of my posts were visible. I tried several things, including deleting the entire blog directory and re-installing to no avail.
In the end, I just restored my backup of the old blog. Maybe I will try the upgrade again in the future, but I have had enough “fun” this week. Maybe I will create a dev environment to experiment with future upgrades. Though this is just a small personal blog, this experience was very frustrating and annoying.
For anyone who has a blog, make absolutely sure that you keep backups of your blog, your database and maybe even export your blog posts. If I didn’t have backups, this would likely be my “first” post.
If anyone notices anything strange, please, please leave a comment. I’ll be playing around with themes for the next while until I find something I like.
Tags: geek · wtf
I found a one day Ruby on Rails course from UC Berkeley on YouTube. I haven’t watched the videos yet, but hopefully they will help improve my understanding of Ruby and Rails. With any luck, they won’t be 1 hour rickrolls.
I’m fairly certain that a short course won’t give you a full understanding of how Ruby on Rails works, but this should be a good start. To go from video to video, click the arrows at the edge of the player. There are five six videos.
Edit: The slides can be hard to see at times, so you can download the PDFs to follow along with the videos here.
Tags: programming · ruby
I’ve reviewed lesson 1 of Satish Talim’s Ruby course, along with Yukihiro Matsumoto’s “The Philosophy of Ruby” interview. The most difficulty I had was with the modulus operator, which I posted about yesterday. I also learned that Google Calculator is incorrect in its calculation of the number of seconds in a year! Always make sure you check, double-check and triple-check your sources when you are declaring constants in your programs.
To make sure I have a solid understanding of the fundamentals of Ruby, I am going to read Chris Pine’s “Learn to Program” within the next couple of days. It seems to be mentioned everywhere I go, so it must be good. After that, I am going to start reading “The Ruby Programming Language“, which I purchased in PDF form the other day. That should be a good start.
Before I get too tired, I am going to listen to Geoff Grosenbach’s Ruby Basics.
That’s about it for today. I’m back at work this week, so time is a bit limited.
P.S. I am really liking ScribeFire for posting blog entires within Firefox.
Technorati Tags: ruby, programming, blog
Tags: programming · ruby