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 Attempting to Run Search #10
Comments
mhm. Interesting never saw something like that before. Could you please add some metadata over here? Than I would try my best to replicate this. |
OS X Version: 10.11 Beta (15A278b) but I thought I had updated to the official release, so I will be doing that soon. If you think running the beta is the problem I can try updating to that and getting back to you once I do, that was you don't have to worry about trying to match OS version for testing purposes. |
Updating to the final release of El Capitan seemed to fix things. I have encountered this with other software, so it might be possible that you have an OS X version specified somewhere, but I haven't looked through your project to know that. |
Okay, so that was short lived. I am now encountering the same issue again. Is it possible that some application i have running at the same time is causing this problem? |
Still exactly the same error message? |
I'm having the same problem but only for a particular keyword.
My environment:
|
Okay. I’m still not able to reproduce that. But according to the error message it seems like osascript returns I have no idea why osascript returns But you could try to enlighten me by pasting the following into you Macs (function() {
var playlistName = 'itunes-remote';
var app = Application('iTunes');
var searchTerm = 'tron';
var library = app.libraryPlaylists[0];
var result;
var list;
console.log('itunes =', app.version());
console.log('library =', library.name());
app.run();
result = app.search(library, {
for: searchTerm
});
console.log('matches =', result.length);
console.log('album of first hit =', result[0].album());
try {
app.userPlaylists[playlistName]();
} catch (e) {
console.log('create playlist');
app.make({
new: 'playlist',
withProperties: {
name: playlistName
}
});
}
list = app.userPlaylists[playlistName];
app.delete(list.tracks);
result.forEach(function(element) {
app.duplicate(element, {
to: list
});
});
console.log('play time =', list.time());
//list.play();
return [
playlistName,
result.length
];
})(); What’s the output compared to this screenshot: The script editor should be shipped with every mac. Thanks, Michael |
hello Michael Any thoughts? |
When attempting to run a search with the itunes-remote system I get the following error.
The text was updated successfully, but these errors were encountered: