Operator manual
How to run the screens.
The panel inside CTRL TV is labeled TVCTRL. Open it at /app/. The same records are in the classic admin at /admin/.
Start here
A company has a code, such as SHOP1. Under it are sites (a shop, a restaurant, a branch). A site is split into zones (hall, pass, cash desk). Every screen sits in one zone. Playlists hang on the company, on one site, or on one zone.
A screen plays every playlist of its zone, its site, and the company that is inside the date range and inside the hours for today. One file can appear in a playlist more than once. Each line has its own duration.
- Sign in and turn on the authenticator.
- Activate the license. Copy the server key if you still need SoftTech to issue the string.
- Create the company code, a site, and tick the zones.
- Upload files or add a web page, then make a playlist: where it plays, the dates, the hours, the files.
- Open the player on the screen with that company code and confirm the screen into a site and a zone.
Sign in
After the password, the panel and the admin ask for a code from an authenticator app. The first sign-in shows a QR code and ten backup codes. Store the codes somewhere that is not the phone.
- A person who lost the phone: an administrator opens Users, chooses the person, and chooses Reset two-factor authentication.
- The server administrator, with no phone and no backup codes, resets from the server itself:
manage.py twofa_reset <login>. - If the server’s secret key is changed, everyone sets the authenticator up again.
The account menu also has Change password, License, Companies, and Classic admin. Sign out ends the session.
License
Open License. The page shows the server key, a fingerprint of that machine. Send the key to SoftTech with the number of displays. SoftTech returns one signed line. Paste it and activate. Extra spaces and line breaks are removed for you.
The signed line carries the screen count, the end date, the features, and the licensee. Changing the database does not raise the limit. A line that was edited, copied from another server, deleted, or left past its date fails the check. The license page warns from 30 days before the end.
Without a valid license:
- The panel and the admin open the license page.
- The API answers 402.
- Screens stop, delete the playlist they had saved, and show the reason.
- After a renewal, playback returns on its own within a minute.
Screens past the limit are not served. The first confirmed screens keep their content. You cannot confirm another screen once the license is full. A display counts when it is confirmed, which is why the rate is $3 per display per month.
To buy more, or to ask for a trial, use the request form. Include the server key if the machine is already installed.
Company, sites, and zones
The company code is uppercase Latin letters and digits, for example OFFICE. It is the code in the player address. Switch company from the building button in the header. All companies lists them. New company… creates one, if your account may.
Sites are the restaurants, shops, and branches. Zones come from the company directory. Inside a site you only tick the zones that exist there. Rename a zone in the directory and the name changes everywhere. You cannot untick a zone that still has screens. Move the screens first. A screen is always in a zone.
On a site page you see the screens by zone, what is playing now, and the calendar of that place.
Content
Content holds files and web pages. Upload a file straight into the playlists that should carry it. The same file can sit in several playlists, and more than once in one playlist.
Almost every list has a select mode for several rows at once. For files that means: add to playlists or remove, set where they show, change duration, delete.
Video plays to the end of the file. A picture stays for the duration on its playlist line. If you leave the duration alone, a picture stays 10 seconds. Uploaded files live on the server under that company. Each upload has its own address, so players can keep a copy.
Playlists and the calendar
Schedule is a week, a month, and a list. Filter by place. A playlist has a home (company, site, or zone), a date range, and hours for each day. Drag a block to move it. Stretch it to change the hours. After a change you can undo.
Select several playlists to edit dates, hours, and files, to move them, to copy them to other places, or to delete them.
The screen asks the server for its list: a browser every 30 seconds, the Samsung and Android apps every 15. When the playlist changes, new files download and the screen switches. The clock used for “today” and for the hours is the server time zone, set when the server was installed.
Connect a screen
- On the screen, open the player with the company code. The app asks for the server address and the code. A browser or a Raspberry Pi opens the page instead.
- The screen registers itself and shows its id. A browser keeps that id in a cookie. The apps keep a stable id.
- Confirm it. In Screens it sits with the ones waiting. In the admin it is under unconfirmed devices. Or type the 6-digit code from the admin on the screen. Wall screens are confirmed in the wall builder, not here.
- Pick the site and the zone. Playback starts on its own.
| Player | How it connects |
|---|---|
| Samsung app (Tizen, .wgt) | Server address and company code in the app settings |
| Android TV app | The same |
| Browser or Raspberry Pi | http://SERVER/src/media-player/CODE |
| One screen of a video wall | http://SERVER/src/wall-player/CODE |
Use https:// when the server is published with a certificate. CODE is the company code, such as SHOP1. The overview page lists these links for the company you have open.
On the screen card you can rename it, see whether it is on the network, open the remote, and read the schedule. A badge on Screens counts screens still waiting for confirmation.
Remote control
The server recognizes the player when the screen polls. You can correct the type on the screen card. Select several screens to power them, reboot, black the image or wake it, launch the app, set volume, lock the remote, move them, check the link, confirm, or delete.
| Player | From the screen card |
|---|---|
| Samsung | Panel remote over MDC. The app also sends screenshots, web-page scale, and the page log. |
| Android | Black screen, sleep, remote lock and menu PIN, schedule, restart the player, reboot and update the box, rotation, page scale, show the id, screenshot. |
| Browser and Raspberry Pi | Black screen, schedule, reload the page, delete downloaded files, show the id. No volume. |
The server does not call a stick or a browser on its own. They pick up state on the next poll. One-off commands wait in a queue for 15 minutes. The result shows on the screen card and in the Log.
Rotation for a TV hung on its side is 0°, 90°, 180°, or 270°. The value set from the panel wins over the menu on the TV. A portrait video at 1080×1920 fills the screen. A screenshot comes back the way a person in the room sees it. Wall screens do not use this rotation: the wall layout has its own.
Page scale (100, 75, 50 percent) lays a web page out as if the screen were wider, and keeps it full height. It applies immediately. Again, the panel wins over the TV menu.
Clear web page data wipes cookies, storage, and cache for the page on that TV, so a site forgets a login or which screen it was bound to.
Samsung panels over MDC
Professional Samsung panels (QB, QM, QH, and the same family) can be driven directly. The app is not required for this. Household TVs do not have MDC.
From the screen card you can read power, backlight, source, volume, remote lock, and model. You can switch the panel on, send it to standby with network standby, reboot it, blank or restore the backlight while the app keeps running, launch the app (the panel wakes and opens Custom App or URL Launcher), pick HDMI 1–3, set volume, lock the remote and the buttons, and send remote-control keys. Keep the app on screen puts the source back if someone changes it. You can also rotate the panel.
- On the panel: Menu → System → PC connection (MDC) → RJ45. Note the device id, usually 0 or 1, and the Secured Protocol PIN if it is on. The factory PIN is often 0000.
- From the server, check the path. Someone with server access runs
python3 src/mdc.py PANEL-IP. It tries ids 0, 1, and 254. Add--pin 1234when a PIN is set. - On the screen card, turn MDC on. If the panel is on another subnet, fill in the MDC address.
- Once a minute the server reads the panel and sends a command only when the live state disagrees with the settings, or when the schedule says so.
The port is 1515 unless the server configuration changes it. While the panel buttons are locked, the app menu on the panel is locked too. Only the server can unlock it.
On a current Samsung app, a scheduled black screen really turns the backlight off, and it still does that with no network, from the saved schedule. A button on the remote wakes it until the next off time. Full standby uses the panel’s own timers. The panel clock is compared with the server about once an hour and corrected if it is more than two minutes out, so those timers fire on time. The screen card shows whether the timers were written, or why they were not.
Web pages in a playlist
A playlist line can be a page: an order-ready board, a dashboard, anything that updates itself. The page opens full screen and is not cached on the player. The site has to be reachable from the CTRL TV server.
These tokens work in the path and the query string, not in the host:
| Token | Becomes |
|---|---|
{screen} | The screen number from the card |
{device_id} | The screen id |
{device_name} | The screen name |
{company} | The company code |
Example: http://10.0.0.50/screen{screen}/ opens /screen3/ on the screen whose number is 3.
Many sites forbid being shown inside another page, and the TV then shows a blocked-response error. For those, turn on open-through-server. When you add the link, the server checks and turns that on itself if it has to.
- The screen opens a path on your server. The server fetches the site and strips the headers that would block it.
- Links, and calls made by the page, stay on that path. One login, done from the admin, is stored on the server and reused by every screen.
- Video and audio from the page are saved on the server and served from there.
- A looping video that stops after one pass on Samsung is started again.
- The page console, failed loads, and the state of live connections are on the screen card under the page log.
- Clear page data on the remote if the site is stuck on an old login.
If the page fails to open, or the link returns and the page had shown an error, a current app reloads it. Reloads are logged, and they back off if the failure repeats. YouTube is happier as youtube.com/embed/… or as a file you upload. A page that builds unusual addresses may only work in part.
Video walls
Several screens become one wall. The server cuts pictures and video to each screen. The screen receives a file of its own size and plays it like ordinary content. Wall files are a separate library: the source should be the size of the whole wall, not the size of one panel.
Connect a wall screen with the wall player address, or with the video-wall mode in the app. It does not appear in the ordinary screen list, and an ordinary screen does not appear in the builder. To turn a wall screen back into a normal screen, open the normal player address on it. New wall screens wait in the builder. Name them and confirm them there. One screen belongs to one wall.
In Video walls, or in the admin builder at /admin/video-walls/:
- Connect the screens and confirm the new ones.
- Build the wall: grid, resolution of one screen, bezels, how the panels are hung, sync mode. Drag screens into cells. Swap cells. Show numbers puts a large position number on each panel for one hour. Hide numbers clears them.
- Choose what plays: the schedule, the order, the duration of each file.
- Check. The cells preview the slices and list problems: an empty cell, a screen offline, an empty playlist, a cut still running.
The page refreshes status about every 15 seconds. A 2×2 of Full HD screens is a 3840×2160 canvas. If the source is smaller, the file is marked: the picture will look soft.
Pictures are cut immediately. Video is cut in the background, all pieces the same length. Sound is kept on the piece for screen 1-1. Until a clip is ready, screens in time-sync play the whole file, and Syncplay screens wait. Old cuts are kept for a while, so putting a previous layout back does not mean cutting again. Changing which screen sits in which cell, the wall name, or the Syncplay group does not force a new cut.
Sync
By time, on any player. The server sends its clock and the moment the loop started. Each screen works out the current slide. A screen that fell behind catches up at the next change. The clock correction is refreshed on every poll. When the playlist changes, playback restarts at once, without waiting for the end of the current slide.
Samsung Syncplay needs the Samsung app on Tizen 6.5 or newer, with the partner privilege. The panels themselves sync the start and the video. Every playlist line becomes an MP4: the server turns pictures into clips of the right length. The group number is from 1 to 65535, and defaults to the wall number. Two walls on one network need different groups.
If Syncplay is missing, a file did not save, or the panel reports an error, the wall plays by time. The reason is in the app menu on the line about sync, and in the log. To judge a Syncplay wall, put up a clip with a frame counter, wait until step 4 says the cut is finished, confirm the menu says Syncplay and the group number, and film the wall in slow motion.
Portrait panels
In step 2, set how the panels are hung: horizontal, vertical clockwise, vertical counter-clockwise, or upside down. A single cell can be rotated on its own. The preview matches the wall as it hangs. The server rotates during the cut, so the screen receives a file that is already turned. Leave the orientation in the panel menu at normal. If the picture is upside down, pick the other direction. The mode “one picture on every screen” does not apply rotation.
Disk: the number of cut files is the number of playlist files times the number of screens. A 2×2 with 20 pictures is 80 JPEG files, on the order of 30–50 MB. Cut video is about the size of the source. Give the server room for the source and the cuts, and more CPU if walls are cut often.
People and rights
Rights are the Django groups you already know from the admin. A section of the panel follows a record type: screens are devices, content is media files, the schedule is playlists. View opens the section. Add creates. Change covers edits and the remote. Delete removes. A person sees only their companies. A superuser sees all of them.
If a section says there is no access, an administrator grants it in /admin/. Those rights apply in the panel immediately.
The Log is the audit log: who, when, and what changed. Use it when a playlist moved and nobody is sure who stretched it.
Offline playback, signing, and app updates
Files stay on the device. The Samsung app keeps them on the panel. A browser uses the Cache API when the server is HTTPS, and IndexedDB when it is HTTP. Playback continues through a network cut. Files that have left every playlist are deleted from the device.
The Android app checks that the playlist was signed by this server and that each file matches its fingerprint. A swapped file does not play, and the panel gets an alert. Turn strict mode on for a company with “verified content only”. Browser players do not check content. The panel marks them as unchecked. The signing key is created when the server is installed. Do not create a second one: Android players in strict mode will refuse playlists signed by a new key. The key belongs in the backup of that server.
The admin stores the current Android, Samsung, and Raspberry Pi player versions. The panel marks screens that are behind. Android installs an update by itself or from the button on the screen card. The Samsung package installs over the old one and keeps the screen id and the settings. Real screenshots on Samsung need the partner certificate.
On the screen, short lines cover the waiting states: loading, checking, no link, no playlist. A web page that dies because the TV ran out of memory is opened again instead of taking the player down. The page log on the card is where you read the console, failed loads, and, for pages opened through the server, the live connection and the video.
Where the server sits
CTRL TV is installed for you, on a machine you control. SoftTech does that work with the server guide that ships with the software. Four shapes are enough for almost every building:
| Setup | Staff from outside | Screens need internet | |
|---|---|---|---|
| Server on the LAN | Simplest | No | No |
| VPS with a domain and HTTPS | Simple | Yes | Yes |
| VPS only over VPN | Harder | Yes | Yes. Android TV can run a VPN client. A plain smart TV cannot. |
| LAN, plus remote access | Harder | Yes | No. Screens still take files locally. |
Plan for at least 2 CPU cores and 4 GB of memory, and for disk well above the size of your video. Wall cuts need about as much disk again as the source clips. Schedules follow the server time zone, so set that to the time zone of the screens, not the time zone of the data center, when they differ.
Day to day you should not need the server console. Sign in, confirm screens, and edit the schedule. When a license, a lost authenticator, or a wall cut needs someone on the machine, that is a SoftTech or administrator job. Write to info@softtech.by or send the request with the server key from License.