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: Add production year to Öppet arkiv programs on SVT Play #1536

Open
Snaah opened this issue Jul 26, 2021 · 9 comments
Open

Sweden: Add production year to Öppet arkiv programs on SVT Play #1536

Snaah opened this issue Jul 26, 2021 · 9 comments
Labels
enhancement New feature or request

Comments

@Snaah
Copy link
Contributor

Snaah commented Jul 26, 2021

Feature Request

Is your feature request related to a problem? Please describe

On Öppet arkiv, the airing date (shown in Retrospect) was when the program/episode was originally broadcast. Now when Öppet arkiv is part of SVT Play, the airing date is when it was added to SVT Play/Öppet arkiv. On svtplay.se they also show the production year.

Describe the solution you'd like

Would be great if the airing date shown in Retrospect listings for Öppet arkiv programs/episodes could be changed to the production year. The airing date could moved to the info text instead with "Lades upp:" / "Added:" in front.

One example: Bamse - added to SVT Play/Öppet arkiv 2016-10-28, production year 1966.

In present Retrospect listings, 2016-10-28 is shown. Would be better with 1966.

Describe alternatives you've considered

Additional context

@Snaah Snaah added the enhancement New feature or request label Jul 26, 2021
@project-bot project-bot bot added this to To do in Retrospect Development Jul 26, 2021
@Snaah Snaah changed the title Sweden: Add production year to SVTPlay when applicable Sweden: Add production year to Öppet arkiv programs on SVT Play Jul 26, 2021
@basrieter
Copy link
Collaborator

I understand your request, but that information just is not available from SVT in their listings. It would require fetching each and every video details page for every video in a list. That would take far to long to wait for.

If you have better ways of finding it, I am open for suggestions.

@Snaah
Copy link
Contributor Author

Snaah commented Jul 27, 2021

I assumed that information was in SVT's data. Stupid.

Would it be possible (enough speed improvement) if only one episode of a series were scraped? Like for the example Bamse above, the production year is 1966 for all episodes. I figure not as there are hundreds of programs that only have one episode.

I don't know other ways to get the production year. Anyone else? @Sopor @matsarv

@basrieter
Copy link
Collaborator

Would it be possible (enough speed improvement) if only one episode of a series were scraped? Like for the example Bamse above, the production year is 1966 for all episodes. I figure not as there are hundreds of programs that only have one episode.

That could be an option. But I doubt whether this is always the case? There definitely are also shows that span multiple years. And that will thus give incorrect information.

@Snaah
Copy link
Contributor Author

Snaah commented Jul 27, 2021

Yes, that is the case for series running over several years, e.g. Rederiet, s01e01 1992 and Rederiet, s20e12 (last episode) 2002 . I think having the first production year for all episodes still is better than only when it was added to SVT Play/Öppet arkiv. Or would it be fast enough to scrape one episode for each season?

@basrieter basrieter modified the milestone: v5.4.4 Jul 31, 2021
@Snaah
Copy link
Contributor Author

Snaah commented Nov 29, 2021

@basrieter I wrote SVT a while ago. They are going to fix it "in the future", whenever that is. 🤔

The main page for a series now show production years, like Rederiet 1992-2002. If that's in SVT's data, it would be great. If not, scraping production year for first episode of each season? Or just having the first production year for all seasons/episodes while we wait?

@basrieter
Copy link
Collaborator

But its still not in the list main api list.

@Snaah
Copy link
Contributor Author

Snaah commented Dec 5, 2021

Which one(s) are not in the API and which are?

@basrieter
Copy link
Collaborator

None of them are. The API of the show listing does not contain any of the release years.

@Snaah
Copy link
Contributor Author

Snaah commented Dec 5, 2021

Ah, of course. Sorry, my bad.

You said earlier scraping could be an option, but didn't reply to #1536 (comment).

@github-actions github-actions bot added stale Stale issues/PR's and removed stale Stale issues/PR's labels Jan 8, 2022
@retrospect-addon retrospect-addon deleted a comment from github-actions bot Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants