fairm010 Posted October 28, 2014 Posted October 28, 2014 Ive been working on this and getting nowhere. As a last resort I have a Sky news stream that I can stick on there.
edie209 Posted October 28, 2014 Posted October 28, 2014 Sky news is better than nothing. Are you willing to share?
fairm010 Posted October 28, 2014 Posted October 28, 2014 Sure, let me tweak the code to hide bars etc and I'll post here when done.
smarties11 Posted November 3, 2014 Posted November 3, 2014 Hi, We've switched our Xibo display on this morning and are also getting an error now on the BBC News 24 live streams. Has anyone been able to work out a solution? I see they still work fine via the BBC News 24 website - I've looked at the underlying code but my coding skills are only basic! Would appreciate any help... Thanks!
Boredguy Posted November 3, 2014 Posted November 3, 2014 I've found a Sky news page to use for now, but it's not exactly a large image compared to the BBC news we used to run. Trying to find a better feed or source code at least.
fairm010 Posted November 3, 2014 Posted November 3, 2014 This is a pointer: BBC clamps down on ILLICIT iPlayer watchers • The Register I'd rather not show Sky news here
mark100 Posted November 3, 2014 Posted November 3, 2014 We moved from the BBC to sky news. Would of preferred to of got BBC working but couldn't find a way. Using skys news feed from youtube now Get your own valid XHTML YouTube embed code
Boredguy Posted November 3, 2014 Posted November 3, 2014 @mark100 excellent. Tweaked the size and that's running happily on our box now.
smarties11 Posted November 3, 2014 Posted November 3, 2014 Awesome, thanks Mark! Works great - appreciate your help on that. Hope the BBC feeds return in some shape or form - it's handy being able to switch to BBC1 or 2 for example when Wimbledon is on!
Nibiru Posted November 3, 2014 Posted November 3, 2014 Awesome, thanks Mark! Works great - appreciate your help on that. Hope the BBC feeds return in some shape or form - it's handy being able to switch to BBC1 or 2 for example when Wimbledon is on! I suspect thats unlikely due to them almost certainly being used by illegal IPTV sites for expats out of the range of the new UK beams on the new Astra satellites. It should be possible to sort a system out fairly easily using the instructions for broadcasting all the DTV muxes across a lan which can be found on the Angry Technician blog site
Boredguy Posted November 3, 2014 Posted November 3, 2014 Broadcasting the DTV muxes does require having a tuner card to begin with, whereas we have just been using the web stream from the BBC themselves. Worst case, I could load the full BBC website and not use Xibo, but all we want is the scrolling news so it looks like something is on the display unit as no-one gives us any other content
Boredguy Posted November 19, 2014 Posted November 19, 2014 We found a spare widescreen monitor kicking around that was not required in a classroom, and decided to use it and a broken laptop for a Xibo status screen for our office. We now have 2 RSS feeds for Office 365 and BBC News scrolling on it, a clock with lesson information, live support call status and 6 cacti graph blocks that rotate between our core switch fibre links, our 2 Internet connection ports and Ruckus Auth/unauthed Clients & total clients per SSIDs. I still have 3 spare panes to put something else into, but can't decide what =/
ITGuyNW Posted April 14, 2015 Posted April 14, 2015 Thanks PHP script <?php date_default_timezone_set('Europe/London'); echo(''); /* print(Date("l")); echo(''); print(Date("F d, Y")); echo(''); echo(''); */ $hour=Date("G"); $minute=Date("i"); if (($hour < "8") || ($hour == "8" && $minute <= "40")) { echo("Before School"); } if (($hour == "8" && $minute > "40")) { echo("Registration"); } if (($hour == "9")) { echo("Period 1"); } if (($hour == 10)) { echo("Period 2"); } if ($hour == 11 && $minute < 20) { echo("Morning Break"); } if (($hour == 11 && $minute > 20) || ($hour == 12 && $minute < 20)) { echo("Period 3"); } if (($hour == 12 && $minute > 20)) { echo("Lunch"); } if (($hour == 13)) { echo("Period 4"); } if (($hour == 14)) { echo("Period 5"); } if (($hour == 15) || ($hour > 15)) { echo("After School"); } echo(''); ?> Hi all Is anyone able to help me run the code above? Xibo just shows the actual code when I try it
kjadams Posted April 15, 2015 Posted April 15, 2015 I have managed to get the above script to work after a fashion. I saved the script as a PHP file (period.php) to c:\xampp\htdocs\ and then added a webpage region in my Xibo layout and pointed it to http://myserver/period.php The problems that I originally had is that the script returned multiple periods as trying to perform calculations based on times are difficult (for me anyway!!!) The way I got over this was to use Internet Beats instead of conventional times, this made comparing start/finish times against actual times a lot easier. The other issue I had is down to daylight saving, the PHP script did not appear to take into account daylight saving and the periods would be 1 hour out. I now have a Summer and Winter PHP file and just swap out as required.
kjadams Posted April 15, 2015 Posted April 15, 2015 date_default_timezone_set('Europe/London'); echo(''); /* print(Date("l")); echo(''); print(Date("F d, Y")); echo(''); echo(''); */ $hour=Date("G"); $minute=Date("i"); $Beat=Date("B"); /* echo ".Beat Time is ". $Beat .""; echo "Real Time is ". date("H:i:s") ."" ; */ if ($Beat < 361) { echo("Before School"); } if ($Beat >=361 && $Beat < 375) { echo("Registration"); } if ($Beat >=375 && $Beat < 410) { echo("Period 1"); } if ($Beat >=410 && $Beat < 444) { echo("Period 2"); } if ($Beat >=444 && $Beat < 455) { echo("Morning Break"); } if ($Beat >=455 && $Beat < 489) { echo("Period 3"); } if ($Beat >=489 && $Beat < 524) { echo("Period 4"); } if ($Beat >=524 && $Beat < 566) { echo("Lunch"); } if ($Beat >=566 && $Beat < 569) { echo("Registration"); } if ($Beat >=569 && $Beat < 604) { echo("Period 5"); } if ($Beat >=604 && $Beat < 639) { echo("Period 6"); } if ($Beat >=639) { echo("After School"); } echo(''); ?> I worked out the @Beats from Internet Time - Swatch® International, the conversion is to about +/- 40 seconds which is good enough for me.PeriodFiles.zip 3
levans Posted March 3, 2016 Posted March 3, 2016 Calling all Xibo wizards. Has anyone setup the 1.7.6 CMS? I'm hitting some strange issues. I can just about license a display from the dashboard, after this though the display status is "the display is out of date but hasn't checked in with the server" and my scheduled layouts won't play. The Xibo options program (on the display machine) isn't happy either. When I save the options I get a weird buggy response that looks like: "SUPPOR type="checkbox">1linky
levans Posted March 3, 2016 Posted March 3, 2016 As if by magic. I turned off error reporting in php.ini... and Xibo is now working!
Recommended Posts