Re: [SLUG] wanted: hacker for small SFD script

From: Eben King (eben01@verizon.net)
Date: Wed Sep 13 2006 - 13:23:34 EDT


On Wed, 13 Sep 2006, Sick Twist wrote:

>> From: Eben King <eben01@verizon.net>
>> Reply-To: slug@nks.net
>> To: slug@nks.net
>> Subject: Re: [SLUG] wanted: hacker for small SFD script
>> Date: Wed, 13 Sep 2006 11:28:01 -0400 (EDT)
>>
>> On Wed, 13 Sep 2006, Sick Twist wrote:
>>
>>> Won't that run multiple instances of mplayer? Is there a way to tell
>>> mplayer to use only one instance or would we have to add killall mplayer?
>>
>> It would, but you said the movie is only ~25 minutes long. I'm implicitely
>> assuming the former one exits before the current one starts. Of course, if
>> someone pauses it, that assumption breaks.
>>
>> I also didn't come up with a way to kill xdaliclock before the next round
>> starts. Maybe prepend that cron command with "killall mplayer ; killall
>> xdaliclock ;" just to be sure. Heck, you can even get highfalutin' and put
>> it into a script and call that script from cron.
>
> No one will pause the video. This is going to be a box that just starts the
> video every 30 minutes. It needs to be completely automated so we don't have
> to babysit it. I checked out the xine man page and xine has an option to
> automatically exit when the movie is finished. I'm not sure if mplayer has
> similiar capability.

It does by default. I routinely run it without any explicite "exit at end
of movie" directive.

> The xine syntax is something like "xine --no-splash -pfq filename.ogg".

Didn't know oggs could have video, but OK.

> Hmm, but if xdaliclock is launched from crontab every 30 minutes will there
> be only one instance or will the others need to be explicitly killed?

The "killall xdaliclock" turns out to be non-optional. And if you're using
xdaliclock, you might want to use a font that actually exists. That one
doesn't on my system, and is consequently blocky from resizing. Maybe a
TrueType font would look OK?

-- 
-eben   QebWenE01R@vTerYizUonI.nOetP   royalty.no-ip.org:81

An idea that is not dangerous is unworthy of being called an idea at all. -Oscar Wilde ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:09:28 EDT