FasdUAS 1.101.10 l O k l  :4 Alright kiddies, we will be working with an iTunes   l  :4 applescript, so be prepared for anything to happen.  l l 5/ first we must set some troublesome variables.  l r  n  1  pArt 1  pTrk o 0_artist r  n  1  pnam 1   pTrk o 0_song!" !r#$ #n%& %1  pAlb &1  pTrk $o 0_album"'( 'r#)* )n!+, +1!  pTim ,1  pTrk *o 0 _totaltime _totalTime(-. -r$)/0 /1$'  pPos 0o 0 _currenttime _currentTime.12 1r*134 3n*/56 51-/  pBRt 61*-  pTrk 4o 0_bitrate_bitRate278 7r299: 9n27;< ;157  pGen <125  pTrk :o 0_genre8=> =r:E?@ ?n:AAB A1=A  pKnd B1:=  pTrk @o 0 _filetype _fileType>CD ClFFE E)#set _type to location of file trackDFG FlFFH H'!set _sourceKind to kind of sourceGIJ IlFFJKL KlFFM M:4 Since not all songs will have all fields filled in LNO NlFFP P5/ we need to have the blank variables filled in OQR QlFFS S with "Unknown" RTU TlFFV V82if _artist or _song or _album or _genre is "" thenUWX WlFFXYZ YlFF[ [ end ifZ\] \lFF]^_ ^lFF` `71 now. we have 2 problems. First, that the dumb _ab alFFc c60 streams don't work with the retarded variables bde dlFFf f71 I went to the trouble of setting up there ^^^. egh glFFi i1+ second, that _currentTime is in seconds. hjk jlFFklm llFFn n5/ Since order is overrated, let's do the second mop olFFq q1+ one first :-) to do that, we have to do a prs rlFFt t0* byte-shuffle doohickey to accomplish it suv ulFFvwx wrFSyz yIFO{ .sysorondlong doub {lFK| |^FK}~ }oFG 0 _currenttime _currentTime ~mGJ< zo 0_currentminute_currentMinutex rT] `TY oTU 0 _currenttime _currentTime mUX< o 0_currentsecond_currentSecond r^g 1^c  pStT o 0 _streamartist _streamArtist lhh Zh Aho ohk 0_currentsecond_currentSecond mkn rr lr} Ir} .sysoexecTEXTTEXT lry bry mru echo 0 oux 0_currentsecond_currentSecond o 0_currentsecond_currentSecond l l display dialog _fileType l l l l 3- Now that my little whiny problems have been  l 2, taken care of, it's time to start printing  l (" schtuff for the unstreamed audio  l Z = o 0 _filetype _fileType m MPEG audio stream k I .sysoexecTEXTTEXT l b b b b b b b b b b b b b b m echo Now Streaming from " o 0_song m " - " o 0 _streamartist _streamArtist m  - ( o 0_genre m ) - ( o 0_bitrate_bitRate m  KBPS  o 0 _filetype _fileType m ) - ( o 0_currentminute_currentMinute m : o 0_currentsecond_currentSecond m )" l l $else if _kind contains "(remote)" then do shell script ("echo Now Playing: \"" & _artist & "\" - \"" & _song & " - " & _album & " - (" & _genre & ") - (" & _bitRate & " KBPS " & _fileType & " from " & _kind & ") - (" & _currentMinute & ":" & _currentSecond & "/" & _totalTime & ")\"") k I .sysoexecTEXTTEXT l b b b b b b b b b b b b b b b b b b   m  echo Now Playing: "  o 0_artist  m  " - " o 0_song m   -  o 0_album m   - ( o 0_genre m  ) - ( o 0_bitrate_bitRate m   KBPS  o 0 _filetype _fileType m  ) - ( o 0_currentminute_currentMinute m : o 0_currentsecond_currentSecond m / o 0 _totaltime _totalTime m   )" l mnull߀g iTunes.app("$sդ頿Й@sL APPLhohookalis8CompyUH+g iTunes.app7p ApplicationsI2gCompy:Applications:iTunes.app iTunes.app CompyApplications/iTunes.app/ ~}|{zyxwvutsrqponmlkj y.aevtoappnull**** x 0_artist w 0_song v 0_album u0 _totaltime _totalTime t0 _currenttime _currentTime s0_bitrate_bitRate r 0_genre q0 _filetype _fileType p 0_currentminute_currentMinute o 0_currentsecond_currentSecond n0 _streamartist _streamArtistmlkji!hg"#f i.aevtoappnull**** !k$$eehg"#.dcba`_^]\[ZYXWVUTSRQPONML   d pTrk c pArt b 0_artist a pnam ` 0_song _ pAlb ^ 0_album ] pTim \0 _totaltime _totalTime [ pPos Z0 _currenttime _currentTime Y pBRt X0_bitrate_bitRate W pGen V 0_genre U pKnd T0 _filetype _fileTypeS< R.sysorondlong doub Q 0_currentminute_currentMinute P 0_currentsecond_currentSecond O pStT N0 _streamartist _streamArtistM L.sysoexecTEXTTEXTf*,,EO*,,EO*,,EO*,,EO*,EO*,,EO*,,EO*,a,E`Oa!j E`Oa#E`O*a,E`O_aa_%j E`YhO_a@a%a%_%a%%a%%a %_%a!%_%a"%_%a#%j OPYGa$%a%%%a&%%a'%%a(%%a)%_%a*%_%a+%_%a,%%a-%j OPU%%Project 86&& Little Green Men'' Truthless Heroes((3:24)).Christian Post Hardcore**AAC audio file ++02 ~ msng}|{zascr ޭ