|
|
Developers
FStream have some developers abilities. Here is some help about this functionalities.
-
ApppleScript
FStream recognize the apple scripting technology : AppleScript.
You can show the complete list of commands via the Script Editor application in your Application folder. You should go on the "File" menu, then "Open Dictionary" and then select "FStream".
Here some simple scripts examples :
Start playing the selected webradio in FStream
tell application "FStream"
startPlaying
end tell
Stop playing the selected webradio in FStream
tell application "FStream"
stopPlaying
end tell
Start a recording session in FStream
tell application "FStream"
startRecording
end tell
Stop the recording session in FStream
tell application "FStream"
stopRecording
end tell
Get an array of your favourites webradio
tell application "FStream"
listOfPlaylist
end tell
-
PlugIns:
FStream recognize PlugIns to extend its functionalities.
For the moment, only skin are recognized by FStream. Skins are interfaces PlugIns that allow to change the default main window style.
You can build skin with Xcode in Objective-C or in XML with your favourite XML editor. You can donwload examples at this page.
-
fsradio:
FStream recognize a special URL scheme : "fsradio".
With this kind of URL, FStream can be directly used to load a radio, in all kind of application that recognize extended scheme.
The URL can be composed only of the stream URL of the webradio to load, or composed of the stream URL and the stream name separated with a "_" character.
The name is in UTF8 format, and the two items are encoded in base64.
Here some examples :
fsradio://aHR0cDovL3d3dy5zb3VyY2VtYWMuY29tL2ZzdHJlYW0ucGhwP3Bscz0y_RnLDqXF1ZW5jZSAz for "Fréquence 3".
fsradio://aHR0cDovL3d3dy5zb3VyY2VtYWMuY29tL2ZzdHJlYW0ucGhwP3Bscz00_T1XDryBGTQ== for "OUÏ FM".
fsradio://aHR0cDovL3d3dy5zb3VyY2VtYWMuY29tL2ZzdHJlYW0ucGhwP3Bscz0xMw==_TGEgR3Jvc3NlIFJhZGlv for "La Grosse Radio".
fsradio://aHR0cDovL3d3dy5zb3VyY2VtYWMuY29tL2ZzdHJlYW0ucGhwP3Bscz0xMg== for "France Info" without name.
|