
NEW REPORTS
New types of reports have been added to the Smarty administration panel:
- tv viewing allows you to find out the number of minutes viewed for each subscriber for a certain period.

- by the number of subscribers - allows you to see the number of subscribers in different states by day.

In addition, the basic mechanism for creating all reports added the ability to generate them through the RQ task queue, instead of creating in a separate stream. More on RQ: https://micro.im/docs/smarty/scaling-and-redundancy/configuring-asynchronous-task-execution-via-rq
LINKING THE PROMO CODE TO TARIFF ACTIVATION
Now the promotional code can be tied to tariffs in such a way that the discount after its activation will only act on the connection of these tariffs (in other financial transactions, the discount will not apply).

EPG IMPORT OPTIMIZATION
XMLTV parsers
- added support for very large XML files
- added channel parser for the team
epg_channel_import
Exact EpgService tags
Added support for setting accurate timestamps for the transmission program from EpgService. To obtain accurate labels, you need to update Smarty to this version and contact EpgService for the service.
Import of TV channels
For the TV import team epg_channel_import new options have been added:
--fix_duplicatesTo remove duplicate channels with the same external identifier within the same EPG source;verbose- for detailed output of information about the icons downloaded from the source.
Simplified import for Dummy source
Dummy source EPG is usually used for partitioning with cameras, or for those channels that are missing from EPG sources. With its help, hourly time stamps are created, allowing you to more conveniently view archival records. As part of this release, a simplified import was added for this source, which does not recreate existing programs (optional) TVMW_EPG_OPTIMIZE_DUMMY_SOURCE), thus reducing the load on the server.

Forced re-importation of EPG
For the team epg_import new option added -force_reimport forcing the import of EPG without the date of the last update.
CASHING SUPPORT FOR THE SCREEN "ARCHIVE"
Selection caching team cache_record_list i got 2 new parameters:-categories add filters by category to the cache (for display in the Archive screen in the left column of EPG categories)-genres add filters by genre to the cache (for display in the Archive screen in the left column of EPG genres)
For now, the pattern futuristic it is not yet able to display genres of programs in the left column instead of categories, but this will be added in the next release.
More about the Archive screen: https://micro.im/docs/smarty/configuring-and-management/vod-from-archive-records
ADMINKA
New form of editing of advertising block
We have added a step-by-step editor of the advertising unit for more convenient configuration of advertising campaigns.



Changed submenu "Content settings"

REGISTRATION WITH SMS CONFIRMATION
Added the ability to register in the service from the TV screen with the confirmation of the phone number by SMS in conjunction with the service smsc.ru. To set up such registration, it is necessary:
- update Smarty and Engine to this release version;
- configure the SMS gateway in the configuration file, more details: https://mi-smarty-docs.readthedocs.io/ru/latest/installation_and_configuration.html#sms
- include in client.js for the registration template (
registration_available) and select the method of confirming "sms" (phone_confirmation_type), more on options: https://micro.im/docs/smarty/portal-and-apps-settings/portal-settings#метод-подтверждения-номера-телефона-при-регистрации
TVMIDDLEWARE API
- In method
AccountRegisterthe possibility of installing a dealer for a subscriber has been added. - Added a new input parameter
auto_deect_current_cityapplicationWeatherData method. - In response to method
ChannelUrladded a screenshot of the archive transmission. - Method
CustomerTariffSubscriptionCostnow uses the balance of external billing, if applicable. - In method
GenreListrequest parameter addedcategory. - Fixed flag processing error "Show adult content on this device" in method
NoAuthportClientChannelList. - Filters added to SelectionList and NoAuthSelectionList methods
programandtype. - Fixed sorting in method
VideoListfilteredviewed_only=1. - In method
VideoListmovie search has been corrected: now all name fields are used for search, including original and localized ones.
More details: https://microimpuls.github.io/smarty-tvmw-api-docs/
BILLING API
Fixed an error in the AccountCreate method, due to which the PIN field for the account remained empty.
As part of the TransactionCreate method, an optional activation of subscriber accounts when paying using the parameter is implemented activate_accounts.
More details: https://microimpuls.github.io/smarty-billing-api-docs/
OTHER
Fixed the error of displaying the subscriber search widget on the home screen for Smarty Lite residents.
Added the possibility of disability flows for uWSGI, more details: https://micro.im/docs/smarty/configuring-and-management/smarty-config
Fixed a number of errors in the integration modules with cinemas MEGOGO and START.
Completed parsing for the source of information about TMDB films.