Hi,
I'm trying to create a humble app to organize DVDs and launch them in Apple's DVD Player.app using Scripting Bridge. I can control a movie once it's playing, but I keep getting an error when trying to load a disc using a URL:
Apple event returned an error. Event = 'dvdx'\'odvf'{ '----':'utxt'("file://localhost/Volumes/Movies/FullDisc/High%20Fidelity/VIDEO_TS") }
Error info = {
ErrorNumber = -1700;
}
The explanation for ErrorNumber -1700 reads:
Data could not be coerced to the requested descriptor type
This happens whether or not I include the VIDEO_TS at the end.
In the DVDPlayer.h header, the openDvdVideoFolder: says it takes an NSURL as a parameter, which is what I'm passing it, so, I don't understand the error message. Any ideas?
Thanks.
I'm trying to create a humble app to organize DVDs and launch them in Apple's DVD Player.app using Scripting Bridge. I can control a movie once it's playing, but I keep getting an error when trying to load a disc using a URL:
Apple event returned an error. Event = 'dvdx'\'odvf'{ '----':'utxt'("file://localhost/Volumes/Movies/FullDisc/High%20Fidelity/VIDEO_TS") }
Error info = {
ErrorNumber = -1700;
}
The explanation for ErrorNumber -1700 reads:
Data could not be coerced to the requested descriptor type
This happens whether or not I include the VIDEO_TS at the end.
In the DVDPlayer.h header, the openDvdVideoFolder: says it takes an NSURL as a parameter, which is what I'm passing it, so, I don't understand the error message. Any ideas?
Thanks.