Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.apps Subject: Re: DVD Player and osascript? Date: 16 Sep 2017 16:36:09 GMT Organization: People for the Ethical Treatment of Pirates Lines: 44 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 40e+iKVYAlnq0b2znhIJeg58IOgzpUKgwyx2hlhsJN9w7iQsOD Cancel-Lock: sha1:WWbirsEyf23KSf64wrtPMwBxQB4= Mail-Copies-To: nobody User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.apps:39501 On 2017-09-16, Paul Förster wrote: > Hi, > > can I list the audio and subtitle track *names* of a DVD with osascript > or some other Mac standard tool? > > I can: > > tell application "DVD Player" to audio track > > and get for example "4" as an answer. But what is "4"? Taking a look at > the menu Features/Audio reveals "4" to be "English 4 (Directors > Comments)". How does DVD Player do that? Looking at the DVD Apple > Script dictionary has no mention of a name list corresponding to the > numbers. DVD Player seems to offer only a very rudimentary scripting interface. I'm afraid you won't be getting the information you want out of DVD Player as a result. > Is there any way to list the names of audio tracks and subtitles > without installing Handbrake and what not? I've searched the net for > quite some time now but found nothing. :-( I'm curious: Why the aversion to installing HandBrake? It's a simple drag-and-drop install, after all. Anyway, I think you need to look somewhere other than DVD Player. If I were going to script something up, I'd probably start by seeing if qt_tools / QT Coffee can do what I want since I am already familiar with them and they work well enough: What is it you are actually trying to accomplish by listing audio and subtitle track names? What is it you are actually trying to do here? -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR