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

Error when trying to use Apple Music #28

Open
7 tasks done
jrub1 opened this issue Mar 25, 2020 · 2 comments
Open
7 tasks done

Error when trying to use Apple Music #28

jrub1 opened this issue Mar 25, 2020 · 2 comments

Comments

@jrub1
Copy link

jrub1 commented Mar 25, 2020

Checklist

  • I am on the latest version

  • I am on the latest version of dependencies

  • I am on the latest version of Discord

  • I have followed the instructions in the Wiki

Type

Please select what type of issue this is. Please do not use Issues for Support, ask on the Discord!

[ ] Feature Request

[x] Bug Report

Description

When trying to run the Apple Music service, I get this error:

Error: 36:41: syntax error: Expected “then”, etc. but found identifier. (-2741)

    at ChildProcess.<anonymous> (/Users/jrub/SimplePresence/node_modules/node-osascript/lib/index.js:39:15)

Specifications

Version is the version of EasyRPC, Platform is Windows/macOS/Linux, and Platform Version is the version of the platform (e.g. 10.13.1 for macOS, or 10 for Windows.).

  • Version: Latest? Not sure how to find this
  • Platform: macOS
  • Platform Version: 10.15.4
@saumyasinghal747
Copy link

I also see this error, are you working on a fix?

@EthanG45
Copy link

EthanG45 commented Feb 2, 2021

@saumyasinghal747 this bug is caused by the app referencing iTunes.app instead of Music.app. You can change the code on your local download. Let me see if I can find the line.

Edit:
Change the following lines to be Music not iTunes.

applescript(`tell application "iTunes"

applescript(`tell application "iTunes"

tell application "iTunes" to tell artwork 1 of current track

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

No branches or pull requests

3 participants