Releases

  1. Home
  2. Docs
  3. Releases
  4. Smarty
  5. 03-24 | 1.100 Selections, advertising, payment

03-24 | 1.100 Selections, advertising, payment

Selections

The selection page has changed almost beyond recognition — now the selection of films can be automated with the help of many filters (by genre, rating, year of production, etc.):

In addition, on the pages of the actor and director there was a new button «Create a selection » which automatically creates selections of films with the specified actor or production of the specified director.

External cinemas

A new option added --update_assets_promos to update the promotional images from the assets for all scripts synchronizing catalogs with external theaters.

STARTART

  • For START cinema films, production countries are now imported.
  • A new option added BILLING_ON_ACCOUNT_TARIFF_SUBSCRIBE_CINEMAallowing you to duplicate the hanging of the tariff package on the subscriber in the Billing API-method AccountTariffAssignment and disable the subscription plan in AccountTariffRemove. The option is needed as a temporary follback for operators who set up plan plans for accounts and want to use the integration of the START cinema.

Premiere

  • Film import team premier_sync_content option added -ignore_main_genres, at the indication of which the creation of genre-categories for films is turned off (only ordinary genres remain)
  • Fixed option --remove_outdatednow only films with the correct rights to show are included in the catalog

MEGOGOGO

  • Fixed the error of connecting / disabling the tariff with the MEGOGO cinema.

Kinopoisk Unofficial API

The scraping of films and actors from the Kinopoisk Unofficial API went even deeper:

  • when parsing information about the film for actors is now additionally filled field kinopoisk_id
  • added country parsing for the actor
  • in the absence of an age rating, the film on Kinopoisk is now calculated based on the field MPAA

EPG

  • We made the work of removing outdated posters more transparent and made this process a separate management team: clean_old_media. After updating to this release, deleting graphics within the epg_import command will stop happening, so we recommend adding this new command to the crown of your Smarty #careful compatibility
  • Adjusted the time of displaying the beginning and end of the transfer in the admin Smarty now they are displayed in UTC+0 format.

Advertising

  • For advertising providers, the transfer of the real IP-address of the account is added when requesting advertising in the parameter Lynx-Client-IP.
  • Added a report on impressions and requests of advertising with time filtering and advertising block.
  • In the settings of the ad unit, you can now set the frequency of displaying advertising in the format «N impressions per hour & #187; as well as make different advertising blocks for displaying advertising for archival records and for Live broadcasts.

Payment through SBP for Payture

We have added integration with Payture payment gateway so that you can use it to show a QR code for SBP payment.

At the moment, this functionality is used only in one of our custom templates, on request it can also be added to other interface templates.

Paypal

The correct operation of the Paypal payment gateway was restored, and a new option was added for the possibility of debugging payments in the sandbox.

New Smarty options

  • A new option added TVMW_LIMIT_TRANSACTION_COUNTIt allows you to limit the number of financial transactions created within 10 minutes. The option can be used as an antifraud tool.
  • A new option added TVMW_NOTIFY_TARIFF_ACTIONWith the help of which you can disable sending notifications about changing the tariff plan to the TV screen (relevant if the tariff plans change from the TV screen).

Adminka

  • When looking for actors to add to a movie, the limit on the length of the search result is increased from 5 to 20 actors.
  • The administration panel on the subscriber’s page now displays all the saved cards, not just the one from which the auto payment is made.
  • When setting the tape «Transmissions» for the dashboard, the filter by genres — is modernized; now you can take into account both the combination of genres and their intersection when creating the tape.
  • In the admin added functionality «Dealers» for subscription logic billing.
  • The payment report added fields «Device brand», «Device model», «Connected rates at the subscriber, at the time of the report creation».
  • Fixed display of the device name on the charts « Dynamics of subscribers» — now displays the name of the device, not its type.
  • The layout of the channel setting page has been fixed.

TVMiddleware API

  • In response VideoUrl now the trailer returns if the account only has access to view content.
  • New method added ActorListSearch to find actors by name.
  • Methods SelectionDetail and NoAuthSelectionDetail input orderand for the video added response parameters is_favorited and ad_banner.
  • In response to methods ChannelList and ProgramCategoryChannelList now return first channels with user sorting, then all the rest (all new channels when the user sort is turned on are at the bottom of the list)
  • In method AccountRegister when you try to register with a previously used number, error 6 is returned.
  • In method CustomerTariffSubscribe forward try_activate double write-off of funds when changing the base tariff has been corrected.
  • In method No AuthDeviceExists added a new parameter ext_id.
  • In the method PortalDashboardVideoList added response fields kinopoisk_rating, imdb_rating, average_customers_rating.
  • In method SelectionDetail parameter removed page and added a parameter cursorin response, a parameter was added next_cursor.
  • Methods VideoList and VideoDetail added is_4k field.
  • Methods Program Detail, ProgramList, ProgramCategoryRecordList, SelectionDetail field of response ads_available.
  • Methods VideoList, No AuthVideoList, Video EpisodeList, VideoEpisodeDetail for video files added fields position and is_viewed.

Billing API

  • Parameter subscribe methodically CustomerTariffAssignment now marked as deprecated — if the fare includes a cinema, it will be connected by default.

Other

  • Script work fixed migrate_to_nb on accounts without an activation/deactivation date, but with an extension date.
  • In the subscription logic of billing, it is now possible to add a subscription to the same tariff using a promo code that the subscriber already has.
  • Fixed team error check_streams for Python 3.7.
  • Fixed migrations for Oracle.