Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.apps > #39514

Re: DVD Player and osascript?

From Paul Förster <paul.foerster@gmx.net>
Newsgroups comp.sys.mac.apps
Subject Re: DVD Player and osascript?
Date 2017-09-16 21:59 +0200
Message-ID <f25e56FbtlqU1@mid.individual.net> (permalink)
References <f24djjF4j1cU1@mid.individual.net> <f2527pF909fU1@mid.individual.net>

Show all headers | View raw


Hi Jolly Roger,

On 2017-09-16 16:36:09 +0000, Jolly Roger said:
> 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.

yes, it's rudimentary but beside not spitting out the selection item's 
names sufficient for my use case.

> I'm curious: Why the aversion to installing HandBrake? It's a simple
> drag-and-drop install, after all.

it's not that I feel bad about Handbrake or something. I just want to 
stick to tools being part of a plain OS installation, if possible. This 
increases portability significantly.

> 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:
> 
> <http://omino.com/sw/qt_tools/>
> 
> <http://web.archive.org/web/20150802051715/http://www.3am.pair.com/QTCoffee.html> 
> 

thanks for the links. I'll check them out.

> 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?

I have a Mini sitting under my TV in the living room that I use to 
watch DVDs. I used a few Apple Remotes, but each one seems to fail 
sooner or later (no, not because of en empty battery). That seems to be 
a common and unsolved problem with Minis. God knows why...

So I need a way to control DVD Player remotely. I wrote a bash script 
that contains osascript calls to control the DVD Player application 
which works great. It shows a progress bar, total, playing and 
remaining time, lets me toggle full screen, closed captions, enter the 
title (PTT) and audio menus, play/pause, fast forward, rewind, move to 
chapters, etc. All fine. :-)

I only wish I could select audio and subtitle tracks by name rather 
than by number. Beside that, the script does exactly what it is 
supposed to do. So I can launch it on my laptop which usually sits on 
my lap when I watch TV or DVD and connect to the Mini in a terminal to 
control the DVD Player remotely.

I could of course analyze the VOB files for language codes but that 
requires me to study the VOB file format which I would like to avoid.

And the crop of the cream would be displaying the region code. ;-)
-- 
cul8er

Paul
paul.foerster@gmx.net

Back to comp.sys.mac.apps | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

DVD Player and osascript? Paul Förster <paul.foerster@gmx.net> - 2017-09-16 12:44 +0200
  Re: DVD Player and osascript? Jolly Roger <jollyroger@pobox.com> - 2017-09-16 16:36 +0000
    Re: DVD Player and osascript? Paul Förster <paul.foerster@gmx.net> - 2017-09-16 21:59 +0200
      Re: DVD Player and osascript? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-16 23:42 +0000
        Re: DVD Player and osascript? Paul Förster <paul.foerster@gmx.net> - 2017-09-26 11:39 +0200
          Re: DVD Player and osascript? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-26 21:33 +0000
            Re: DVD Player and osascript? Paul Förster <paul.foerster@gmx.net> - 2017-09-27 06:05 +0200
              Re: DVD Player and osascript? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-27 11:31 +0000
                Re: DVD Player and osascript? Paul Förster <paul.foerster@gmx.net> - 2017-09-27 19:56 +0200
                Re: DVD Player and osascript? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-27 18:38 +0000
    Re: DVD Player and osascript? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-16 23:34 +0000
      Re: DVD Player and osascript? Paul Förster <paul.foerster@gmx.net> - 2017-09-26 11:42 +0200
        Re: DVD Player and osascript? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-26 21:35 +0000
          Re: DVD Player and osascript? Paul Förster <paul.foerster@gmx.net> - 2017-09-27 06:06 +0200
            Re: DVD Player and osascript? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-27 11:34 +0000

csiph-web