xibosignage / xibo-linux Goto Github PK
View Code? Open in Web Editor NEWXibo for Linux - Digital Signage Player
Home Page: https://xibo.org.uk/xibo-for-linux
License: GNU Affero General Public License v3.0
Xibo for Linux - Digital Signage Player
Home Page: https://xibo.org.uk/xibo-for-linux
License: GNU Affero General Public License v3.0
It looks like logs aren't sent with Y-m-d H:i:s format date as expected
OP: https://community.xibo.org.uk/t/linux-player-technology-preview-1-8-beta1/18825/24?u=dan
!image-2019-06-03-10-42-19-786.png|thumbnail!
To recreate schedule a portrait layout on a landscape display
Video widget causes memory used by the process to increase on each iteration, causing the player to crash
Step by step:
Example layout:
https://linuxplayer.xibo.co.uk/layout/view
"Linux Player Test - Video Memory"
Setting a vertical layout to play and having a full screen region puts that region on the left side of the window, outside of the layout area.
Support entrance and exit transitions on media items and regions (fade in/fade out/fly in/out)
There are 4 versions and code versions being used at the moment:
Please can we have the version shown in the status screen and reported to the CMS be
equal to the snap version (clientVersion) / revision (clientCode)
Keep the option to override it in config if the user wants.
The Player should prevent the display from going to screensaver/power saving when the Player is launched.
When it is first started the Player takes a long time to open while it checks all of its resources and makes a connection to XMDS.
During this time the Player should show a splash screen, with a Xibo logo at the bottom right of the window.
This splash screen should also be shown any time the Player doesn't have anything valid to show from the CMS.
After a few hours of operation the OP receives the error in the title. OP: https://community.xibo.org.uk/t/linux-player-technology-preview-1-8-alpha8/18648/2
If the clientX/Y/W/H parameters are 0 then the player should open on the primary monitor in full screen (windowless) mode.
The Player can't start up offline, it logs "Host not found".
When not connected to the CMS, the Player should Play through its currently cached content.
The CMS will URL encode these URLS so that they can be sent in an XML document. The Player should urldecode.
Background image should stretch to the layout dimensions, if the ratio is different from the layout's
Step by step:
Example layout:
https://linuxplayer.xibo.co.uk/layout/view
"Linux Player Test - Background ratio"
Obey the from/to dates on Widgets
When the Player starts up, the mouse pointer should be hidden unless the info screen has been opened.
The Player should start a small embedded webserver listening on the loopback device only (ie on 127.0.0.1 or localhost interface). This should serve any GetResource content downloaded in to the library to the WebView used in the application. That allows "active" content which will not run from a file:// URL to work. The webserver should listen on a configurable port. The CMS will define the value for that.
The Status Window should display useful information to diagnose issues with the Player.
If the hardware key is empty, the player should generate itself a random key and save it to settings before opening the form.
Layout displayed: simple Layout with text and clock widgets
Crashed after 4/5 hours.
Error message:
Segmentation fault (core dumped)
Implement aggregation side CMS options (Individual/Hourly/Daily)
Good day!
The player cannot play m3u8 videostreams, for example this one: https://tv.eenet.ee/hls/konnakotkas.m3u8
The player is 1.8 and CMS version is 2.0.0.
Windows players play this and similar streams nicely.
The status screen shows that the last heartbeat is from 1 hour ago (when the player is in GMT):
General Info:
Date - 2019-May-28 18:34:57
~
XMR Info:
Host - tcp://develop.xibo.co.uk:9505
Last heartbeat - 2019-May-28 17:34:48
Last message - 2019-May-28 16:38:22
Player crashes on start with unexpected end of data message below. Restarting and it immediately starts up without issue.
[13:34:06.636] [019167] [trace]: FileType: media ID: 104508 Size: 187 MD5: d0a675008ae1a4440b4fa6211ebf75a5 FileName: light.template.json DownloadType: 0 [13:34:06.636] [019167] [trace]: FileType: media ID: 104624 Size: 5246920 MD5: e7f889bec9a4cb1f4be83dce8a6fdc33 FileName: 104624.mp4 DownloadType: 0 [13:34:06.636] [019167] [trace]: FileType: layout ID: 812 Size: 1773 MD5: 6874d91603807149825ad3f4d5592a91 FileName: 812.xlf DownloadType: 0 [13:34:06.636] [019167] [trace]: FileType: layout ID: 928 Size: 1832 MD5: c789dc5fd6d9a941a0c0c3abb683a404 FileName: 928.xlf DownloadType: 0 [13:34:06.637] [019128] [debug]: Scheme: 1 HostType: 0 Host: xxx.xibo.co.uk Port: 443 Target: /xmds.php?v=5 [13:34:06.938] [018758] [debug]: Region expired [13:34:06.961] [019171] [debug]: [4327.html] Downloaded [13:34:06.985] [019173] [debug]: [4646.html] Downloaded [13:34:06.995] [019175] [debug]: [4328.html] Downloaded [13:34:06.998] [019128] [debug]: Scheme: 1 HostType: 0 Host: xxx.xibo.co.uk Port: 443 Target: /xmds.php?v=5 terminate called after throwing an instance of 'boost::wrapexcept<boost::property_tree::xml_parser::xml_parser_error>' what(): <unspecified file>(125): unexpected end of data
The above error appears in the logs because Xibo resource HTML is saved with [[viewportwidth]] in the HTML meta tags.
The other players use this to set the width of the viewport at run time - this should be set to the width of the region the first time that widget is loaded.
Layout Change Action
Support XMR messages causing the Player to immediately swap to a different layout on demand for either 1 play through, or for a period of time, before returning to the normal schedule.
Screenshot Action
Take a screenshot immediately
Collect Now Action
Run XMDS collection immediately
No errors in the log (in trace mode), player closes.
Last logs are:
[16:51:51.767] [009095] [debug]: Collection finished. Next collection will start in 60 seconds
[16:52:06.204] [009095] [debug]: Region expired
[16:52:06.204] [009095] [debug]: Duration expired layout sent
[16:52:06.227] [009185] [debug]: [MediaPlayer] Pad added
[16:52:06.227] [009185] [debug]: [MediaPlayer] Video pad
[16:52:06.227] [009185] [debug]: [MediaPlayer] Pad added
[16:52:06.228] [009185] [debug]: [MediaPlayer] Audio pad
[16:52:06.229] [009185] [debug]: [MediaPlayer] No more pads
[16:52:06.267] [009095] [debug]: Discovered file:///home/dan/snap/xibo-player/current/resources/98428.m4v
If the config options are already filled in then we shouldn't show the form.
It is desirable for some feedback on the config form, so that you know whether the details you've entered have been accepted.
The status screen shows that the last heartbeat is from 1 hour ago (when the player is in GMT):
General Info:
Date - 2019-May-28 18:34:57
~
XMR Info:
Host - tcp://develop.xibo.co.uk:9505
Last heartbeat - 2019-May-28 17:34:48
Last message - 2019-May-28 16:38:22
The Player should record Proof of Play events for the Layout and Media and transmit them to the CMS.
Player window should have fixed size and not be resized
A video/video in/local video module can have a widget option for "showFullScreen" which expands the video over the top of existing content and shows it full screen.
Video scale type Aspect does not maintain the ratio and stretches
Step by step:
Example layout:
https://linuxplayer.xibo.co.uk/layout/view
"Linux Player Test - Video widget ratio"
When creating a widget with a background colour with transparency, the background for that widget will render fully transparent.
Step by step:
Example layout:
https://linuxplayer.xibo.co.uk/layout/view
"Linux Player Test - Widgets with transp background"
By stopping the terminal process ( Ctrl + Z ), the window is kept opened and needs a force quit to close.
Support overlaying multiple layouts concurrently on to the running layout with an Overlay schedule.
Layout/Media XLF nodes have an attribute called enableStat which describes whether stats should be recorded for that item or not. The Player should obey the settings.
v2 includes a package HTML module which allows a user to upload a ZIP file containing a complete HTML5 application. This should be shown in a web browser control.
The Player needs to:
It is hard to tell if XMR is functional or not - please can we add the XMR connection details (XMR public address/port) and the last message received time (including heartbeat), to the Info Screen.
We notice some playback issues on lower power devices and wonder whether gstreamer is doing software/hardware decoding.
running debian sid.
downloaded snap alpha9 14
I get a fail to load plugin for gstreamer-1.0/libgstaasink.so, libgpm.so.2
When trying to rerun I do not get file lists only glib::fileerror
Step by step:
Error message:
[000621] [error]: Error occured: HEX color should be 3, 4, 6, or 8 digits with # at the beginning
Example layout:
https://linuxplayer.xibo.co.uk/layout/view
"Linux Player Test - Transparent Background"
( based on Windows player )
Connect Tab:
Advanced Tab:
Buttons and status:
Same downloaded video plays on Totem player, but xibo-player throws error.
Ubuntu 18.04 desktop minimal install, installed all gstreamer found.
(player:2359): Gtk-CRITICAL **: 21:47:41.276: gtk_widget_set_size_request: assertion 'width >= -1' failed
[21:47:41.352] [002359] [error]: [MediaPlayer] Your GStreamer installation is missing a plug-in.
[21:47:41.352] [002359] [error]: [MediaPlayer] GStreamer encountered a general stream error.
Step by step:
Error message:
{code:java}
"(player:19942): Gtk-WARNING **: 16:57:00.486: drawing failure for widget 'gtkmm__GtkFixed': out of memory
(player:19942): Gtk-WARNING **: 16:57:00.486: drawing failure for widget 'gtkmm__GtkOverlay': out of memory
(player:19942): Gtk-WARNING **: 16:57:00.486: drawing failure for widget 'gtkmm__GtkWindow': out of memory
"
{code}
Example layout:
[https://linuxplayer.xibo.co.uk/layout/view]
"Linux Player Test - Paged widget render fail"
Player settings updated
[11:15:57.461] [027952] [debug]: Collection started
[11:15:57.462] [027952] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::property_tree::ptree_bad_path> >'
what(): No such node (sizeX)
Aborted (core dumped)
Support commands - these might reboot the device, restart the Player, or control external devices - e.g. turn off/on TV screen.
Commands are defined in three ways:
<commands>
node of Register Display. They contain a code, a command string and a validate string.The command string should be executed by the Player as the user account running the player and if a validate string is passed the output of the command should be tested and a true/false notify status request sent with lastCommandSuccess
property.
There are various uses cases for commands:
The CMS and other players have support for various other functionality such as RS232 commands, Android intents, HTTP requests, etc. For the moment these are out of scope and can be addressed in a later issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.