Support » Plugin: Foyer - Digital Signage for WordPress » repeating slides/channels by time only?

  • Resolved DelphiPhin

    (@delphiphin)


    Hi,

    this is a nice plugin that finally does what I need 🙂
    My only prob: is there a way to remove the date-handling or make a schedule repeat every day by time?

    Let’s say I want to show a timetable up to 11:30 and from 11:30 to 12:30 the lunch-break info, prices, whatever and from 12:30 on again a timetable. Right now I have to set this up for every day again and again, also if nothing changes. Ofcourse I can set a very late end-date, but this is only a workaround and probably this will break the whole thing in the future because nobody thinks about this until the end-date is reached.

    Don’t take me wrong, as I said the time-based scheduling is nice, and pre-planing by date is also a nice feature, but for the project here it would be really cool if there would be a way to repeat one planned channel every day, or let’s say mondays to fridays.

    I tried this: I copied the template for the channel, renamed it and removed the variable that calls (I think?) the calendar-variable, though it only brakes the whole thing. 😉 I need help there 😀

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Menno Luitjes

    (@mennolui)

    Hey there,

    Thanks for your feature request 🙂 I totally understand, that would open up a lot of new possibilities and reduce time spent on managing displays!

    At the moment it is not possible to schedule on a recurring basis or set up multiple schedules.

    It is one of the most requested features so I will definitely add it. But it will take some time to do it right. And it will probably be part of a paid Pro version or add-on (with the free plugin remaining free of course).

    What do you mean by ‘remove the date-handling’? Maybe I can help you there..

    I would definitely pay for that. 🙂

    I thought about removing the part of the plugin that handles the date-scheduling and just using the time.

    By removing <div class=”xdsoft_datepicker active”> from the admin-interface the whole plugin breaks 😛 I assume the scheduling is done somewhere else.

    Plugin Author Menno Luitjes

    (@mennolui)

    Ah, I see. If you want the display to choose between the default and temporary channel based on time only (so daily between the two selected times, forever, ignoring the dates that go with the times), you could maybe hack the code of the display (so the front-end, not the admin). Have a look at public/templates/single-display.php. Only for the brave 😛 you need some programming experience and explore more Foyer code.

    Never change plugin files directly though. You can copy over the file public/templates/single-display.php to your WordPress theme in a folder named foyer/ and Foyer will use that version instead.

    I don’t know, right now a working config would look like this:

    channel 1: 08:00-11:59
    channel 2: 12:00-12:59
    channel 3: 13:00-13:59
    channel 4: 14:00-18:00

    The problem is, this needs to be redone every damn day… that is my prob.
    I will check this if I’m back home. I use a DigitalOcean instance, I broke it often enough 🙂

    Sorry, took longer to finish my work.

    just lemme see if I got this right: If I create a channel “TV” and config it to show “channel 1 and I add a start- and endtime for the temporary-channel “channel 2” let’s say for 01.01.2019 – 01.03.2019 the site under “http://server/foyer/tv/&#8221; will show channel 2 until the end-time is reached, right? What then? Will /tv refresh automatically and load channel 1?

    I noticed some “flaws” here (atleast from my project viewpoint):

    – if I change anything inside of the slides or the channel this change isn’t refreshed on the TV until /foyer/tv is refreshed
    – Youtube-videos don’t start automatically on page-load (atleast if I click on the URL in the “Channel” page of WordPress and use “open in private window”). Haven’t checked how it would behave on a Pi with a fullscreenbrowser.
    – schedulung actually works on a display-base, not on a channel-base (my misconception

    So right now I can’t use Foyer for the project here because I can’t set atleast one channel per Start/End-time. If there would be a per-channel scheduluding I could atleast as many channels as I need to split up the different slides to display.

    I also could avoid the problem that I have to reset everything again for each other day: I could use crontab to automatically edit the wordpress-database to set the end-date to the next day before the Pi runs its shutdown-script.

    Yay? More like meh.

    Plugin Author Menno Luitjes

    (@mennolui)

    just lemme see if I got this right: If I create a channel “TV” and config it to show “channel 1 and I add a start- and endtime for the temporary-channel “channel 2” let’s say for 01.01.2019 – 01.03.2019 the site under “http://server/foyer/tv/” will show channel 2 until the end-time is reached, right? What then? Will /tv refresh automatically and load channel 1?

    Correct! With one difference: You create a display ‘TV’, not a channel ‘TV’. The display URL is the one that you open up in the browser linked to your TV. You got the right URL though.

    – if I change anything inside of the slides or the channel this change isn’t refreshed on the TV until /foyer/tv is refreshed

    All changes should reach your TV, no manual refreshing needed. But it might take 5 – 10 minutes. Full explanation here:
    https://nl.wordpress.org/plugins/foyer/#my%20changes%20are%20not%20directly%20visible%20on%20my%20displays%2C%20what%E2%80%99s%20happening%3F

    If this does not work, please send as much info as possible so I can try to reproduce and fix this for you.

    – Youtube-videos don’t start automatically on page-load (atleast if I click on the URL in the “Channel” page of WordPress and use “open in private window”). Haven’t checked how it would behave on a Pi with a fullscreenbrowser.

    Are you experiencing this problem with the Chrome browser?

    Chrome is becoming stricter and stricter when it comes to auto playing videos. Chrome now blocks auto playing videos with sound as default behaviour. Some workarounds (mostly untested so any feedback is appreciated):

    1. Apply a setting to your Chrome browser so it will always allow autoplay.
    – open a Chrome browser and type: chrome://flags/#autoplay-policy
    – change the “Autoplay policy” setting from “Default” to “No user gesture is required”
    – more info here: https://stackoverflow.com/questions/49921453/how-to-allow-video-autoplay-in-a-google-chrome-kiosk-app-in-version-66-or-later
    2. Mute your video’s.
    3. Run Chrome in kiosk mode (not sure how though..).
    4. Switch to a different browser, for example Firefox.

    Let me know if this helps. If not send as much info as possible so I can try to reproduce and fix this for you.

    About scheduling:

    You are right, there is only one setting for one temporary channel. I’m afraid what you are looking for when it comes to scheduling is not possible with Foyer at the moment. That feature will be added, but it will take some time. Sorry for the wait!

    Duh, and I guess I couldn’t get me something cheap programmed together if I donate for a Pro-version in advance? 😛

    I tried paying for a pro white labeled version, but still waiting myself. 🙂

    • This reply was modified 1 year, 5 months ago by darnellsmith.
    Plugin Author Menno Luitjes

    (@mennolui)

    Hey @delphiphin, sorry, no. A cheap in-between solution still requires multiple days of programming, and I would really like to spend that time on a great Pro version instead 🙂

    Did my hints help to solve those issues by the way? Let me know.

    @darnellsmith, you have mail 🙂

    Good job. I will be waiting with cash to purchase it when done.

    Hey @delphiphin, sorry, no. A cheap in-between solution still requires multiple days of programming, and I would really like to spend that time on a great Pro version instead 🙂

    Yeah kinda, though without scheduling I have to look for another solution. Time-based scheduling is a must for the usecase here.

    Plugin Author Menno Luitjes

    (@mennolui)

    Ok, be sure to check back in a couple of months!

    I also need this and want to pay for it. Delphiphin, if you found some good solution, can you post it here?

    When Foyer has the pro version I will start using Foyer again for sure:)

    Plugin Author Menno Luitjes

    (@mennolui)

    Hi @dennisemaar, sign up for the Foyer Newsletter if you’d like and I will notify you when it’s launched:

    http://eepurl.com/gkiymb

    Best,
    Menno

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘repeating slides/channels by time only?’ is closed to new replies.