Jump to content



Photo

UDF to control Fire.fm (FireFox-AddOn) with FF.au3


  • Please log in to reply
2 replies to this topic

#1 Stilgar

Stilgar

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 406 posts

Posted 20 March 2009 - 12:33 PM

Here's an example for the FireFox-Addon Fire.fm how to control an FireFox-AddOn via the FF.au3:

_FF_FireFM.au3

Current functions in V5.0:

; _FF_FireFM_BanTrack
; _FF_FireFM_Fader
; _FF_FireFM_GetCurrentStation
; _FF_FireFM_GetFriends
; _FF_FireFM_GetNeighbours
; _FF_FireFM_GetSimilarArtists
; _FF_FireFM_GetStationHistory
; _FF_FireFM_GetTopArtists
; _FF_FireFM_GetTrackInfo
; _FF_FireFM_IsLoggedIn
; _FF_FireFM_IsPlaying
; _FF_FireFM_Loggin
; _FF_FireFM_LoveTrack
; _FF_FireFM_Player
; _FF_FireFM_PlayRandomStation
; _FF_FireFM_SetStation
; _FF_FireFM_SetVolume

Requirement(s).: FF.au3 >= 0.5.3.0 / MozRepl / FireFM

Example Script:
AutoIt         
#Region Includes #include <Array.au3> #include <FF.au3> #include _FF_FireFM.au3 #EndRegion Includes If _FFConnect() Then     _FF_FireFM_Player("Play")     If Not @error Then         Sleep(3000)         ; fading volume         _FF_FireFM_Fader("out")         _FF_FireFM_Fader("in")         ; get title information         $a = _FF_FireFM_GetTrackInfo()         _ArrayDisplay($a)         Sleep(3000)         ; skip the current song         _FF_FireFM_Player()         ; stop playing         Sleep(10000)         _FF_FireFM_Player("Stop")     EndIf EndIf Exit

Edited by Stilgar, 28 April 2009 - 08:24 PM.






#2 Stilgar

Stilgar

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 406 posts

Posted 25 March 2009 - 04:23 PM

Updated to FF.au3 > V0.5.0.0.

#3 Stilgar

Stilgar

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 406 posts

Posted 28 April 2009 - 08:24 PM

Updated to FF.au3 > V0.5.3.0.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users