MiStats — new TV viewing module
Starting with Smarty 2.0, a new stand-alone MiStats product is used to plot TV viewing schedules, form collections of popular content, and count other statistics.

All statistics collected in the old ViewStats module will be migrated during the upgrade process to MiStats, making the transition between modules seamless.
The new module is designed to solve all the performance problems of the old one, and also laid an excellent foundation for new reports and graphs. In the next release, it is planned to output statistics on video library views, with the ability to evaluate the most viewable content.
All operators who have already purchased the ViewStats module will install and migrate data to MiStats along with the Smarty 2.0 update.
Feeds for Android TV
In this release, a new module — appeared in the Smarty arsenal; Feeds that allow you to display content tapes on the main page of device firmware.

At the moment, the module is integrated for Android TV and allows you to display movies and channels on TVs of this OS without going directly into the application itself. This functionality allows you to shorten the subscriber’s path to viewing the content seeing a movie poster on the main page of your TV, just one click on it, he falls on his page immediately inside the operator’s application.

After the subscriber has at least once passed a successful authorization in the service his personalized feeds, for example, Favorites or Viewing History, become available to him.

To purchase and customize the module, you can contact your manager 🙂
Viju
+1 integration of the online cinema — this time it is the Viju cinema.

A dedicated film import team downloads the cinema catalog to Smarty, and internal billing mechanisms ensure subscriber subscription creation both on the Viju side and within the platform.
Fortebank
Updated integration with the payment gateway Fortebank — added the ability to save the card for recurrent payments of subscribers.

Advertising
A new field «Priority» has been added for the advertising unit, on the basis of which a decision is now made on the priority of showing commercials:

In addition, there was an option ADS_BLOCK_MAX_AMOUNT limit the number of advertising blocks shown at 1 time.
New version of Django
In this release, we updated the version of the Django Framework used in Smarty. What improvements will this bring to operators?
Well, first of all, the UI and UX of the administration service panel will change and become a little more modern 🙂
Secondly, the new version of the framework allowed us to use its new features: built-in optimizations and functionality.
Therefore, although this change does not seem so significant at once, it will have a very positive impact on product development in the future.
History of watching movies and TV series
In the process of preparing the release 2.0, the mechanism of saving the marks of watched films and series was refactored on a large scale:
- team up
save_content_positionnew options for backup of the history of views in the file; - reduced the number of calls to the database during sending a viewing tag for the film;
- adopted an infrastructure solution to divide Redis into 2 instances: for temporary and permanent data (view history) — this helped divide the data save queue into two separate, thereby reducing the cache load.
Optimizing mass mailings
- For mass mailings, a new field has been added «Duration» allowing you to create mailings with a limited validity period. The functionality is relevant for mailings to TV screens, since such messages reach the subscriber only in the case of a running application accordingly, the option helps to avoid situations in which subscribers previously received messages from a week ago, if they have not started the TV for a long time.

- A new option added
TVMW_MESSAGE_LOG_ENABLEDfor the possibility of disabling logging sending messages — such disabling saves system resources during mass mailings. - Added options TVMW_MESSAGE_DEFERRED_DELETION and TVMW_MESSAGE_DEFERRED_DELETION_COUNT, allowing you to more accurately adjust the mechanism for removing irrelevant messages.
- In addition to the above, a delayed deletion of messages using Redis Queue is now implemented.
Adminka
- Updated logo and favicon in the admin Smarty 🙂
- A new button to upload the entire list of movies to a file

- For the film description field, the HTML editor has been removed for the correct display of descriptions on mobile devices

- New filter based on being online for the device page

TVMW API
- VideoList parameterized
searchnow compatible with the parameterorder. - Method NoAuthportClientChannelList now return the empty line instead of
None of themfieldicon. - New fields
channelandchannel_iconmethodically NoAuthProgramDetail. - In method CustomerTariffSubscribe now the flag « is taken into account;Available for disabling via TVMW API» when changing the basic tariff.
- Methods NoauthSelectionList and NoauthSelectionDetail parameter
profile.
Content API
- The method has been optimized ActorCreate.
- Fixed methods VideoCreate and VideoModify when importing movies.
- Added method ActorModify.
Billing API
- Fixed operation of the parameter
subnetsmethodically AccountCreate. - In response to method AccountInfo fielded
last timeandcreated. - Additional filtering of devices in the method AccountDeviceCreate using parameters
filterandsort. - New method added CustomerSavedCardPay to make a payment with a saved subscriber card.
- In response to methods AccountCreate and AccountModify added account options fields.
External API
- TVMW PaymentComplete Adds Method Challenge post_payment_complete.
New Smarty options
New options have been added:
TVMW_TARIFF_MOBILE_ICON_MAX_HEIGHTandTVMW_TARIFF_MOBILE_ICON_MAX_WIDTH— options for setting the size of tariff icons for mobile devices.TVMW_TARIFF_STB_ICON_MAX_HEIGHTandTVMW_TARIFF_STB_ICON_MAX_WIDTH— options for setting the size of tariff icons for consoles and tvs.- TVMW_CORRECT_IP_LOGIN — the option includes checking basic and optional sessions for IP authorization.
- TVMW_SEND_EMAIL_DEACTIVATED_ACCOUNTS — the option to disable sending messages about connecting tariffs to inactive accounts.
TVMW_LOGIN_REQUEST_MAX_COUNTandTVMW_LOGIN_REQUEST_COUNTING_PERIOD_MINUTES— options to set a limit for sending authorizations per season.TVMW_USE_PHONE_NUMBER_IN_ABONEMENT— the option of installing as a subscription number the last 10 numbers of the subscriber's phone number.
Other
- Verification code from SMS is now written into a log file
smarty_sms.log. - Deleted ucom EPG parser.
- Added additional parameter output
event,startandstopc logs from the method of setting accurate labels.