Оставить заявку
  1. Документация
  2. Releases
  3. Smarty
  4. 05-26 | Smarty 2.10 | Dealers, promo codes, adminka

05-26 | Smarty 2.10 | Dealers, promo codes, adminka

Dealer API

Added a new group of API-methods for managing dealer subscribers — Dealer API.

With the help of this group of methods, the dealer can manage only his subscribers, without gaining access to the management of the rest. The API key for accessing these methods is set on the dealer creation page in the administration panel.

An option has also been added DEALERS API NO DEFAULT TARIFF ASSIGN to disable default hanging tariffs when creating subscribers.

Promo codes (relevant to included) check_accounts)

The mechanism of the promo code for connecting the free tariff & # 8212 has been improved; now it activates inactive accounts when connecting, and also shifts the deactivation date a month ahead. In addition, the work of connecting the archival tariff through the promo code mechanism was adjusted.

Video library and external cinemas

Episode viewing

An episode is considered viewed if its last saved viewing position is close to its duration — the calculation previously used the duration specified in the asset, this release added a follback to obtain this duration for the episode in its absence from the asset.

Import of meths from an external source

Optimized the import of meta for films and TV series with a large number of actors & # 8212; now not all personas are downloaded, but only a fixed amount that can be adjusted with new options TVMW MDB LIMIT MAX ACTORS and TVMW MDB LIMIT MAX DIRECTORS.

Scheduled episodes

The series has added a new flag « Scheduled episode» — with it you can create still unreleased episodes of the series and display them in the interface. And this functionality is supported in integration with the START cinema.

At the moment, the functionality is not yet supported in public templates.

Subscriptions and access to films

  • Adjusted the work of internal subscriptions with the type «Lease».
  • To calculate the availability of internal films, an account of devices exhibited from streaming services was added.
  • The condition of inaccessibility of the external cinema has been processed: in case of an error of unsubscribe from an external cinema, the subscription on the Smarty side will remain open.

Optimization of scripts for creating and cleaning archival films

Optimized work of management teams make_vodpvr and clean vodpvr &# 8212; by execution time and by amount of occupied ram.

Improvement of Premier and Viju film import teams

For the Premier import team, fallbacks are added in case of temporary unavailability of individual requests — retry mechanisms. For the Viju team, the loading of some types of images from both the cinema itself and the external meta system has been adjusted — tmdb.

Authorization mechanisms

  • A new option added TVMW REMOVE BASIC SESSION ON LOGOUT remove basic logout sessions.
  • With IP authorization, priority is now given to the account with the smallest pool of specified IP addresses (a more accurate subnet), rather than the last updated one, as was previously the case.
  • Added a new configuration option that includes detailed logging to create and delete sessions — TVMW LOG AUTHKEY CHANGE.
  • The logging of the method responsible for sending messages and updating the status of the account in the application is also extended.

Admin panel

Extensive work was carried out with a report on the actions of subscribers:

  • filter operation «Type » during its generation;
  • added a filter according to the type of device that is attached to the subscriber;
  • expanded the context of the action «Data modified» — now indicates what data was changed as part of this action.

The video editing page was refactored:

  • graphics and persons are placed in separate blocks;
  • new graphics added to the page: film logo, horizontal poster with text (used for dashboard tapes in the interface) Titanium) and vertical poster without text (used for slider in mobile).

Added sorting of video providers, which affects the order of return of providers on the application side.

In the search field of the subscriber when creating an account, his identifier is now shown.

From the chart on tariffs in the tab « Dynamics of subscribers» now it is possible to exclude hidden, archival and free rates.

  • Added the ability to disable autopayment without removing all subscriber cards.
  • Added a convenient source change for Spectr and Micromanager streams.
  • Corrected Cyrillic encoding for JSON fields in adminka.
  • Fixed the problems of displaying channel icons in the admin.

TVMW API

Content API

Billing API

  • Adjustment of the method AccountDeviceCreateIf the device with the UID data already has this account, then it simply updates the transmitted fields.
  • In response to methods CustomerList and CustomerInfo field autopayment enabled.

Optimization of work with Redis

  • An additional cache update was added when updating the streaming service at the channel.
  • Adjusted life time of cache keys for transmission programs.

Готовы запустить свой видеосервис?

Запросите персональную демонстрацию и узнайте, как Майкроимпульс поможет вашему бизнесу

Для отправки формы нужны функциональные cookie — без них не загрузится защита SmartCaptcha.