Kristin

About

Username
Kristin
Joined
Visits
3
Last Active
Roles
Member

Activity

  • newidea

    Hello Kristin,

    in the thread https://forums.openlp.org/discussion/4209/feature-request-chroma-key-stage-view, there was a solution to hide the bible, is it possible for the new stage view version?

    Luke


    if you want to show only songs on stage you can use this:

    //store current slide type aka "plugin"

     loadService: function(event) {

      $.getJSON("/api/service/list", function(data, status) {

       OpenLP.currentPlugin = "";

       OpenLP.nextSong = "";

       $("#notes").html("");

       for (idx in data.results.items) {

        idx = parseInt(idx, 10);

        if (data.results.items[idx]["selected"]) {

         OpenLP.currentPlugin = data.results.items[idx]["plugin"];



    and then filter out e.g. this way:

     updateSlide: function() {

      if (

       OpenLP.currentTheme ||

       OpenLP.currentBlank ||

       OpenLP.currentPlugin != "songs"

      )

       $("#currentslide").html("");

    January 11
    • Kristin
      Kristin
      Thanks for that pointer. I am working towards something like that and it confirms I'm headed in the right direction at least. Right now I'm stuck on it not updating when switching between items, but it's pretty close.I shoot you a message when I get it figured out (hopefully this week).
    • newidea
      newidea
      Nice. Thank you. That would help for the livestream.
      I search a function, to show the text preview of the next slide. Do you, if it was implemented in OpenLP?

      Luke
    • Kristin
      Kristin
      Hey Luke,

      I haven't fixed the flashing of the image/media title or the occasional need to touch the slide to get it to show despite being unblacked, but my stage.js is in decent working order. It's probably going to be a few weeks before I make any more improvements.

      But you can choose to hide any type of item by adding them to this line:

      // Choices are: songs, bibles, presentations, images, media, custom
      var dontWant = ["images", "presentations", "media"];



      You can see the preview of the next slides if in stage.css you change:
      <!-- <div id="nextslide"></div> -->
      to
      <div id="nextslide"></div>

      But I don't know how to control how many slides you see or any of that sort of thing.
    • newidea
      newidea
      Hey Kristin,
      thank you very much for your good work. It works perfectly.

      I mean the preview of the next slide at the main screen, from the projector. Is it possible?
    • Kristin
      Kristin
      Oh, I have no idea. Definitely above my skill level.