Request: countdowns

Bug #615611 reported by Eduardo Rivas
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lyricue
Confirmed
Wishlist
Unassigned

Bug Description

It would be nice to be able to set a timer and display it on the server. This should still allow for text being displayed on the screen plainly or as OSD. A font size and type option should be added in the preference dialog for this.

Changed in lyricue:
importance: Undecided → Wishlist
Revision history for this message
ChrisDebenham (chris-debenham) wrote :

This can be done via a shell script such as:

for TIME in `seq 100 -1 0`
  do let mins=($TIME/60)
  let secs=($TIME%60)
  printf "preview::Starts in %d:%d" $mins $secs | nc -q0 localhost 2346
  sleep 1;
done

Changed in lyricue:
status: New → Confirmed
Revision history for this message
Eduardo Rivas (jerivasmelgar) wrote :

Chris, could you explain how to run the script? I'm sorry but I can't see how it relates to Lyricue. Thanks.

Revision history for this message
ChrisDebenham (chris-debenham) wrote :

Attached is an example script to show a countdown.
To use save it to a file - make it executable and then run as "./countdown 90" to countdown from 90 to 0

Revision history for this message
Eduardo Rivas (jerivasmelgar) wrote :

Thanks a lot! Works great. I added and entry to config2 so it is executable from the menu:

App = Count 3 min;/path/countdown.sh 180

However, this basically locks lyricue_display, as you cannot present songs, text or clear the screen; only the countdown is shown. How can I add another entry to config2 to stop the countdown? I tried:

App = Stop countdown;/path/countdown.sh close
App = Stop countdown;killall /path/countdown.sh

Neither worked.

I suggest that this options are integrated into the interface. Mockup attached.

Revision history for this message
ChrisDebenham (chris-debenham) wrote :

The script sets the lyrics text to the message every second - so will overwrite whatever you try to set it to until it finishes.
You could try adding an 'App' line for 'pkill -f countdown.sh'

It could be integrated into the interface if others also think it useful

Revision history for this message
Walter Alvarado (walvd) wrote :

I think it would be useful, as it was mentioned before, the message displayed could be changed in the preferences menu and the countdown duration could be set with either a popup or on the quick edit panel.

Thanks.

Revision history for this message
Eduardo Rivas (jerivasmelgar) wrote :

Chris, I added the App line you suggested, but the process won't die. Do you have any other suggestions?

Revision history for this message
ChrisDebenham (chris-debenham) wrote :

Ahh, try adding a semi-colon to the end of the line. ie:

App = Stop countdown;pkill -f countdown.sh;

Revision history for this message
Eduardo Rivas (jerivasmelgar) wrote :

Great, but is it possible to stop the countdown and clear the screen with a single command?

Revision history for this message
ChrisDebenham (chris-debenham) wrote : Re: [Bug 615611] Re: Request: countdowns

Sure, write a script to run 'pkill -f countdown.sh' and
'lyricue_remote blank' after each other

On 7 November 2010 13:14, Eduardo Rivas <email address hidden> wrote:
> Great, but is it possible to stop the countdown and clear the screen
> with a single command?
>
> --
> Request: countdowns
> https://bugs.launchpad.net/bugs/615611
> You received this bug notification because you are subscribed to
> lyricue.
>
> Status in Lyricue - Lyric Display System: Confirmed
>
> Bug description:
> It would be nice to be able to set a timer and display it on the server. This should still allow for text being displayed on the screen plainly or as OSD. A font size and type option should be added in the preference dialog for this.
>
>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.