DebugSmartPlayer/en: различия между версиями
Нет описания правки |
Нет описания правки |
||
Строка 49: | Строка 49: | ||
If the device does not connect to the server, first check the device's access to the server. To do this, simply open the built-in browser on the Android OS device and enter the server address. If the connection goes to https://cms.smartplayer.org, then enter https://api.smartplayer.org as a result, the message '''Cannot GET /''' should appear, this means that the device "sees" the server. | If the device does not connect to the server, first check the device's access to the server. To do this, simply open the built-in browser on the Android OS device and enter the server address. If the connection goes to https://cms.smartplayer.org, then enter https://api.smartplayer.org as a result, the message '''Cannot GET /''' should appear, this means that the device "sees" the server. | ||
If after checking the device remains offline in your account (gray), you can collect logs locally from the device for subsequent transfer to SmartPlayer technical support. To do this, install (or use the standard) file manager (for example: [https://play.google.com/store/apps/details?id=com.File.Manager.Filemanager&hl=ru&gl=US ES File Manager]) to follow the path:<br> '''/sdcard/Android/data/org.smartplayer.android.client/files/Logs/*''' <br> | |||
Insert the flash drive (pre-formatted in fat32) into the device and copy the contents of the entire folder. Then transfer these files to the SmartPlayer technical department. | |||
<br> | |||
<div class="mw-translate-fuzzy"> | <div class="mw-translate-fuzzy"> |
Версия от 16:44, 6 октября 2024
Debugging Tools
SmartPlayer platform provides many tools for debugging when an abnormality occurs.
== Receiving log from device (logs) == Each client application writes an event log to its internal memory of the device, if necessary, it can be obtained and sent for analysis to SmartPLayer technical support, in order to get the most useful logs, do the following:
- In the device settings (Select device -> In the right toolbar Settings), when it is online (green), enable the Debug or Trace logging mode. This will configure the device so that it writes more detailed messages about its work.
- Try to reproduce the abnormal situation on the device
- Go to the device card (Select device -> In the right toolbar Information) and download the archive with the log.
There are two parameters:
- current - the archive with the event log for the current day will be unloaded, as a result of its smaller size. If the network is unstable, the best choice.
- full - the archive with the event log for several days will be unloaded. It can transmit a large amount of data, the network should be more stable.
Getting full device information
Each client application contains full device information, to get it, do the following:
- Log in to your account with your credentials
- Go to the "Devices" menu tab
- Select a device (by clicking on it or in the list), without checking the box
- The device menu will open on the right, select the Information menu item
- In the open device card, click on the "copy to clipboard" icon (in the upper right corner)
The data is copied to the clipboard for further pasting into the required document.
Download broadcast
To analyze the broadcast playback, you can download it from your personal account and send it to SmartPlayer for analysis. To do this, do the following:
- Log in to your personal account
- Go to the "Broadcasts" menu item
- Select the desired broadcast
- In the right toolbar, click the icon - "Download"
After the download starts, depending on the size of the broadcast, we wait for it to download to the working computer. Then you need to transfer the archive without modification when you open a request on the technical support portal.
== Cleaning the device == Cleaning the device, allows you to delete all application data recorded using the SmartPlayer software, these actions reset the application cache. Re-registering the device is not required. Go to the device card (Select device -> Information in the right toolbar) and click the "clear" icon, you will be offered two options:
- Delete all files on the device - this option to delete media files downloaded for offline playback of content. The next time you launch the application, if the current broadcast is not cached on the device, the files will be downloaded again.
- Clear local storage - this option will delete the metadata required for offline playback. The next time you launch the application, if there is not enough metadata for the current broadcast, it will be received from the SmartPlayer server.
Depending on the client application's operating system, it will either reboot or restart.
Download the log of the Android OS device in offline mode
If the device does not connect to the server, first check the device's access to the server. To do this, simply open the built-in browser on the Android OS device and enter the server address. If the connection goes to https://cms.smartplayer.org, then enter https://api.smartplayer.org as a result, the message Cannot GET / should appear, this means that the device "sees" the server.
If after checking the device remains offline in your account (gray), you can collect logs locally from the device for subsequent transfer to SmartPlayer technical support. To do this, install (or use the standard) file manager (for example: ES File Manager) to follow the path:
/sdcard/Android/data/org.smartplayer.android.client/files/Logs/*
Insert the flash drive (pre-formatted in fat32) into the device and copy the contents of the entire folder. Then transfer these files to the SmartPlayer technical department.
Receiving debug messages from your personal account
To analyze what is happening in your personal account, it is enough to provide information from two tabs of the browser debugging tools (Network and Console). Open the debugging tools in the Google Chrome browser by pressing F12, then take an action that causes incomprehensible behavior. After that, take a photo in readable quality of the Network and Console tabs. Next, send the details to support@smartplayer.org or the person in charge of support in your case.
Для открытия локальной консоли устройства с пульта необходимо разблокировать устройство (если заблокирован пульт) и нажать на кнопку "Blue" на пульте, далее необходимо сфотографировать в хорошем разрешении (чтобы читались строки) и прислать фото в support@smartplayer.org или сотруднику тех. поддержки SmartPlayer
Интерфейс можно скрыть, не дожидаясь таймера нажав "Blue" на пульте
Поддержка платформ: WebOS/SSSP/BrightSign
Receiving debug messages from your personal account
To analyze what is happening in your personal account, it is enough to provide information from two tabs of the browser debugging tools (Network and Console). Open the debugging tools in the Google Chrome browser by pressing F12, then perform the action that causes the incomprehensible behavior. After that, copy the Network and Console tabs into a text file. Then send the data to support@smartplayer.org or to the person responsible for support in your case in the technical support system.
How to find out the address / version of the server in the platform and personal account SmartPlayer
To determine the address of the server application, you need to go to your personal account
and go to the "Settings" tab, scroll down the page and click the "About software" hyperlink.
You will be taken to a page with a table and a button to copy it. Click the "Copy table" button and pass the information to the employee who requested it.