≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #1144

Feature request #1144: Internet radio track names

Kind feature request
Product Synergy
When Created 2008-09-29T01:14:07Z, updated 2014-02-18T15:01:56Z
Status open
Reporter anonymous
Tags no tags

Description

I recently bought Synergy, unaware of Synergy Advance. Did I get the wrong program, seeing as how Synergy is now being phased out and I am running Leopard? The program seems to work fine for my needs, anyway, though I wonder if I made a mistake, and if there can be any kind of exchange if I really should have bought Synergy Advance.

At any rate, I wanted to suggest that internet radio track names and artists be supported. I listen to a lot of streaming stations (under iTunes' "Radio" category) and they behave oddly in Synergy. The Growl notifications appear when songs change, as they should, but they simply say the name of the station and "Unknown Artist". A preferable behavior would be reporting the title of the song and the artist name. This information is contained in the stream somehow, as it appears at the top of the iTunes window and in the contextual menu when you right-click the iTunes icon in the dock.

There might be some inconsistencies between how different stations format that string, but perhaps a quick web query could identify the real title and artist from a database like Last.fm's? For that matter, it might not be too hard to grab some album art too, thought that may be a bit ambitious. All I know is, I would like for my Growl notifications to provide some useful information when I listen to internet radio. :-)

Comments

  1. Greg Hurrell 2008-09-29T02:45:12Z

    No, I don't think you got the wrong program. Synergy isn't being phased out (although seeing as you are running Leopard I recommend running the 3.2 series rather than the 3.5 one because of an Apple bug that can cause 3.5 to crash -- see ticket #640 -- which I am waiting for Apple to fix).

    Synergy was my first Cocoa program and my first commercial program as well, and looking back I can see that the decision to start work on a separate product with a very similar name was probably a mistake because it has caused a lot of confusion. So I'll try to clarify the difference here:

    Synergy, being my first program, has some inherent design limitations that make it awkward to introduce big new features. But on the other hand it is very solid and stable. So I decided to put Synergy into "maintenance" mode, adding bug fixes and minor new features only, and start a completely new product for the big features which everyone was asking for. In this way I could have one lightweight, simple, easy-to-use product for the majority of customers (Synergy), but also offer a "Swiss Army Knife" of iTunes functionality that included everything (Synergy Advance).

    Because of the confusion that this has caused people do occasionally buy the wrong product by mistake, but I really consider this confusion to be my fault and so I always give these people a license for the right product when they approach me in such a situation.

    On the subject of Internet Radio track names, I am not really sure how to get the track title information despite the fact that it's in the stream. Try opening the AppleScript editor (/Applications/AppleScript/Script Editor) and running a script like this when Internet Radio playback is in progress:

    tell application "iTunes" to get name of current track

    Or:

    tell application "iTunes" to get artist of current track

    Or:

    tell application "iTunes" to get album of current track

    You should see that iTunes doesn't hand over anything meaningful, compared to normal tracks when it does hand over something useful. It may vary from station to station, but in my testing requesting the "name" usually hands over the station name, and requesting "artist" or "album" usually returns "missing value".

    So I'm not really sure how to get at the information in the case of Internet Radio. I think the best course of action might be to file a feature request with Apple asking them to make that info available via AppleScript.

  2. anonymous Created 2008-12-11T02:32:54Z, edited 2008-12-13T12:31:19Z

    This almost works, but I'm not quite sure why not:

    tell application "iTunes"
    	if player state is playing and current track's class is URL track then
    		if current stream title is not "" then
    			print current stream title
    		end if
    	end if
    end tell

    Maybe that will help?

  3. Greg Hurrell 2008-12-13T12:31:46Z

    Can you clarify what you mean by "almost works"? In what way does it not fully work?

  4. VRH 2010-09-29T03:41:53Z

    Wow, this is an old posting, but I wanted to give it a bump and add some information. Wincent, GrowlTunes shows the artist and track info properly. It ships with Growl, so I thought maybe you could look at how GrowlTunes does it to help get Synergy doing it the same way. Here is a screenshot of the two for comparison.

    <http://img.skitch.com/20100929-8x9bba2miwg2ks5e6taii4x9y7.png>

  5. beporter 2014-02-18T02:50:48Z

    This issue has been around forever and I can't offer a fix, but I did want to mention that the same class of issues affects Synergy when playing the new iTunes Radio.

    • Track changes do not notify Synergy, so the floater does not appear automatically.
    • Triggering the hotkey to display the floater manually shows you whatever track from your iTunes library was last playing instead of the currently playing radio track.

    Off-topic: Synergy is an absolute must-have on my Mac. I use a Griffin Powermate to trigger Synergy's hotkeys (which also work directly on the keyboard when I'm on the road. Probably one of the most-used apps on my Mac (after BBEdit).

  6. beporter 2014-02-18T15:01:56Z

    Oh, and I don't know if it will help in finding a solution, but Messages.app seems to be able to keep track of the playing song from iTunes Radio if you set your "away" message to be "Current iTunes song" so it is at least possible to do.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets