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

Is it possible to update more often? #7

Closed
lowflyerUK opened this issue Sep 7, 2020 · 17 comments
Closed

Is it possible to update more often? #7

lowflyerUK opened this issue Sep 7, 2020 · 17 comments

Comments

@lowflyerUK
Copy link

Hi! Thanks again for your great work!

I was annoyed the other day because of a programme change after I set up a recording. If I understand well, your system for french tnt captures the programmes for today+7. Then, so long as the xmltv file is big enough, this file stays the same even if the programme is changed on telerama.

I can see that you don't want to download all programmes every day, and that it is not possible to only download changes, but maybe it would be possible to update all programmes for the following day as well as today+7 and for any days with too small files? That way any discrepancy between what I have set to record and the latest xmltv schedule will allow me to update my recording.

Thank you!!!

Best wishes, Lowflyer

@sy6sy2
Copy link
Member

sy6sy2 commented Sep 9, 2020

Hi!
Sorry I completely forget to answer :-/

I'm not sure to understand, do you mean that a programme list for one day can change on telerama? If yes, does it happen often?

@lowflyerUK
Copy link
Author

lowflyerUK commented Sep 9, 2020 via email

@sy6sy2
Copy link
Member

sy6sy2 commented Sep 11, 2020

Ok I understand your issue.

If we are day D, I can force my script to re-download programmes of day D+1 each night. Do you thing it will fix your issue?

@lowflyerUK
Copy link
Author

lowflyerUK commented Sep 11, 2020 via email

sy6sy2 added a commit that referenced this issue Sep 11, 2020
@sy6sy2
Copy link
Member

sy6sy2 commented Sep 11, 2020

I pushed a commit. I hope it will fix your issue!
Thank you for your help!
I will close the issue but feel free to re-open/open another one 😉

@sy6sy2 sy6sy2 closed this as completed Sep 11, 2020
@lowflyerUK
Copy link
Author

lowflyerUK commented Sep 19, 2020 via email

@lowflyerUK
Copy link
Author

lowflyerUK commented Sep 22, 2020 via email

@sy6sy2
Copy link
Member

sy6sy2 commented Sep 22, 2020

Hi!

Ah shit 😕
Did you check the raw files to see if all programmes are in?

I will check the log.

Edit: Raw file seems ok. I will try to add more info in the Python file today 😉

@lowflyerUK
Copy link
Author

lowflyerUK commented Sep 22, 2020 via email

@lowflyerUK
Copy link
Author

lowflyerUK commented Sep 22, 2020 via email

@sy6sy2
Copy link
Member

sy6sy2 commented Sep 22, 2020

Oh, maybe an error on my side concerning the "if" date check?
I will look at that! Thank you for the investigation!

@sy6sy2
Copy link
Member

sy6sy2 commented Sep 24, 2020

Hi, so, this is what I did:

  • Now stdout and stderr outputs of each grabber run are redirect to raw/xxxx_stdout.log and raw/xxxx_stderr.log files. So the main log.txt file is easier to read.
  • I removed the specific TNT French guide files... With more time I will enable it again
  • I added more verbose informations in the log file (number of programmes for each file)
  • Now the script run at 12H on my server (French hour)

I hope everything will be good for you. If you notice some errors, as usual ping me 😉
Thank you!

@lowflyerUK
Copy link
Author

lowflyerUK commented Sep 24, 2020 via email

@lowflyerUK
Copy link
Author

lowflyerUK commented Nov 29, 2020 via email

@sy6sy2
Copy link
Member

sy6sy2 commented Dec 3, 2020

Hi! fine and you?

Sorry didn't have time to check, is the issue still here?

@lowflyerUK
Copy link
Author

lowflyerUK commented Dec 4, 2020 via email

@sy6sy2
Copy link
Member

sy6sy2 commented Dec 4, 2020

You are right: As we can see here https://television.telerama.fr/tele/grille?jour=+2&heure=11 we have programs for Sunday but not for Monday 😕

The good news is that it's not a script issue 😛

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