Licensing
Description of the Situation
The licensing functionality within the SmartPlayer platform is a mandatory requirement for interacting with the system. A license in the SmartPlayer system represents permission to use devices within our platform. It is purchased for a specific number of devices and has a time limitation, except for the "perpetual" license. Each device added to the platform must have its own license; otherwise, it will not be able to function within the platform.
Available License Types
All licenses have their own type and individual color indication (highlighted in a specific color). There are four types of licenses and color indicators available:
- Inactive or Revoked License — a license that has expired. Indicated in gray.
- “Buyout” License — a license purchased by the user on a perpetual basis. Indicated in blue.
- Paid License with a specified expiration date — a license that operates for a set period. Indicated in green.
- Trial License — a license with a short, fixed period of validity. Also indicated in green. It differs from a paid license by having a shorter lifespan and a different description in the “License Type” field.

Licensing in the SmartPlayer Personal Account
The SmartPlayer personal account provides users with the ability to manage licenses via a dedicated section in the left-hand panel titled “Licenses beta”. To find it, the user must scroll down the panel.

After clicking the section, the user is taken to the main page. The main page displays the following information:
- Company information;
- Company license information;
- Control panel with buttons;
- List of licenses.

Company Information
This section of the page includes the following information:
- Username;
- Company ID;
- Project Manager;
- Company creation date;
- Last account activity.

Company License Information
In this section, the user will see the following license-related details:
- Number of active devices;
- Number of trial licenses;
- Number of subscription licenses;
- Number of buyout licenses.

Control Panel with Buttons
This panel allows the user to perform the following actions:
- Request licenses — a button that lets you request licenses by filling in the required parameters. More details on the page here;
- Upload license file — a button that lets you upload a pre-generated license file;
- Download license summary document (PDF) — a button that lets you download a PDF file with license details. More details on the page here;
- Show/hide inactive licenses — displays licenses that have already expired.

List of Licenses
In this section, the user can view the following information about existing licenses:
- Total number of licenses;
- License color indicator;
- License ID;
- License type;
- License start date;
- License expiration date;
- Days remaining (numerical value — for all licenses except “Buyout” type);
- Tariff;
- Number of available licenses;
- Number of used licenses (shows the number of devices linked to the license and the total number of licenses of this type);
- “View” button for linked devices (clicking opens a page with a list of devices linked to the license).

Лицензии на устройствах
Устройство может получить лицензию несколькими способами:
- При добавлении устройства в личный кабинет SmartPlayer.
- При редактировании параметров устройства в личном кабинете.
- При выделении с помощью чекбокса одного или нескольких устройствС такой реализацией можно ознакомиться прочитав эту страницу.
Установка лицензии при добавлении устройства в личный кабинет SmartPlayer
Добавляя устройства в личный кабинет SmartPlayer пользователь обязательно столкнется с задачей выбрать для этого устройства лицензию. Чтобы начать процесс введения устройства в личный кабинет пользователю необходимо кликнуть на раздел «Устройства» и выбрать подкатегорию «Добавить устройство» в личном кабинете.

Далее откроется страница для двух типов добавления:
- добавление устройство по коду — в данной странице надо найти поле «Выберите лицензию» и выбрать из списка нужную доступную лицензию.

- создание виртуального устройства — эта страница имеет больше параметров к заполнению, но пользователю также необходимо найти поле «Выберите лицензию» и выбрать из списка нужную доступную лицензию.

В обоих случаях после всех действий с устройством и лицензиями пользователю необходимо нажать на кнопку «Сохранить» в нижней части экрана, для применения настроек.
Изменение лицензии при редактировании устройства
Пользователь может изменить тип лицензии при необходимости и условии, что у него есть дополнительные свободные лицензии. Для этого ему необходимо перейти в раздел «Устройства» и выбрать нужное устройство. Далее ему нужно перейти в настройки устройства. Это можно сделать двумя способами:
- С помощью двойного клика на нужном устройстве.
- С помощью клика на устройстве и перехода в левую часть экрана к панели инструментов. На панели инструментов надо категорию «Редактировать».

В обоих случаях откроется окно настроек устройств в котором необходимо найти пункт «Выбрать лицензию».

Personal Account Locking
Upon engaging in unauthorized actions, such as external manipulation of licenses or tampering, SmartPlayer reserves the right to lock the company and its personal account.
Final Outcome
Users can always view their licenses and their statuses. A feature has been created to facilitate easy access to this functionality.