Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sweden: TV4 Play - "available until/expires at" #1269

Closed
user00099 opened this issue Dec 26, 2019 · 6 comments
Closed

Sweden: TV4 Play - "available until/expires at" #1269

user00099 opened this issue Dec 26, 2019 · 6 comments

Comments

@user00099
Copy link

@user00099 user00099 commented Dec 26, 2019

Feature Request

Is your feature request related to a problem? Please describe

Missing service: available until//expires at

Describe the solution you'd like

If its possible and not to much work, it would be nice with "available until//expires at" of the TV-shows in TV4 Play. For example in this series "Hidden" on the TV4 Play website (https://www.tv4play.se/program/hidden) it says "Available: 30+ days".

@user00099 user00099 closed this Dec 26, 2019
@user00099 user00099 changed the title TV4 Play - available until/expires at Sweden: TV4 Play - available until/expires at Dec 26, 2019
@user00099 user00099 reopened this Dec 26, 2019
@user00099 user00099 changed the title Sweden: TV4 Play - available until/expires at Sweden: TV4 Play - "available until/expires at" Dec 26, 2019
@basrieter

This comment has been minimized.

Copy link
Collaborator

@basrieter basrieter commented Dec 27, 2019

"Hidden" has an expire date of 2021-11-14T23:59:59+01:00 which makes not real sense. Is there a show that actually has an expire date less then 30 days?

@Snaah

This comment has been minimized.

Copy link
Contributor

@Snaah Snaah commented Dec 28, 2019

I looked into this again and found the label:

daysLeftInService: has the real amount of days left.
(humandaysLeftInService: is for the webpage. It gives "30+ dagar till" if daysLeftInService is 30 or more, the real amount of days if it's less than 30.)

@basrieter

This comment has been minimized.

Copy link
Collaborator

@basrieter basrieter commented Dec 29, 2019

What do you mean with 'Label'? I get data from these urls: https://api.tv4play.se/play/video_assets?platform=tablet&per_page=25&is_live=false&type=episode&page=1&node_nids=hidden&start=0 and they don't show any of those. Only the actual expire date.

So the question remains: what shows actually have an expire date?

@Snaah

This comment has been minimized.

Copy link
Contributor

@Snaah Snaah commented Dec 29, 2019

I used Inspect page/Network in Chrome. Then the API doesn't have that information.

Here's a show with 23 days left: https://www.tv4play.se/program/solsidan

EDIT: Most shows have an expiry date, it's just that if it is more than 30 days away TV4 just shows "Tillgängligt 30+ dagar till" (Available 30+ days more). The expire_date_time in the API is false and I don't understand why they have it.

@user00099

This comment has been minimized.

Copy link
Author

@user00099 user00099 commented Dec 29, 2019

First, thanks for a great work with the Retrospect-addon.

Then some answers for your questions:
As @Snaah already said, most series have an expire date more than 30 days and says "Available: 30+ days".
But there are a few series and movies that have an expire date less than 30 days and are counting down to 0 before they are being removed from the website. Here is some examples:
Solsidan as @Snaah already said, (https://www.tv4play.se/program/solsidan)
Safe House (https://www.tv4play.se/program/safe-house)
Some movies:
A Bigger Splash (https://www.tv4play.se/program/a-bigger-splash)
Rallybrudar (https://www.tv4play.se/program/rallybrudar)

@basrieter

This comment has been minimized.

Copy link
Collaborator

@basrieter basrieter commented Dec 29, 2019

Please use this zip and manually replace the Retrospect files with the newer versions inside the zip. Finally restart Kodi.

retrospect-patch-20191229.231137.zip

@basrieter basrieter added this to the v5.1.4 milestone Dec 29, 2019
@basrieter basrieter added this to To do in Retrospect Development via automation Dec 29, 2019
@basrieter basrieter self-assigned this Dec 29, 2019
@basrieter basrieter closed this in 4178770 Dec 31, 2019
Retrospect Development automation moved this from To do to Done Dec 31, 2019
@basrieter basrieter removed the tobereleased label Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
3 participants
You can’t perform that action at this time.