Skip to content

Commit

Permalink
Cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
analogcode committed Oct 22, 2015
1 parent 11e3fc4 commit 85d6119
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
21 changes: 21 additions & 0 deletions SwiftRadio/Images.xcassets/station-sub.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "sub.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions SwiftRadio/NowPlayingViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class NowPlayingViewController: UIViewController {

// songLabel animate
songLabel.animation = "flash"
songLabel.repeatCount = 2
songLabel.repeatCount = 3
songLabel.animate()

resetAlbumArtwork()
Expand Down Expand Up @@ -379,7 +379,7 @@ class NowPlayingViewController: UIViewController {
// Query API
DataManager.getTrackDataWithSuccess(escapedURL!) { (data) in

// Turn on network indicator in status bar
// Turn off network indicator in status bar
UIApplication.sharedApplication().networkActivityIndicatorVisible = false

if DEBUG_LOG {
Expand Down
10 changes: 5 additions & 5 deletions SwiftRadio/stations.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"longDesc": "KRS was started in 1991 by Slim Moon, who ran the company until October 2006, when he left to become Senior Director of A&R at Nonesuch Records. We at KRS want to thank Slim for creating such an amazing record label and putting out albums that were important in all our lives. Slim rules!"
},
{
"name": "Spaceland Radio",
"streamURL": "http://rfcmedia.streamguys1.com/echo.aac",
"imageURL": "station-spaceland",
"desc": "Indie from L.A.",
"longDesc": "The Spaceland Radio station is the brainchild of club owner, LA music promoter, and industry icon Mitchell Frank, who has personally curated the station with songs new and old from artists who have performed at Spaceland venues."
"name": "Sub Pop Radio",
"streamURL": "http://209.237.244.98:8004/",
"imageURL": "station-sub.png",
"desc": "Midsized Record Label",
"longDesc": "Sub Pop is a record label founded in 1986 by Bruce Pavitt. In 1988, Sub Pop Records LLC was formed by Bruce Pavitt and Jonathan Poneman in Seattle, Washington. Sub Pop achieved fame in the late 1980s for first signing Nirvana, Soundgarden, Mudhoney and many other bands from the Seattle alternative rock scene."
},
{
"name": "Radio 1190",
Expand Down

0 comments on commit 85d6119

Please sign in to comment.