You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the introduction of Apple Music app on macOS, I believe the iTunes commands have stopped working.
Reproduction Steps
$ m itunes status
29:41: syntax error: A identifier can’t go after this identifier. (-2740)
iTunes is currently .
/usr/local/Cellar/m-cli/0.2.5/plugins/itunes: line 30: [: =: unary operator expected
Proposed Resolution
Fortunately, I think the solution is as simple as replacing instances of iTunes in osascripts to Music.
$ osascript -e 'tell application "iTunes" to artist of current track as string'
39:52: syntax error: A identifier can’t go after this identifier. (-2740)
$ ^iTunes^Music
osascript -e 'tell application "Music" to artist of current track as string'
Michael St Laurent
I will continue to test iTunes commands and submit a patch, including to replace m itunes with m music subcommand.
Info
$ m info
ProductName: Mac OS X
ProductVersion: 10.15.6
BuildVersion: 19G73
The text was updated successfully, but these errors were encountered:
$ m itunes vol 0
35:41: execution error: The variable volume is not defined. (-2753)
39:45: execution error: The variable volume is not defined. (-2753)
$ m itunes vol up
35:41: execution error: The variable volume is not defined. (-2753)
39:45: execution error: The variable volume is not defined. (-2753)
Bug Report
Since the introduction of Apple Music app on macOS, I believe the iTunes commands have stopped working.
Reproduction Steps
Proposed Resolution
Fortunately, I think the solution is as simple as replacing instances of
iTunes
in osascripts toMusic
.I will continue to test iTunes commands and submit a patch, including to replace
m itunes
withm music
subcommand.Info
The text was updated successfully, but these errors were encountered: