Releases

  1. Home
  2. Docs
  3. Releases
  4. Smarty
  5. 11-23 | 1.98 Cinemas, meta films, billing

11-23 | 1.98 Cinemas, meta films, billing

Cinemas: import, subscription, reports

A large refactoring of the integration of the internal billing of Smarty with the billings of external theaters was carried out, within the framework of which some inaccuracies of the work of write-offs, subscriptions were corrected, as well as restrictions on adding several cinemas to one tariff plan were removed. #careful compatibility

Therefore, all operators using integrations with external theaters, and especially those who use custom scripts integration with their billing systems we recommend that immediately after the update, recheck all mechanisms associated with the purchase of movie subscriptions, as well as closing subscriptions. Below are the settings that may need to be changed in case of problems:

  • be sure to check on the integration page in the adminka list of rates tied to the cinema from this release, this list is unified and the type of access of this tariff is responsible for whether the movie will be available when you connect this tariff:
  • if you use your own, rewritten API handler class to integrate with the cinema, then please note that the methods subscribe and unsubscribe_svod have been modified and you should contact us for technical support to update your integration.

PREMIER

  • fixed an error caused by too long a film description when importing;
  • for Premier films, banner ads are also imported.

STARTART

  • new movie import option added -update_actors update photos of the actors.

MEGOGOGO

  • support for the import of films from MEGOGO has been renewed;
  • duplicate transactions when buying movies;
  • improved integration with several service.

Reports

  • A new report on tariffs has been added, with the help of which you can find out how many subscribers used a particular tariff in the specified period.
  • A PREMIER Cinema report has been added to calculate the number of subscriptions to a given cinema during that period.
  • Fixed minor inaccuracies when generating a report for START.

Kinopoisk API Unofficial

  • Now parser meta movies kinopoisk_api_unofficial is the default meta parser, support for the old Kinopoisk parser is disabled.
  • When importing actors, a blank of stub photos is implemented, so that a stub provided by the application design is placed on the portal side for such actors.
  • Added a length limit when parsing film descriptions.
  • When reimporting a film's meta, old descriptions and images are only deleted if they are replaced by new data.
  • Re-importing meta for actors fills in data only for new actors and actors without photos.

Optimization

  • When adding/deleting/changing channels and tariffs, the flag of needing to re-request the list of channels in the app is now sent only to subscribers who have had activity recently.
  • Added a new option RQ_CHANNEL_LIST_CHANGED_JOB_TIMEOUTwith the help of which you can increase the maximum time of the queue of the update flag of the list of channels for accounts.
  • Optimization of the method of gear search was carried out, additional caching was added.

New configuration options

Communications

  • Fixed an error that caused the message to be sent to the TV screen in any case, regardless of the checkbox responsible for sending it.
  • For the team to delete old messages clean_old_messages added parameters with which you can more accurately adjust the time of cleaning messages.

Adminka

  • Fixed the filter «Available for User-Agent» on the device page — now you can specify the substring from the desired User-Agent.
  • On the page of the list of actors added additional filters by country, gender and year of birth.
  • In the setting of user rights groups added separate rights to the tab «Directors».
  • For multi-operator Smarty, a problem has been fixed, due to which some forms displayed extra device types belonging to adjacent Client.
  • For multi-operator Smarty, when you change Client, you now automatically go to the main page.
  • Corrected display progress bar when importing channels to Smarty from the file.

Refactoring the subscription billing model (PMB)

  • Optimizing the work of the service team check_accounts for MBP for the case of independent subscriptions.
  • Fixed the work of promo codes with the type «Free tariff activation» for MBP, as well as separately for cases if the promotional code connects tariffs with external cinemas.
  • Forced resetting of the account cache when applying promo codes for activation of tariffs is added, so that the result of application is instantly displayed in the subscriber's application.
  • Corrections have been made to the mechanism of creating transactions when connecting tariffs: money from the subscriber’s balance is not written off when connecting tariffs through the admin and through the Billing API, in other cases write-offs occur. The exception is the tariffs with the MEGOGO integration connected, in which you can explicitly put a checkbox stating that you do not need to write off money from the user’s balance when connecting.

New in the selections

  • There was an opportunity to put sorting for the elements of the collection:
  • In the team for the formation of the collection «Popular transmission » create_epg_election_by_popularity added the ability to select certain categories of channels from which to build this collection.

EPG posters

TVMW API

  • New method added CustomerBalancewhich can be used to obtain balance instead of CustomerInfobecause it is faster and more productive.
  • Fixed method work NoAuthVideoUrlnow he's returning the movie trailer for outside theaters as well.
  • In methods SelectionDetail and NoAuthSelectionDetail parameter limit now it also affects the transmissions. As well as when giving films within these methods, device filters are now taken into account in the settings of external integrations.
  • Fixed errors in the documentation of many methods, such as Customer TariffList, CustomerInfo, AccountTariffList, VideoDetail.

Content API

  • Corrected inaccuracies in the method documentation Videofile Create.
  • When transmitting a parameter load_meta methodically VideoModify now genres are also updated, in addition, fields in Smarty are not erased if None comes from Kinopoisk.

Billing API

Other

  • For the Stripe payment gateway, support for opening a payment form using a QR code has been added.
  • Python compatibility errors in integration with Astra are fixed.