Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Get Current Track.applescript #48

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mdjhnson
Copy link

@mdjhnson mdjhnson commented Mar 6, 2024

Changes to "Get Current Track.applescript" so that this widget works on macOS Catalina and greater. Removed line breaks and strange characters � that prevent code from running. Also changed references for "iTunes" to "Music"

Background: Starting with macOS Catalina, Apple split iTunes into separate apps: Apple Music, Apple TV, and Apple Podcasts.

mdjhnson added 3 commits March 6, 2024 13:50
Changes to "Get Current Track.applescript" so that this widget works on macOS Catalina and greater. Removed line breaks and strange characters � that prevent  code from running. Also changed references for "iTunes" to "Music"

Background: Starting with macOS Catalina, Apple split iTunes into separate apps: Apple Music, Apple TV, and Apple Podcasts.
Fixed code to pull the right artwork class for Apple Music and use the new favorite property instead of the old "loved"
- fileName now makes use of the Epoch Timestamp in addition to a random number from 1 to 9 to ensure it is unique and Übersicht doesn't cache it.
- adjust isMusicPlaying() to improve how previous cover art was removed and updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant