[vlc-devel] [PATCH] OSX: NSDistributedNofitication-is-sent-on-playerStateChange

Jan Winter jwinter at gmx.net
Sat Feb 4 20:11:22 CET 2012


Hi,

in my opinion there are 2 possible ways:

1.) either just send a plain notification and let observers fetch additional infos on demand
or
2.) put every little detail into the notification the communicate all possible values such as "title", "filePath", "duration" and so on (like in the iTunes notification (have a look into it with "Notification Watcher")

I decided to go for 1.) as it makes it more simple and observers can fetch what they want afterwards...

Best regards
J.




More information about the vlc-devel mailing list