purrloftruth / tuneout

Show your current iTunes, Spotify, Nightbot or Moobot track on your stream, simply and easily
16 stars 3 forks source link

Port TuneOut to AppleScript-Cocoa #12

Open purrloftruth opened 7 years ago

purrloftruth commented 7 years ago

This will enable us to do several things we can't now -- use Sparkle for updates, have a menu bar icon instead of a Dock icon, enable configuration of different features (enabling us to more easily implement #10), etc.

First, though, I will have to properly learn Swift and Apple Events ...

purrloftruth commented 7 years ago

Doing this with AppleScript-Cocoa will enable us to do the same things while not having to port the whole codebase (not to mention learning an entire new language...).

purrloftruth commented 7 years ago

This has begun in commit 66a10e2 in the branch "rewrite".

jeroen-meijer commented 6 years ago

So... Guess this isn't maintained anymore?

purrloftruth commented 6 years ago

@jeroen-meijer I haven't had the time or energy to work on this project or its successor (which is properly written in Swift, not AppleScript-Cocoa) recently, but if you're having trouble with it or need some assistance, feel free to let me know and I'll do what I can to help.

purrloftruth commented 6 years ago

@jeroen-meijer Also, if you are planning on adapting this to suit some other purpose, please keep in mind these changes that are coming in macOS Mojave that may affect the usability of the program: https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave

jeroen-meijer commented 6 years ago

@purrloftruth Thanks for the help and the heads up. The reason I was interested in the Cocoa version was because it may have been easier to build (since I didn't know how to build this).

I didn't add anything monumental, I just wanted TuneOut to make a log files (that persists after shutdown) that contains all the songs played in that session. I added that in and now everything works like I want it to :)

Thanks for all your work on TuneOut (particularly the Spotify compatibility part).