DebugSmartPlayer/en: различия между версиями
Admin (обсуждение | вклад) (Новая страница: «==<span id="selfIdentificationdevice">Determine which account the device belongs to (device modification) </span> == To identify the device from the remote contro...») |
Admin (обсуждение | вклад) (Новая страница: «The interface can be hidden without waiting for the timer by pressing '''"2"''' on the remote control <br> Platform Support: WebOS / SSSP / BrightSign») |
||
Строка 34: | Строка 34: | ||
[[Файл:InfoDevice.png|250px|обрамить]] | [[Файл:InfoDevice.png|250px|обрамить]] | ||
The interface can be hidden without waiting for the timer by pressing '''"2"''' on the remote control <br> | |||
Platform Support: WebOS / SSSP / BrightSign | |||
==<span id="localDebugConsole">Отображение локальной консоли</span>== | ==<span id="localDebugConsole">Отображение локальной консоли</span>== |
Версия от 13:14, 27 августа 2021
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.
== 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 operating system of the client application, it will either be rebooted or restarted.
Upload the operation log (logs) of a device on Android OS in offline mode
If the device does not connect to the server, check the device's access to the server first. To do this, it is enough to open the built-in browser on the Android OS device and drive in the server address. If the connection goes to https://cms.smartplayer.org, then type in https://api.smartplayer.org as a result, the message 'Cannot GET /' should appear, this indicates that the device "sees" server.
If after checking the device remains offline in the personal account (gray), you can pick up the logs locally from the device for subsequent transfer to those. SmartPlayer support. To do this, install (or use the standard) file manager (for example:ES File Manager), to go to:
/sdcard/Android/data/org.smartplayer.android.client/files/Logs/*
Insert the USB stick (previously formatted in fat32) into the device and copy the contents of the entire folder. Then transfer these files to the SmartPlayer technical department.
Determine which account the device belongs to (device modification)
To identify the device from the remote control, you must unlock the device (if the remote control is locked) and press the button "1" on the remote control, the application will show the interface in which:
- The name of the device is specified (similar to in your personal account)
- List of accounts participating in the company for which the device is registered
- How long will the information be hidden (in seconds)
The interface can be hidden without waiting for the timer by pressing "2" on the remote control
Platform Support: WebOS / SSSP / BrightSign
Отображение локальной консоли
Иногда не понятно, что происходит с устройством и нет возможности получить логи через личный кабинет, тогда необходимо запустить локальную консоль отладки, для получения сообщений о проблеме. В случае с Android OS
Для локальной консоли устройства с пульта необходимо разблокировать устройство (если заблокирован пульт) и нажать на кнопку "Blue" на пульте, далее необходимо сфотографировать в хорошем разрешении (чтобы читались строки) и прислать фото в support@smartplayer.org.
Интерфейс можно скрыть, не дожидаясь таймера нажав "Blue" на пульте
Поддержка платформ: WebOS/SSSP/BrightSign
Получение отладочных сообщений от личного кабинета
Для анализа, что происходит в личном кабинете достаточно предоставить информацию с двух вкладок инструментов отладки браузера (Network и Console). Откройте в браузере Google Chrome инструменты отладки, нажав F12, далее произведите действие которое вызывает непонятное поведение. После этого сфотографируйте в читаемом качестве вкладки Network и Console. Далее пришлите данные на support@smartplayer.org или ответственному человеку за поддержку в вашем случае.