Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

24.01.2008 09:22:07
Firefly, Shared Libraries and AppleScript
View

This posting is older than 6 months and can contain outdated information.
Hello, 
I'm a mac noob but an IT guy. 
I've been using Itunes Shared Library with a Firefly server, Airport express as remote speaker, and of course the wiimote and candles. 
I found out that RB won't display the Shared Libraries unless you select it once in Itunes (ie manually). 
Actually even Itunes Applescript doesn't see it before that...maybe the reason... 
Anyway, I found a script (and a bug) at http://husk.org/code/itunes_libraries_connect_and_search.applescript.html 
Just remove the duplicated splitter group 1 in the repeat statement and add it to the mapping of Home button (for instance) as a custom action. 
All good! 

These entries from the FAQ may be relevant to this topic:

Behaviours - Support for iTunes® & AirPlay®
Configuration
Hardware - Apple® Remote
Hardware - Wii™ Remote
User

10.02.2008 10:07:05
Re: Firefly, Shared Libraries and AppleScript
View

This posting is older than 6 months and can contain outdated information.
Here is an updated, localized aware version of the script.

set shared to false

activate application "iTunes"

tell application "System Events" 
set sharedname to localized string "135.006" in bundle path to application "iTunes" 
set playlistname to localized string "135.014" in bundle path to application "iTunes" 
tell process "iTunes"

repeat with the_row in every row of outline 1 of scroll area 1 of splitter group 1 of window 1

-- figure out the name

set the_name to value of static text 1 of the_row

-- the menu we look for to switch off connecting

-- (localized)

if (the_name = playlistname) then

set shared to false

end if

if shared then

-- for some reason we have to show the context menu

perform action "AXShowMenu" of the_row

-- and then dismiss it

key code {49}

end if

-- the menu we look for to switch on connecting

if the_name = sharedname then

set shared to true

log "Got shared"

end if

end repeat

end tell

end tell

User

11.02.2008 21:48:27
Re: Firefly, Shared Libraries and AppleScript
View

This posting is older than 6 months and can contain outdated information.
Hello Andre,

If I run your script on my mac I've got a script error. As I am a totaly Mac noob, I do not know whats the problem. Let's imagine my itunes server name is "xserver", is there something I have to change in your script? I would appreciate, if you could contact direct to my email (hansenwernersen@planet-interkom.de). 
Thanks 
Jochen

Last edited: 11.02.2008 21:48:48 

User

12.02.2008 22:44:30
Re: Firefly, Shared Libraries and AppleScript
View

This posting is older than 6 months and can contain outdated information.
A noob myself... 
I can't see why...Maybe some carriage return that splits a long line... 
Did you run the script in Script Editor first?