Permalink
Browse files

Cleaning

  • Loading branch information...
1 parent 2aa9fda commit a2cfb326c0d012e71e7e4619db50a01888ca24f4 @tindandelion committed Oct 9, 2012
Showing with 18 additions and 1,085 deletions.
  1. +2 −3 TODO
  2. +16 −0 get-live-stream.rb
  3. +0 −1,082 radio-t.xml
  4. 0 {Radio-T → }/run-monkey.sh
View
5 TODO
@@ -1,7 +1,6 @@
Backlog:
* Live show: graceful process termination
* Downloading: Respect background data loading settings
- * Sync podcast list with SyncAdaptor
* User topics
* Android 4.0 UI
* New icon with ICS guidelines
@@ -10,9 +9,9 @@ Version 1.5:
* Testing: file to download already exists
* Testing: what happens if we have a local cache, but server responds with error?
* Google Analytics
- * Cache podcast list locally
+ DONE Cache podcast list locally
DONE Optimize garbage collection for podcast list
- * Load local podcast cache first, if it exists, and then
+ DONE Load local podcast cache first, if it exists, and then
refresh from server in background
DONE Android 4.0 UI
View
@@ -0,0 +1,16 @@
+require "open-uri"
+
+urls = []
+
+10000.times { |i|
+ print " #{i} "
+ urls << open("http://stream.radio-t.com:8181/stream.m3u") { |io| io.read.chomp }
+}
+
+puts
+
+grouped = urls.group_by { |v| v }
+grouped.each_pair do |key, value|
+ puts "#{key}: #{value.size}"
+end
+
Oops, something went wrong.

0 comments on commit a2cfb32

Please sign in to comment.