Permalink
Browse files

Adding stream url to Track

  • Loading branch information...
1 parent 467a5d8 commit 04a440184c15c0a04313bcfce8fdf6a7e6f4a22e @michaellavelle committed Apr 9, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/java/org/springframework/social/soundcloud/api/Track.java
@@ -31,5 +31,10 @@ public Track(String permalinkUrl,String title,String id)
this.permalinkUrl = permalinkUrl;
this.id = id;
}
+
+ public String getStreamUrl()
+ {
+ return "http://api.soundcloud.com/tracks/" + getId() + "/stream";
+ }
}

0 comments on commit 04a4401

Please sign in to comment.