Skip to content

Feature - Display if a movie/serie is still included in Prime or leave soon #821

@cpassuel

Description

@cpassuel

name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''


Addon used

  • Amazon VOD (plugin.video.amazon-test)
  • Browser Launcher (plugin.program.browser.launcher)
  • Addon version:

Account type

  • primevideo.com
  • amazon.(com/co.uk/de/jp)

System Setup (please provide the following information):

  • Hardware: Raspberry Pi
  • OS version: LibreElec 11
  • Kodi version number: 19

Upload Logs

Describe the bug

This not a bug report but a new feature request.
A nice feature would be to display if a video is still included in Prime or if leaving Prime soon. I did some analysis on the json from the watchlist page and here is what if found below. If you give me some hints where informations about movies/series are retrieved in the code, I can try to write some code for these feature.

Image

Movie not in Prime anymore deduce from entitlementCues.focusMessage.icon = OFFER_ICON or entitlementCues.glanceMessage.icon = OFFER_ICON

{
    "buyBoxActions": [],
    "degradations": [],
    "displayTitle": "Bananas",
    "entitlementCues": {
        "buyboxMessage": {},
        "compactFocusMessage": {},
        "entitlementType": "Unentitled",
        "focusMessage": {
            "icon": "OFFER_ICON",
            "message": "Essai gratuit de 7 jours à MGM, puis renouvellement automatique pour 3,99 €/mois, achat ou location"
        },
        "glanceMessage": {
            "icon": "OFFER_ICON",
            "message": "Essai gratuit ou achat"
        },
        "highValueMessage": {
            "message": ""
        },
        "informationalMessage": {},
        "informationalMessages": [],
        "productPromotionMessage": {},
        "productSummaryMessage": {},

Movie leaving Prime: display the message in entitlementCues.highValueMessage.message (if present) because extracting days left requires to be able to manage several localization of the message

{
    "buyBoxActions": [],
    "degradations": [],
    "displayTitle": "Troie",
    "entitlementCues": {
        "buyboxMessage": {},
        "compactFocusMessage": {},
        "entitlementType": "Entitled",
        "focusMessage": {
            "icon": "ENTITLED_ICON",
            "message": "Inclus avec Amazon Prime"
        },
        "glanceMessage": {
            "message": ""
        },
        "highValueMessage": {
            "icon": "ANNOUNCE_ICON",
            "message": "Quitte Prime Video dans 11 jours"
        },
        "informationalMessage": {},
        "informationalMessages": [],
        "productPromotionMessage": {},
        "productSummaryMessage": {}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions