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

Abbinder -A add to itunes does not work for iTunes 11.1.3 on Mavericks #17

Open
nicodeceulaer opened this issue Nov 8, 2013 · 4 comments

Comments

@nicodeceulaer
Copy link

The code for -A option sends the following applescript command:
tell application "iTunes"\n
add POSIX file "%@"\n
end tell", path, nil];

But this fails because iTunes exects a file alias as parameter to the 'add' command.

This can be fixed by changing the 2nd line to:
add POSIX file "%@" as alias\n\

Please note that iTunes also requires 'path' to be an absolute path. Relative paths will trigger a weird error message.

I've verified the above in a simple bash script using osascript, but don't have the tools installed to update the code and verify my fix.

@gonzoua
Copy link
Owner

gonzoua commented Nov 15, 2013

I can't reproduce it. Could you post sample command line? Is output file on the same disk as input file or is it another volume or network destination?

@kbrock
Copy link

kbrock commented Aug 10, 2014

It is working for me.

Version 2.0 (200)
OS X 10.9.4 (13E28)
iTunes 11.3 (54)

I do notice that it says it is importing whether I specify -A or not, but I believe it only imports if I actually pass the -A parameter.

@patrickrushton
Copy link

Add to iTunes works on my Mac Pro running High Sierra, but not on my MacBook Pro running Mojave.

@kbrock
Copy link

kbrock commented Jun 3, 2020

Thanks @patrickrushton - I'll keep an eye on that when I finally upgrade.

Although changes in the way iTunes works has me rethinking my workflow.

e.g. the fact that speak of a mid sized text file no longer works.
and iTunes changing the way you get files to your phone.

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

4 participants