Releases

  1. Home
  2. Docs
  3. Releases
  4. Smarty
  5. 05-23 | 1.94 START, directors, advertising

05-23 | 1.94 START, directors, advertising

This release was short, because May was almost absent due to holidays, and a lot of April time we devoted to custom modifications, but nevertheless it included many important changes

And this release marked for us a joyous event — support for Python Version 2.x. Why happy? For a long time, we supported both versions of the language at once and this doubled the time for testing new features, and also complicated the development of — therefore, abandoning the old version of the language will allow us to breathe more freely and increase the pace of the appearance of these features 🙂

What do you do for those who haven’t switched to Python 3.x? If your technical support tariff includes updates by our engineers, then just make a ticket and we will transfer you to the new version of the language together with the next update, if not, then contact your manager and we will figure out how best to carry out these works.

External billing and START cinema

In this release, we redesigned our billing interaction mechanisms when purchasing START subscriptions to make the process of its implementation to the operator as transparent as possible. The START module itself inside Smarty is configured in a few steps and does not require a special investment of time and effort, but many are interested in how to make friends with the operator infrastructure so that subscription to movies is bought from the application interface, and the event about this came to the external billing. To answer this question, we have prepared demo ExternalAPI integration in our public repository, following the example of which you can implement additional actions to address the external system in the subscription purchase scenario — for example, send an event to the billing operator about connecting the corresponding tariff plan.

Other changes in cinemas and video library

In addition, additional graphics — are now downloaded for START movies during import; a large-format advertising banner that is used in some of our application interfaces. The film import team cinema_start_sync_content i got a new parameter --remove_outdatedThe listing of which removes irrelevant films that are no longer in the catalog on the START side. Inside Smarty now, in addition to the actors, a new entity appeared «Director», with the help of which the Sibseti interface has already implemented a tape «Other films of this director». And another revision for the video library — a new team has appeared to prepare a list of countries for which you can filter movies in the interface — cache_video_country_list.

Advertising

  • Added truncated treatment vastnon-returning field width for video files.
  • If there is no country for the account to target advertising, it is now taken from ip_location.
  • Broadcasting added for AdStream provider User Agent, IP, X-Serial-Number and X-Hwid client device.
  • Added a new type of advertising provider — Inetra.

EPG

  • Fixed the conversion of the age rating of transmissions when downloading them from the Epg source — now the parser takes into account «+».
  • If there is no EPG category in the transmission source, it is assigned the transmission specified at the channel in the Smarty — admin; this allows you to distribute transmissions within the section «Archive — even with a free Epg source with a limited amount of meta information.

TVMW API

  • In response to methods Customer TariffList and CustomerInfo 2 new fields have been added for the tariff: icon and icon.
  • Method of confirming the phone number inside CustomerInfoSet now the default is the one specified in the Client settings.
  • In method SelectionList new input parameters added content_type, video_provider_id, order, limit.
  • In method NoAuthportClientChannelList added new response fields related to information about current channel transmission.
  • Method CategoryList now they are returning the fields icon_url and icon_tv_url.
  • New method added No AuthDeviceExists to check if such a device is already registered with Smarty.
  • Method Login it always comes back error=6if an already registered telephone number has been transferred.
  • IN VideoDetail for the trailer, the field is now correctly given duration.

Content API

  • In the input parameters of methods VideoCreate and VideoModify fielded is_season and is_announcement.
  • In the input parameters of methods CameraCreate and CameraModify parameter preview_url.
  • In response to method ChannelList field count, and in the input parameters — id_for_stream_service.

External & Billing API

  • Method AccountDeviceCreate now he returns the correct error when he is wrong system.
  • TVMW Login method implements the possibility of authenticating an account by SMS through external billing using webhook auth_by_phone.

Adminka

  • Fixed display Online on the account list page.
  • Now, when downloading an actor, not the first from the list is taken, but the one who has the desired film in the filmography. Now you can search for an actor not only by name, but also by original name.
  • Corrected display dropdown-menu in the upper panel admin.
  • Filtering of accounts and subscribers by billing processor is added.
  • The camera has added the ability to prescribe an external URL before the admin preview — if you have a dynamic link to the latest camera screenshot from Live, then with this link you can see the always current state of the camera in the interface.

Other

  • A new option added TVMW_UPDATE_IP_IN_REALTIME c Smarty configuration, which includes IP updates and account geolocation for any API requests.
  • Fixed the problem with access to the camera through direct camera binding to the account.
  • Fixed option operation TVWM_MULTILOGIN_CREATE_DEVICE.