User Tools

Site Tools


en:tvip_tms_faq_new

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:tvip_tms_faq_new [2022/08/16 17:41]
Виталий Журавлев
en:tvip_tms_faq_new [2023/01/10 16:03] (current)
Виталий Журавлев [How to enable logs at TMS]
Line 6: Line 6:
 Set account login and password and save changes: Set account login and password and save changes:
  
-{{:en:private:​screenshot_from_2020-04-03_12-03-40.png?400|}}+{{:en:screenshot_from_2022-09-30_17-21-02.png?​400|}} ​ 
  
-STB without [[provisioning| provision]],​ may be configure by this way:+STB without [[provisioning| provision]],​ may be configure by this way:  
  
-From the Launcher screen go to TV settings+From the Launcher screen go to TV settings ​ 
  
-{{::stb_login_step_01.jpg?400|}}+{{:en:main1.png?400|}}
  
 Choose Middleware API protocol (same as jsonapi in provision) Choose Middleware API protocol (same as jsonapi in provision)
  
- +{{:en:main2.png?400|}}
-{{::stb_login_step_02.jpg?400|}}+
  
 Setup protocol: Setup protocol:
  
-{{::stb_login_step_04.jpg?400|}}+{{:en:main5.png?400|}}
  
 As server you must setup address of your server, example has http://​tvip.media as server address: As server you must setup address of your server, example has http://​tvip.media as server address:
Line 27: Line 26:
 After applying server you must see "​Register"​ button, click button and enter account credentials. After applying server you must see "​Register"​ button, click button and enter account credentials.
  
-{{::stb_login_step_05.jpg?400|}}+{{:en:main4.png?400|}}
  
 After successful registration you can go to TV interface and check channel availability. After successful registration you can go to TV interface and check channel availability.
  
-{{::stb_login_step_08.jpg?400|}}+{{:en:screenshot_from_2022-10-03_11-01-31.png?400|}}
  
  
Line 113: Line 112:
 From **4.0.11** version icon changed to cinema film in the EPG screen: From **4.0.11** version icon changed to cinema film in the EPG screen:
  
-{{:dvr_4.0.13.jpg?​400|}} ​+{{:en:​screenshot_from_2022-10-03_11-02-50.png?​400|}} ​  
 STB used "deep value" from TMS, if archive unavailable STB return to live stream. STB used "deep value" from TMS, if archive unavailable STB return to live stream.
  
Line 308: Line 308:
  
  
 +===== Channel selection priority =====
 +
 +
 +For a specific channel, you can set a priority - this allows you to show a specific channel after the set-top box goes into standby mode or reboots.\\
 +This is configurable via TMS: create a new channel and in the "​Extra"​ section in the "​Channel Selection Priority"​ field, set the value.\\
 +You could to possible to assign different priorities for channels, the highest priority is selected by default, the use of different priority values ​​allows you to make tariffs with different priority channels.\\
 +
 +{{:​en:​channelprorityen.png?​600|}}
 +===== How to enable logs at TMS =====
 +
 +
 +You should enable logging for each micro-service.\\
 +All log files located in /​var/​log/​tvip-tms folder
 +
 +    * application.log - general log file of application
 +    * framework.log - service log file
 +    * access.log - information of external operation
 +    * audit.log - extended information of external operation
 +
 +Enabling logs to configure file: **/​opt/​tvip-tms/​*/​manager-tvip-tms-//​*name///​application-prod.yml**
 +<​code>​
 +logging:
 +    config: log4j2-example.yml
 +</​code>​
 +
 +
 +Then you should restart micro-service .
 +<​code>​
 +systemctl restart manager-tvip-*name.service
 +</​code>​
 +
 +
 +:!: Where  //*name// - the micro-service name
 +
 +
 +
 +===== How to Reset password for Administrator in TVIP-TMS =====
 +
 +You could reset password for admin user in TVIP-TMS ​
 +
 +  * Connect to your TVIP-TMS server via ssh:
 +<​code>​
 +$ ssh login@tms.example.com
 +</​code>​
 +  *  Connect to TMS database:
 +<​code>​
 +# psql -U tvip-tms tvip-tms
 +</​code>​
 +  * Replace password for user admin, in example used password is **admin**
 +<​code>​
 +tvip-tms=>​ UPDATE admin SET md5pw = '​21232f297a57a5a743894a0e4a801fc3'​ WHERE login = '​admin';​
 +</​code>​
 +  * Leave database console
 +<​code>​
 +tvip-tms=>​ \q;
 +</​code>​
  
 ===== Recommended parameters for icons ===== ===== Recommended parameters for icons =====
en/tvip_tms_faq_new.1660660912.txt.gz · Last modified: 2022/08/16 17:41 by Виталий Журавлев