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

QUESTION? Limit to only upcoming recordings? #4

Open
RJ-Make opened this issue Jan 16, 2023 · 5 comments
Open

QUESTION? Limit to only upcoming recordings? #4

RJ-Make opened this issue Jan 16, 2023 · 5 comments

Comments

@RJ-Make
Copy link

RJ-Make commented Jan 16, 2023

Is there a way to limit the returned data to only upcoming recordings?

@jdeath
Copy link
Owner

jdeath commented Jan 16, 2023

Been so long, not sure. Maybe just set s to zero in ha.js:
var s = files.length;

@RJ-Make
Copy link
Author

RJ-Make commented Jan 16, 2023

Thanks, that does limit the result to upcoming, but only returns the current day of upcoming recordings.

@jdeath
Copy link
Owner

jdeath commented Jan 16, 2023

It think there is code around line 80 that limits upcoming to 2 shows. Try making it bigger if you want.

@RJ-Make
Copy link
Author

RJ-Make commented Jan 17, 2023

That seemed to work. I changed it to 8 and received 6 back. I think the code stops iterating if the episode information is missing (exactly where it stopped).

2023-01-17_5-06-58

Thank You.

@RJ-Make
Copy link
Author

RJ-Make commented Jan 17, 2023

Actually I don't think that's the reason, It actually only returned 5, (apparently I can't count). So it stopped at #5, and #6 is the same show. Hmmmm perhaps this is a limitation of the Upcoming Media Card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants