PDA

View Full Version : iTunes support for notification center (song changes, etc.)




Blackened Apple
Aug 4, 2012, 01:43 PM
Hey everyone,

Can anyone tell me if iTunes sends out notifications for events like song changes?



tkermit
Aug 4, 2012, 01:45 PM
It doesn't.

Blackened Apple
Aug 4, 2012, 04:12 PM
Ok, thank you very much. I'd appreciate if it were available, other music apps have similar on-screen notifications...

Blaine
Aug 4, 2012, 04:16 PM
Yeah, this would be pretty cool.

tkermit
Aug 4, 2012, 04:28 PM
You could look for an app that sends out Growl notifications and then install Hiss (http://collect3.com.au/hiss/), which converts them to proper ML notifications (no need for Growl to be installed).

http://f.cl.ly/items/1k2C0C2K2E1s1I3Y1T1y/hiss.png

hafr
Aug 4, 2012, 07:20 PM
Hey everyone,

Can anyone tell me if iTunes sends out notifications for events like song changes?

You could look for an app that sends out Growl notifications and then install Hiss (http://collect3.com.au/hiss/), which converts them to proper ML notifications (no need for Growl to be installed).

Image (http://f.cl.ly/items/1k2C0C2K2E1s1I3Y1T1y/hiss.png)

Install Hiss, then install Bowtie. http://bowtieapp.com

Tada.

heghead
Aug 6, 2012, 02:26 AM
I've created an app which uses AppleScripts and Terminal-Notifier (https://github.com/alloy/terminal-notifier) to display track names as notification centre notifications when the song changes.

I've put it all into a neat little application package for people to easily install and use themselves (see the instructions file inside the ZIP archive).

Here's the link to the ZIP file containing everything you need.

http://www.mediafire.com/?9h01wlo18ptly

Give it a go and let me know how it goes!

nyolc8
Aug 7, 2012, 08:40 AM
I've created an app which uses AppleScripts and Terminal-Notifier (https://github.com/alloy/terminal-notifier) to display track names as notification centre notifications when the song changes.

I've put it all into a neat little application package for people to easily install and use themselves (see the instructions file inside the ZIP archive).

Here's the link to the ZIP file containing everything you need.

https://www.dropbox.com/s/5h9ebi25ecl45c8/NowPlaying.zip

Give it a go and let me know how it goes!

I just Love it! :D Thank you!

hafr
Aug 7, 2012, 10:17 AM
I've created an app which uses AppleScripts and Terminal-Notifier (https://github.com/alloy/terminal-notifier) to display track names as notification centre notifications when the song changes.

I've put it all into a neat little application package for people to easily install and use themselves (see the instructions file inside the ZIP archive).

Here's the link to the ZIP file containing everything you need.

https://www.dropbox.com/s/5h9ebi25ecl45c8/NowPlaying.zip

Give it a go and let me know how it goes!

Wow, that was great, thanks a lot! But a reboot is not necessary :)

I compared it, and Hiss + Bowtie that I recommended took several hundred MB's of RAM, your app only uses 8,4 MB...

roland.g
Aug 7, 2012, 10:23 AM
That's great. I might try that.

But my main question is does the notification go away or do you need to clear it.

One of my beef's with Notifications in iOS is that if it tells me I have new mail and then I read the new mail in the mail app independent of going through the notification to get to it, when I pull down the notification center later on my phone, it still shows. GameCenter does this a lot too. Once I read the mail item or delete it or whatever, I want notification center to be on the same page.

Maybe I have something set up wrong.

Will your app just keep producing a list of songs I needs to remove from the list?

nyolc8
Aug 7, 2012, 11:36 AM
roland.g: notification dissapears automatically from the notification center as soon the music stopped or paused. :)

heghead
Aug 7, 2012, 06:57 PM
Will your app just keep producing a list of songs I needs to remove from the list?

Right before a new track notification is sent to Notification Centre, the previous one is removed. :)

I just Love it! :D Thank you!

Wow, that was great, thanks a lot! But a reboot is not necessary :)

I compared it, and Hiss + Bowtie that I recommended took several hundred MB's of RAM, your app only uses 8,4 MB...

Thanks for the positive feedback everyone! :)

Icy1007
Aug 7, 2012, 08:19 PM
It seems that if I press forward or backwards multiple times it only shows an alert for the first song. I'd have to wait for the alert to disappear before pressing forward/backward for the next song to appear.

EDIT: Hmm, nm. It seems that it has an issue with some song names. Most songs prompt an alert, but some songs won't display an alert.

EDIT2: It seems a pattern of songs that have artists that start with a [ don't display an alert.

EDIT3: Yep, I removed the [ from the beginning of the artist and now it prompts an alert.

Just thought you'd want to know.

heghead
Aug 7, 2012, 08:28 PM
It seems that if I press forward or backwards multiple times it only shows an alert for the first song. I'd have to wait for the alert to disappear before pressing forward/backward for the next song to appear.

Hmm, nm. It seems that it has an issue with some song names. Most songs prompt an alert, but some songs won't display an alert.

I have the same issue. It's caused because of the way the script is written. I tested running the script continually (which would dramatically improve the responsiveness of the notifications) however instead of using 0.5%-2% CPU it used 30+% CPU.

As a compromise the script only runs once every second, dramatically decreasing resources needed, but slowing down the responsiveness of the notifications.

If you do have any songs in particular which don't show a notification, let me know what their names are and I can edit the script to fix it :)

EDIT: Okay, I'll look into a fix for the [ issue! Thanks!!

Icy1007
Aug 7, 2012, 08:37 PM
Activity Monitor is reporting NowPlaying as using between 0.5% and 0.7% of my CPU (Max of 800%).

Does seem right? Just wondering.

EDIT: And it seems to be using more cpu% when no song is playing... using 1.0% when nothing is playing.

Anyway, it's not that big a deal 0.5-1.0 is nothing. Thanks for the script :)

heghead
Aug 7, 2012, 08:45 PM
Activity Monitor is reporting NowPlaying as using between 0.5% and 0.7% of my CPU (Max of 800%).

Does seem right? Just wondering.

Yep, that looks fine to me, same as what I see most of the time :)

I'm looking into the bracket issue now - thanks so much for picking it up. I will have a revision uploaded in a few hours.

Icy1007
Aug 7, 2012, 08:49 PM
Yep, that looks fine to me, same as what I see most of the time :)

I'm looking into the bracket issue now - thanks so much for picking it up. I will have a revision uploaded in a few hours.

I noticed only 2 of my 1000+ songs have a [ as the first character of the artist name. lol.

I just happened to play one of those two when I first started up NowPlaying.

heghead
Aug 7, 2012, 09:50 PM
Hi Everyone,

Please click the link below to download the new version of NowPlaying. It is now hosted on MediaFire so that I can monitor downloads and upload new versions easily.

New to v1.1:

Fixed Square Bracket bug - Thanks to Icy1007 for discovering the bug!


http://www.mediafire.com/?9h01wlo18ptly

diogolg
Aug 7, 2012, 10:02 PM
Hi Everyone,

Please click the link below to download the new version of NowPlaying. It is now hosted on MediaFire so that I can monitor downloads and upload new versions easily.

New to v1.1:

Fixed Square Bracket bug - Thanks to Icy1007 for discovering the bug!


http://www.mediafire.com/?9h01wlo18ptly


Perfect!

bndoarn
Aug 7, 2012, 10:07 PM
I've created an app which uses AppleScripts and Terminal-Notifier (https://github.com/alloy/terminal-notifier) to display track names as notification centre notifications when the song changes.

I've put it all into a neat little application package for people to easily install and use themselves (see the instructions file inside the ZIP archive).

Here's the link to the ZIP file containing everything you need.

http://www.mediafire.com/?9h01wlo18ptly

Give it a go and let me know how it goes!

Thank you so much for this. I spent hours trying to do this the other day (while also trying to learn how to write apple scripts) and I failed miserably. It functioned fine but the CPU usage was ridiculous. However, I did mange to write an applescript by myself that will open your app when iTunes opens and quit when iTunes quits, lol. Thank you again.

Icy1007
Aug 7, 2012, 10:16 PM
Hi Everyone,

Please click the link below to download the new version of NowPlaying. It is now hosted on MediaFire so that I can monitor downloads and upload new versions easily.

New to v1.1:

Fixed Square Bracket bug - Thanks to Icy1007 for discovering the bug!


http://www.mediafire.com/?9h01wlo18ptly


Thanks. I took a look at your script. I like how you fixed the "Bracket Bug".
;)

EDIT: Not sure how adding a space before and/or after the symbol fixes it, but whatever works. lol

heghead
Aug 7, 2012, 10:20 PM
Thanks. I took a look at your script. I like how you fixed the "Bracket Bug".
;)

EDIT: Not sure how adding a space before and/or after the symbol fixes it, but whatever works. lol

Haha thanks :) The issue is actually with the terminal-notifier app I use to send the notifications, so there's no way I can fix it properly :(

I didn't actually add a space, I had to use a different unicode character which looks just like a square bracket with a space before it... lol it was the only solution which I could find which actually worked..

garbeth
Aug 7, 2012, 10:27 PM
Hi Everyone,

Please click the link below to download the new version of NowPlaying. It is now hosted on MediaFire so that I can monitor downloads and upload new versions easily.

New to v1.1:

Fixed Square Bracket bug - Thanks to Icy1007 for discovering the bug!


http://www.mediafire.com/?9h01wlo18ptly

And this is why I love this community! Thanks!

Icy1007
Aug 7, 2012, 10:42 PM
Haha thanks :) The issue is actually with the terminal-notifier app I use to send the notifications, so there's no way I can fix it properly :(

I didn't actually add a space, I had to use a different unicode character which looks just like a square bracket with a space before it... lol it was the only solution which I could find which actually worked..

Oh, really? lol That's interesting.

aziatiklover
Aug 8, 2012, 12:00 AM
Pretty epic! Thanx

rodknocker
Aug 8, 2012, 09:41 AM
I've created an app which uses AppleScripts and Terminal-Notifier (https://github.com/alloy/terminal-notifier) to display track names as notification centre notifications when the song changes.

I've put it all into a neat little application package for people to easily install and use themselves (see the instructions file inside the ZIP archive).

Here's the link to the ZIP file containing everything you need.

http://www.mediafire.com/?9h01wlo18ptly

Give it a go and let me know how it goes!

Where to download your wallpaper? ;-)

kennco
Aug 8, 2012, 09:43 AM
@heghead
Like your little App. Thanks for your work.
Do you think it is possible to bring information Artist/Titel from Radio stream also to the notification.
i.e. http://80.237.156.13/lounge-at
It shows the information in iTunes
http://dl.dropbox.com/u/2849468/share/2012-08/08-png-qDCcZe/f/bildschirmfoto-2012-08-08-um-16-41-13.png

An of course when it changes. The next information of artist/titel comes from the stream. ;)

Would be great. Hope to see more of this soon.
Cheers

heghead
Aug 8, 2012, 09:49 AM
Where to download your wallpaper? ;-)

It's included with Mountain Lion - 8th on the list under "Desktop Pictures". It's called "Circles" :)

rodknocker
Aug 8, 2012, 09:51 AM
It's included with Mountain Lion - 8th on the list under "Desktop Pictures". It's called "Circles" :)

Thanks :D

heghead
Aug 8, 2012, 10:46 AM
@heghead
Like your little App. Thanks for your work.
Do you think it is possible to bring information Artist/Titel from Radio stream also to the notification.
i.e. http://80.237.156.13/lounge-at
It shows the information in iTunes
Image (http://dl.dropbox.com/u/2849468/share/2012-08/08-png-qDCcZe/f/bildschirmfoto-2012-08-08-um-16-41-13.png)

An of course when it changes. The next information of artist/titel comes from the stream. ;)

Would be great. Hope to see more of this soon.
Cheers

What a great idea! In fact it is so great that I have gone ahead and added it!!

Version 1.2 of NowPlaying is now available
It simply adds support for iTunes radio :)

Download here:
http://www.mediafire.com/?9h01wlo18ptly

Thanks for the great suggestion kennco!

gavingamble
Aug 8, 2012, 11:07 AM
Just registered to say thanks, it's exactly what I was surfing for.
So yeah, cheers for sharing it with us,

Gav

kennco
Aug 8, 2012, 11:18 AM
U ARE CRAZY!! So cool. Thanks a lot. :)
Works great! U should be my best mate. ;)

natd1993
Aug 8, 2012, 12:21 PM
Perfect little app, thanks heghead. Do ya think you could add iTunes artwork to the notification?

kennco
Aug 8, 2012, 12:32 PM
What a great idea! In fact it is so great that I have gone ahead and added it!!

Version 1.2 of NowPlaying is now available
It simply adds support for iTunes radio :)

Download here:
http://www.mediafire.com/?9h01wlo18ptly

Thanks for the great suggestion kennco!

BTW is there something we can do for you?
Little Donation or something else? Unfortunately I can't invite you to a drink or so. ;)

bjett92
Aug 8, 2012, 05:24 PM
Thank you! And if you don't want the current song to show in the notification center, just turn off recent items in the notification center settings.

heghead
Aug 8, 2012, 06:28 PM
Perfect little app, thanks heghead. Do ya think you could add iTunes artwork to the notification?

I would LOVE to be able to do that!

...but...

I have looked it and without editing Mountain Lion's core files, it is impossible to customize the icon which is shown. It must be the app's icon. :(

Thanks anyway for the suggestion :)

----------

BTW is there something we can do for you?
Little Donation or something else? Unfortunately I can't invite you to a drink or so. ;)

Hahaha no need thanks :)

I really like it when people log into the forums to say thanks to the developer and give new ideas, and you've already done that :)

Thanks again!

Senseotech
Aug 8, 2012, 06:34 PM
Just wanted to chime in and say thank you for this great app!

acuriouslad
Aug 8, 2012, 06:51 PM
Amazing App!!! Thanks so much! :D

Blackened Apple
Aug 8, 2012, 06:59 PM
Hey heghead,

I just wanted to thank you very much, as the OP ;) I'll only receive my MBA next monday, but I can already see from the feedback that your little app is just what I was looking for. So congratulations on the brilliant work ;)

heghead
Aug 8, 2012, 07:25 PM
Hey heghead,

I just wanted to thank you very much, as the OP ;) I'll only receive my MBA next monday, but I can already see from the feedback that your little app is just what I was looking for. So congratulations on the brilliant work ;)

Haha thanks :)

----------

Amazing App!!! Thanks so much! :D

Just wanted to chime in and say thank you for this great app!

Thanks heaps guys :)

eagandale4114
Aug 8, 2012, 07:32 PM
What a great idea! In fact it is so great that I have gone ahead and added it!!

Version 1.2 of NowPlaying is now available
It simply adds support for iTunes radio :)

Download here:
http://www.mediafire.com/?9h01wlo18ptly

Thanks for the great suggestion kennco!

That is epic.
You did say that editing system files was required for dynamic notification center icons. What tweaks are you looking at? Im curious.

heghead
Aug 8, 2012, 07:56 PM
That is epic.
You did say that editing system files was required for dynamic notification center icons. What tweaks are you looking at? Im curious.

To be honest, I haven't actually looked too deeply into it yet.

Eloy Durán, the creator of terminal-notifer, has this quoted in the application's readme file:

The Notification Center always uses the application’s own icon, there’s currently no way to specify a custom icon for a notification. The only way to use this tool with your own icon is to include a build of terminal-notifier with your icon instead.
- https://github.com/alloy/terminal-notifier/blob/master/README.markdown

In order to get the current icon to display, I had to download the sourcecode of terminal-notifer and change it's icon and name in xCode, then recompile it.

I think that until Apple officially adds support for dynamic icons in notification center, it's won't be possible... Unless there is someone else who is much much much smarter than me and could re-write/tweak the Notification Center app in CoreComponents to support it (I don't even know if that would be possible... lol) :)

Cheers! I hope that answered your question :)

richard.mac
Aug 9, 2012, 12:03 AM
Very epic! and exactly how Apple would do it.. so I like it :D

I didn't like how the songs showed in the Notification drawer, so I simply disabled Show in Notification Centre [5 Recent Items] for iTunes in Notifications prefs.

Also, for anyone still wondering about resources, for me it uses the same resources when iTunes is closed and when playing a song (0.4% & 8.7MB), about the same CPU usage as the Flash plugin. hedhead, maybe the CPU usage could be made 0.0% when idle if possible? Regardless, still very impressive!

heghead
Aug 9, 2012, 12:07 AM
Very epic! and exactly how Apple would do it.. so I like it :D

I didn't like how the songs showed in the Notification drawer, so I simply disabled Show in Notification Centre [5 Recent Items] for iTunes in Notifications prefs.

Also, for anyone still wondering about resources, for me it uses the same resources when iTunes is closed and when playing a song (0.4% & 8.7MB), about the same CPU usage as the Flash plugin. hedhead maybe the CPU usage could be made 0.0% when idle if possible? Regardless, still very impressive!

Hey Richard, glad you like it. I will be releasing a new version soon which will improve performance when iTunes is closed.

Cheers

kennco
Aug 9, 2012, 02:01 AM
Maybe it's nothing, but I saw this today.

https://dl.dropbox.com/u/2849468/share/2012-08/09-png-ottXXn/f/bildschirmfoto-2012-08-09-um-08-56-36.png

Don't know why not all the information is shown.
Just to let you know. Nothing annoying. ;)

heghead
Aug 9, 2012, 02:22 AM
Maybe it's nothing, but I saw this today.

Image (https://dl.dropbox.com/u/2849468/share/2012-08/09-png-ottXXn/f/bildschirmfoto-2012-08-09-um-08-56-36.png)

Don't know why not all the information is shown.
Just to let you know. Nothing annoying. ;)

Yes, this is caused because when iTunes is streaming from a radio station and you ask for the information via applescript it is sent through as a single string (eg "Beautiful Day - U2").

Unlike when you are playing from your library, and they are provided in separate strings: Artist ("U2") and Song name ("Beautiful Day").

Because of this, the script needs to divide up the string in order to display it correctly as a notification. I have programmed it to chop out the (note the spaces either side) " - " and take each side and set one as the artist and one as the song name.

If, however, the song name or artist name contains " - " (with the spaces), it chops at the wrong point. :( Correcting this would be quite tricky. I'll put this in the "Known bugs" list, but I probably won't be able to fix it anytime soon.

Thanks anyway for letting me know :)

mopatops
Aug 9, 2012, 05:12 AM
Just wanted to add a +1 to the huge thankyous you're getting! This was going to be the one I missed since deleting growl so thanks a million. :D

Would it be much work to add Album name to the notification? :o

s0mojo
Aug 9, 2012, 06:02 AM
Exactly what I was after, something simple and uses tiny amount of resources! Thank you heghead very much from a mac newbie!;)

iDunc
Aug 9, 2012, 06:14 AM
WOW what a epic script, thanks loads heghead :):D:)

nyolc8
Aug 9, 2012, 07:48 AM
As I said, I really love this little app. I modified it to get the title "Now Playing" in the notification center to show up in my language by this:

I made a new folder in Now Playing.app/Contents/Resources/Now Playing.app/Contents/Resources/hu.lproj/
(hu is my language)

I copied the "InfoPlist.strings" file from Chess.app/Contents/Resources/hu.lproj/
into the newly created folder, then I keeped only CFBundleDisplayName section in the file and modified the value of it to say "now playing" in my language.

result:
http://i.imgur.com/OyKUR.png

So my suggestion is that it could be translated into various language.:)

And another thing:
I looked into the script file and I found this:
tell application "System Events" to (name of processes) contains appName

So if "iTunes Helper" running only, it's also triggers the script. Or am I wrong?

heghead
Aug 9, 2012, 08:11 AM
As I said, I really love this little app. I modified it to get the title "Now Playing" in the notification center to show up in my language by this:

I made a new folder in Now Playing.app/Contents/Resources/Now Playing.app/Contents/Resources/hu.lproj/
(hu is my language)

I copied the "InfoPlist.strings" file from Chess.app/Contents/Resources/hu.lproj/
into the newly created folder, then I keeped only CFBundleDisplayName section in the file and modified the value of it to say "now playing" in my language.

result:
Image (http://i.imgur.com/OyKUR.png)

So my suggestion is that it could be translated into various language.:)

And another thing:
I looked into the script file and I found this:
tell application "System Events" to (name of processes) contains appName

So if "iTunes Helper" running only, it's also triggers the script. Or am I wrong?

Multiple translations sounds like a great idea!! If you would like to send me your version via private message, I can host it on the MediaFire server and distribute it with the other builds if you'd like? (Also, anyone else out there who would like to provide different versions in different languages, feel free to send them in too).

Regarding the process name point. When I call the appIsRunning sub-routine you'll notice I call it with ("iTunes"). When the processes are sent from System Event, they are supplied with quote marks around them. When calling appIsRunning the quote marks are not used in the same way as you would use them with a variable, they are actually also being sent to the sub-routine. Therefore, because "iTunes" (including the quote marks) is not contained in "iTunesHelper" (including the quote marks), iTunes Helper is not detected.

Thanks for the feedback and suggestions :)

nyolc8
Aug 9, 2012, 08:39 AM
Multiple translations sounds like a great idea!! If you would like to send me your version via private message, I can host it on the MediaFire server and distribute it with the other builds if you'd like? (Also, anyone else out there who would like to provide different versions in different languages, feel free to send them in too).

Regarding the process name point. When I call the appIsRunning sub-routine you'll notice I call it with ("iTunes"). When the processes are sent from System Event, they are supplied with quote marks around them. When calling appIsRunning the quote marks are not used in the same way as you would use them with a variable, they are actually also being sent to the sub-routine. Therefore, because "iTunes" (including the quote marks) is not contained in "iTunesHelper" (including the quote marks), iTunes Helper is not detected.

Thanks for the feedback and suggestions :)
I sent a PM with the translated app. The method that I used is capable to have only one app that contains all the different translations, and OSX itself selects the app language to the system language. So we don't need different versions to each language. :)

sandyjmacdonald
Aug 9, 2012, 08:50 AM
This is fantastic. How hard do you think it would be to make a version that would notify Spotify track changes?

heghead
Aug 9, 2012, 11:07 AM
This is fantastic. How hard do you think it would be to make a version that would notify Spotify track changes?

Coming right up :) I've got it almost perfect. Just having some issues with spotify crashing, as soon as I've figured those out "NowPlaying" will send notifications for iTunes AND Spotify :)

sandyjmacdonald
Aug 9, 2012, 12:37 PM
Coming right up :) I've got it almost perfect. Just having some issues with spotify crashing, as soon as I've figured those out "NowPlaying" will send notifications for iTunes AND Spotify :)

:)

Soundflunky
Aug 9, 2012, 02:35 PM
Great app. Really appreciated. :)

I seem to have come across some more character-based bugginess.

Song is "(Don't Fear) The Reaper".

apptel
Aug 9, 2012, 02:49 PM
Absolutely awesome! Just one thing, is there a smart way to start and close the app whenever i start up or close iTunes?

Thanx again!

heghead
Aug 9, 2012, 04:49 PM
Great app. Really appreciated. :)

I seem to have come across some more character-based bugginess.

Song is "(Don't Fear) The Reaper".

Hmmm I thought that I had squashed this bug with version 1.1. Are you running the latest release?

heghead
Aug 9, 2012, 04:59 PM
Absolutely awesome! Just one thing, is there a smart way to start and close the app whenever i start up or close iTunes?

Thanx again!

Due to the tiny amount of resources which it uses, there is no need for it to do that. In the upcoming release, the app even goes into a low resource sleep mode when iTunes isn't open.. :)

heghead
Aug 10, 2012, 05:42 AM
Hi Everyone!!

Version 1.3 is out! It adds support for Spotify and 8 new languages!!!

I have created a thread solely for NowPlaying so that I can monitor feedback and reach users more efficiently.

Give it a visit: http://forums.macrumors.com/showthread.php?p=15437412 :)

a.rabbani
Aug 13, 2012, 08:18 AM
I have created a similar app. It uses less CPU since it is not a loop checking for current song. Normally between 0.0% and 0.2% of the CPU.

http://onible.com/blog/2012/08/13/itunification-itunes-integration-with-notification-center-in-os-x-mountain-lion/

geoffm33
Aug 13, 2012, 09:14 AM
I have created a similar app. It uses less CPU since it is not a loop checking for current song. Normally between 0.0% and 0.2% of the CPU.

http://onible.com/blog/2012/08/13/itunification-itunes-integration-with-notification-center-in-os-x-mountain-lion/

Any chance you will add Spotify integration?

a.rabbani
Aug 13, 2012, 09:35 AM
Yes. I'll look into it.

nyolc8
Aug 13, 2012, 11:28 AM
I have created a similar app. It uses less CPU since it is not a loop checking for current song. Normally between 0.0% and 0.2% of the CPU.

http://onible.com/blog/2012/08/13/itunification-itunes-integration-with-notification-center-in-os-x-mountain-lion/

Nice but I think that icon is really ugly (sorry). (I wanted to change the title and the icon for myself but the app immediately gets broken and unusable.)
So I'll use Now Playing instead, until these gets fixed.

edit.: I managed to modify the icon and the title, it looks ok now :) I like the 0,0% CPU usage :)

The only problem is when I stop,pause,quit iTunes, the notification stays there.

a.rabbani
Aug 13, 2012, 02:51 PM
Nice but I think that icon is really ugly (sorry). (I wanted to change the title and the icon for myself but the app immediately gets broken and unusable.)
So I'll use Now Playing instead, until these gets fixed.

edit.: I managed to modify the icon and the title, it looks ok now I like the 0,0% CPU usage

The only problem is when I stop,pause,quit iTunes, the notification stays there.

Thanks for your feedback. I also hate the icon. I didn't actually spend much time for that.

The issue with pause, stop, quit is solved. The next version will have a nice icon as well as support for Spotify.

geoffm33
Aug 13, 2012, 06:37 PM
Thanks for your feedback. I also hate the icon. I didn't actually spend much time for that.

The issue with pause, stop, quit is solved. The next version will have a nice icon as well as support for Spotify.

Excellent! Thanks.

heghead
Aug 13, 2012, 06:47 PM
Hi Everyone!!

I'm currently working on an easier way to download and update the app. It's looking pretty cool.

I'll get back to you as soon as it's set up!

jphotography
Aug 15, 2012, 04:30 PM
First of all: Thank you very much for this little tool. I really love it!

I have just noticed one little thing. After installing the version 1.4 you find two Now Playing Apps in the notification center setup. Yon can of course tell the old version (which is really not existing anymore) not to show up in the notification center ... but you can not delete it in that setup panel. that is ... well not so nice ;(

or did i do anything wrong?

Senseotech
Aug 15, 2012, 04:36 PM
First of all: Thank you very much for this little tool. I really love it!

I have just noticed one little thing. After installing the version 1.4 you find two Now Playing Apps in the notification center setup. Yon can of course tell the old version (which is really not existing anymore) not to show up in the notification center ... but you can not delete it in that setup panel. that is ... well not so nice ;(

or did i do anything wrong?

I have two, but one is for iTunes and the other for Spotify. Did you by change end the process for before installing the new one? If not, its very likely they're both running.

iRobby
Aug 15, 2012, 04:59 PM
I've created an app which uses AppleScripts and Terminal-Notifier (https://github.com/alloy/terminal-notifier) to display track names as notification centre notifications when the song changes.

I've put it all into a neat little application package for people to easily install and use themselves (see the instructions file inside the ZIP archive).

Here's the link to the ZIP file containing everything you need.

http://www.mediafire.com/?9h01wlo18ptly

Give it a go and let me know how it goes!

Is this in the Mac App Store?

pdjudd
Aug 15, 2012, 08:33 PM
Is this in the Mac App Store?

Nope. I don't think it would pass the rules.

ourcore
Aug 16, 2012, 05:44 AM
This is amazing, thank you so much for this! I have a similar tweak on my iPhone that displays notifications on song changes, which also doubles as a music controller with gestures, so it's great to have the same function on my Mac.

The only thing I've noticed is that curved brackets in song titles are rather awkwardly aligned in that the bottom end of the bracket doesn't surpass the adjacent letters, as much as it does at the top - of course this is a minor aesthetic detail, but I thought I'd bring it up in case it's more of a Notification Center issue rather than the tweak's. There also seem to be excessive spaces added just before the bracket (see screenshot attached).

Is it also possible to change the Notification heading to just "Now Playing"? I feel like the icon is enough indication as to where the music is being played.

Thanks!

EDIT: It appears that this is an issue with Now Playing as it doesn't occur with iTunification. Now if I can only change it horrible icon :P

EDIT 2: After uninstalling Now Playing, it still appears in the "In Notification Center" list - how can I remove this? Does anybody also know how to change the widget title in the Notification Center? Cheers

jphotography
Aug 16, 2012, 12:06 PM
I have two, but one is for iTunes and the other for Spotify. Did you by change end the process for before installing the new one? If not, its very likely they're both running.

@Senseotech: Both Apps in my notification center are from Now Playing. One is called Now Playing (I think this is the old version) and the other is called Now Playing on iTunes. I installed the new version after I quit the old process and deleted from the application folder. after that I also rearranged the start up settings. The old process is also not listed in the activities panel.





...

EDIT 2: After uninstalling Now Playing, it still appears in the "In Notification Center" list - how can I remove this? Does anybody also know how to change the widget title in the Notification Center? Cheers

@ourcore: That is exactly the same problem as mine. The old app stays in the notification center set up list.


And I just noticed one more little thing: When you are listening to previews in the iTunes Shop ... than Now Playing gets activated again but shows the last title you have played from your music library and not the title you are just previewing.

Kaske
Dec 20, 2012, 10:24 AM
Hi Everyone!!

I'm currently working on an easier way to download and update the app. It's looking pretty cool.

I'll get back to you as soon as it's set up!

Will you be working on a iTunes 11 update any time soon? It seems that NoWPlaying doesn’t yet work with it.

Great little gem of an app., appreciate your effort!

bedifferent
Dec 20, 2012, 02:05 PM
Will you be working on a iTunes 11 update any time soon? It seems that NoWPlaying doesn’t yet work with it.

Great little gem of an app., appreciate your effort!

Just installed 1.4, seems to be working well. What's happening your end?

Running iTunes 11.0.1 on 10.8.3 current DP/Beta on a 12-Core Mac Pro

Kaske
Dec 26, 2012, 02:23 AM
Just installed 1.4, seems to be working well. What's happening your end?

Running iTunes 11.0.1 on 10.8.3 current DP/Beta on a 12-Core Mac Pro

I reinstalled the 1.4 but to no avail (followed the instructions step-by-step), the song notifications won’t show up (I checked the notification settings as well). 11.0.1 iTunes and OS 10.8.2.

zgmg
Mar 30, 2013, 02:33 PM
Thank you.