Releases

  1. Home
  2. Docs
  3. Releases
  4. Smarty
  5. 11-22 | 1.90 Flussonic, Twilio, Statistics

11-22 | 1.90 Flussonic, Twilio, Statistics

Improved integration with Flussonic

The revision is primarily related to the mechanism of authorization of flows:

  • now the token created is tied to the account + device pair (that is, to a unique authorization session)
  • at 1 point in time, only 1 token can exist in one session (when creating a new token for the session, the old token is recalled)

Thus, if tariffs have restrictions on the number of devices, then a limited number of streams can be received from one account at 1 time.

Integration of the Twillio SMS Gateway

Added integration of the new SMS gateway Twillio, the documentation can be found here.

Section «Archive »

Within the team cache_record_list added options category_skip_ids and genre_skip_ids with the help of which you can disable the caching of the content of the desired categories and genres — in this case, they will not be displayed in the application. For example, you can disable the caching of news and similar content, the display of which in the section «Archive» is not required. More on how to configure the section «Archive» can be read in documentation.

Movie labeling icon

A few releases ago, we added the ability to create internal movie providers within the app:

This release refined this mechanism and added the ability to mark the covers of such films with a new field in the form of a provider:

Unloading of past transmission programme

With the help of a team epg_import now you can download past transmissions. For this, you should specify an option for it -start_date and transfer to it the date from which you need to download the programs (date is transmitted in YYYY-MM-DD format). For example:

smarty_manage epg_import --start_date=2022-11-01 --settings=settings;

Загрузка старой программы передач может быть нужна, например, для заполнения раздела «Архив». Документация по другим опциям загрузки EPG тут: https://mi-smarty-docs.readthedocs.io/ru/latest/installation_and_configuration.html#epg

Improvements to the registration mechanism

For the internal registration mechanism Smarty added a new method of confirming the phone number — code from the incoming call number. This method is much cheaper and has fewer restrictions (some mobile operators restrict sending SMS messages to their subscribers or require an additional subscription fee from SMS gateways for this). At the moment, this number confirmation method is only available for integration with smsc.ru.

For the mechanism of establishing an account through an external billing (Billing API), we added the ability to send a login and password by SMS to the subscriber number.

Form «General settings Client»

TVMW API

  • In response to method CameraList field count.
  • In query parameters Login field brand.
  • Methods ActorList and VideoDetail we have added a sorting of actors by the number of films with their participation.
  • In method SelectionDetail channeling icon_url renamed icon.
  • For the method Login added a method of authorization by a one-time password from the incoming call number.
  • For the method AccountRegister added a new way to confirm the phone number — code from the incoming call number.
  • In response to method ApplicationWeatherData added the name of the city.
  • Disable the possibility of registration through AccountRegister option added TVMIDDLEWARE_API_ALLOW_ACCOUNT_REGISTER
  • In method VideoDetail added a new field of response position_season_id
  • In method VideoList added sorting of films by date of update
  • Optimization of the method in ProgramListSearch for older versions of mysql
  • New method added No AuthCategoryList get a list of channel categories without authorization

Billing &: External API

  • Billing API: New method added AuthkeyDelete this can be used to delete sessions.
  • External API: Additional method added on_tariff_add, called when connecting the tariff.

Content API

  • In method ActorCreate added automatic meth loading from an external source when specifying the content identifier on it.
  • In method VideoModify added automatic meth loading from an external source when specifying the content identifier on it.

Adminka

Section «Statistics»

We redesigned the pages «Rating of TV channels», « Rating of TV shows» and «Metrics of TV channels» so that the calculation of data for these pages occurred in the queue and the expectation of the availability of graphs was more obvious and intuitive.

Other

On page «Teleprogram » now there is an opportunity to immediately choose the TV channel, the transmission of which must be viewed. Since users usually use this section to check the transmission of a particular channel, this filter allows you to reduce the execution time of this user scenario — you do not need to wait for the download list of programs for all channels.

Page «Teleprogram »
  • Now, when importing a list of channels into an external file, its LCN is also exported.
  • In the section «Catalogue of applications » appeared mass editing.
  • In the section «Reports» the report has a new state «In the process» — this allows you to understand whether the report is still considered or there was some error in it.
  • In the section «Messages and commands» for the message type «Another command» new fields «Diplink» and «Advisory message to the command» — in the future, their support will appear in interface templates and you can sew certain actions into messages by pressing «OK» in the pop-box.
  • For the subscriber editing form, the set of necessary fields has been changed.