[R-gregmisc-users] SF.net SVN: r-gregmisc:[1426] trunk
Brought to you by:
warnes
From: <wa...@us...> - 2010-02-27 19:55:12
|
Revision: 1426 http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1426&view=rev Author: warnes Date: 2010-02-27 19:54:58 +0000 (Sat, 27 Feb 2010) Log Message: ----------- Rename Rush-Launcher to Stream-Launcher Added Paths: ----------- trunk/Stream-Launcher/ trunk/Stream-Launcher/Glenn Beck Recent Show - Audio.app/ trunk/Stream-Launcher/Glenn Beck Recent Show - Video.app/ trunk/Stream-Launcher/Rush AudioStream.app/Contents/Info.plist trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/Scripts/main.scpt trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/applet.icns trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/applet.rsrc trunk/Stream-Launcher/Rush DittoCam.app/Contents/Info.plist trunk/Stream-Launcher/Rush DittoCam.app/Contents/Resources/Scripts/main.scpt trunk/Stream-Launcher/Stream_Launcher.txt Removed Paths: ------------- trunk/Rush-Launcher/ trunk/Stream-Launcher/Rush AudioStream.app/Contents/Info.plist trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/Scripts/main.scpt trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/applet.icns trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/applet.rsrc trunk/Stream-Launcher/Rush DittoCam.app/Contents/Info.plist trunk/Stream-Launcher/Rush DittoCam.app/Contents/Resources/Scripts/main.scpt Deleted: trunk/Stream-Launcher/Rush AudioStream.app/Contents/Info.plist =================================================================== --- trunk/Rush-Launcher/Rush AudioStream.app/Contents/Info.plist 2010-02-27 18:29:02 UTC (rev 1424) +++ trunk/Stream-Launcher/Rush AudioStream.app/Contents/Info.plist 2010-02-27 19:54:58 UTC (rev 1426) @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleAllowMixedLocalizations</key> - <true/> - <key>CFBundleDevelopmentRegion</key> - <string>English</string> - <key>CFBundleExecutable</key> - <string>applet</string> - <key>CFBundleIconFile</key> - <string>applet</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>Rush AudioStream</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleSignature</key> - <string>aplt</string> - <key>LSMinimumSystemVersionByArchitecture</key> - <dict> - <key>x86_64</key> - <string>10.6</string> - </dict> - <key>LSRequiresCarbon</key> - <true/> - <key>WindowState</key> - <dict> - <key>dividerCollapsed</key> - <false/> - <key>eventLogLevel</key> - <integer>0</integer> - <key>name</key> - <string>ScriptWindowState</string> - <key>positionOfDivider</key> - <real>336</real> - <key>savedFrame</key> - <string>231 174 1199 586 0 0 1440 878 </string> - <key>selectedTabView</key> - <string>event log</string> - </dict> -</dict> -</plist> Copied: trunk/Stream-Launcher/Rush AudioStream.app/Contents/Info.plist (from rev 1425, trunk/Rush-Launcher/Rush AudioStream.app/Contents/Info.plist) =================================================================== --- trunk/Stream-Launcher/Rush AudioStream.app/Contents/Info.plist (rev 0) +++ trunk/Stream-Launcher/Rush AudioStream.app/Contents/Info.plist 2010-02-27 19:54:58 UTC (rev 1426) @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleAllowMixedLocalizations</key> + <true/> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>applet</string> + <key>CFBundleIconFile</key> + <string>applet</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>Rush AudioStream</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>aplt</string> + <key>LSMinimumSystemVersionByArchitecture</key> + <dict> + <key>x86_64</key> + <string>10.6</string> + </dict> + <key>LSRequiresCarbon</key> + <true/> + <key>WindowState</key> + <dict> + <key>dividerCollapsed</key> + <false/> + <key>eventLogLevel</key> + <integer>0</integer> + <key>name</key> + <string>ScriptWindowState</string> + <key>positionOfDivider</key> + <real>336</real> + <key>savedFrame</key> + <string>241 56 1199 586 0 0 1440 878 </string> + <key>selectedTabView</key> + <string>event log</string> + </dict> +</dict> +</plist> Deleted: trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/Scripts/main.scpt =================================================================== (Binary files differ) Copied: trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/Scripts/main.scpt (from rev 1425, trunk/Rush-Launcher/Rush AudioStream.app/Contents/Resources/Scripts/main.scpt) =================================================================== (Binary files differ) Deleted: trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/applet.icns =================================================================== (Binary files differ) Copied: trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/applet.icns (from rev 1425, trunk/Rush-Launcher/Rush AudioStream.app/Contents/Resources/applet.icns) =================================================================== (Binary files differ) Deleted: trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/applet.rsrc =================================================================== (Binary files differ) Copied: trunk/Stream-Launcher/Rush AudioStream.app/Contents/Resources/applet.rsrc (from rev 1425, trunk/Rush-Launcher/Rush AudioStream.app/Contents/Resources/applet.rsrc) =================================================================== (Binary files differ) Deleted: trunk/Stream-Launcher/Rush DittoCam.app/Contents/Info.plist =================================================================== --- trunk/Rush-Launcher/Rush DittoCam.app/Contents/Info.plist 2010-02-27 18:29:02 UTC (rev 1424) +++ trunk/Stream-Launcher/Rush DittoCam.app/Contents/Info.plist 2010-02-27 19:54:58 UTC (rev 1426) @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleAllowMixedLocalizations</key> - <true/> - <key>CFBundleDevelopmentRegion</key> - <string>English</string> - <key>CFBundleExecutable</key> - <string>applet</string> - <key>CFBundleIconFile</key> - <string>applet</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>Rush DittoCam</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleSignature</key> - <string>aplt</string> - <key>LSMinimumSystemVersionByArchitecture</key> - <dict> - <key>x86_64</key> - <string>10.6</string> - </dict> - <key>LSRequiresCarbon</key> - <true/> - <key>WindowState</key> - <dict> - <key>dividerCollapsed</key> - <false/> - <key>eventLogLevel</key> - <integer>0</integer> - <key>name</key> - <string>ScriptWindowState</string> - <key>positionOfDivider</key> - <real>336</real> - <key>savedFrame</key> - <string>274 15 1199 586 0 0 1440 878 </string> - <key>selectedTabView</key> - <string>event log</string> - </dict> -</dict> -</plist> Copied: trunk/Stream-Launcher/Rush DittoCam.app/Contents/Info.plist (from rev 1425, trunk/Rush-Launcher/Rush DittoCam.app/Contents/Info.plist) =================================================================== --- trunk/Stream-Launcher/Rush DittoCam.app/Contents/Info.plist (rev 0) +++ trunk/Stream-Launcher/Rush DittoCam.app/Contents/Info.plist 2010-02-27 19:54:58 UTC (rev 1426) @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleAllowMixedLocalizations</key> + <true/> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>applet</string> + <key>CFBundleIconFile</key> + <string>applet</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>Rush DittoCam</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>aplt</string> + <key>LSMinimumSystemVersionByArchitecture</key> + <dict> + <key>x86_64</key> + <string>10.6</string> + </dict> + <key>LSRequiresCarbon</key> + <true/> + <key>WindowState</key> + <dict> + <key>dividerCollapsed</key> + <false/> + <key>eventLogLevel</key> + <integer>0</integer> + <key>name</key> + <string>ScriptWindowState</string> + <key>positionOfDivider</key> + <real>336</real> + <key>savedFrame</key> + <string>241 56 1199 586 0 0 1440 878 </string> + <key>selectedTabView</key> + <string>event log</string> + </dict> +</dict> +</plist> Deleted: trunk/Stream-Launcher/Rush DittoCam.app/Contents/Resources/Scripts/main.scpt =================================================================== (Binary files differ) Copied: trunk/Stream-Launcher/Rush DittoCam.app/Contents/Resources/Scripts/main.scpt (from rev 1425, trunk/Rush-Launcher/Rush DittoCam.app/Contents/Resources/Scripts/main.scpt) =================================================================== (Binary files differ) Copied: trunk/Stream-Launcher/Stream_Launcher.txt (from rev 1425, trunk/Rush-Launcher/Stream_Launcher.txt) =================================================================== --- trunk/Stream-Launcher/Stream_Launcher.txt (rev 0) +++ trunk/Stream-Launcher/Stream_Launcher.txt 2010-02-27 19:54:58 UTC (rev 1426) @@ -0,0 +1,49 @@ +-- +-- Open the most recent archived Glenn Beck/Rush Limbaugh audio/video stream +-- +set myDate to (current date) + +-- Substract up to two days +if (weekday of myDate is Saturday) then + set myDate to myDate - 1 * days +end if +if (weekday of myDate is Sunday) then + set myDate to myDate - 2 * days +end if + +set twoDigitDay to text -2 thru -1 of ("00" & ((day of myDate) + 0)) +set twoDigitMonth to text -2 thru -1 of ("00" & ((month of myDate) + 0)) +set twoDigitYear to text -2 thru -1 of ("00" & ((year of myDate) - 2000)) +set fourDigitYear to text -4 thru -1 of ("0000" & ((year of myDate) + 0)) + + +set audioCode to fourDigitYear * 10000 + twoDigitMonth * 100 + twoDigitDay +set videoCode to twoDigitYear * 10000 + twoDigitMonth * 100 + twoDigitDay + +set GLENN_AUDIO_ARCHIVE to "\"http://www.premiereinteractive.com/cgi-bin/members.cgi?stream=shows/GLENNBECKREAL" & audioCode & "&site=glennbeck&type=real_show&ikey=http%3A%2F%2Fwww.premiereinteractive.com%2Fcgi-bin%2Fmembers.cgi%3Fstream%3Dshows%2FGLENNBECKREAL" & audioCode & "%26site%3Dglennbeck%26type%3Dreal_show\"" + +set GLENN_VIDEO_ARCHIVE to "\"http://www.premiereinteractive.com/cgi-bin/members.cgi?stream=video/" & twoDigitYear & "/" & twoDigitMonth & "/glenncam" & videoCode & "-120b.rm&site=glennbeck&type=real_od&ikey=http%3A%2F%2Fwww.premiereinteractive.com%2Fcgi-bin%2Fmembers.cgi%3Fstream%3Dvideo%2F" & twoDigitYear & "%2F" & twoDigitMonth & "%2Fglenncam" & videoCode & "-120b.rm%26site%3Dglennbeck%26type%3Dreal_od\"" + +set GLENN_AUDIO_LIVE to "" +set GLENN_VIDEO_LIVE to "" + +set RUSH_AUDIO_ARCHIVE to "\"http://stream.rushlimbaugh.com/cgi-bin/members.cgi?stream=shows/RUSHLIMBREAL" & audioCode & "&site=rushlimb&type=real_show\"" +set RUSH_VIDEO_ARCHIVE to "\"http://stream.rushlimbaugh.com/cgi-bin/members.cgi?stream=dittocam/rushlimb" & videoCode & "-128.rm&site=rushlimb&type=real_od\"" + +set RUSH_AUDIO_LIVE to "" +set RUSH_VIDEO_LIVE to "" + +set TARGET_URL to RUSH_AUDIO_ARCHIVE + +do shell script "open -a Firefox " & TARGET_URL + +delay 3 + +tell application "Firefox" to activate + +tell application "System Events" + keystroke "w" using command down -- Command-w to close the current tab. +end tell + +TARGET_URL + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |