-
Notifications
You must be signed in to change notification settings - Fork 22
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
Suggestions for improvement #7
Comments
Hello and thank you for the kind words. I'm glad someone found a use for this and am excited to hear about your projects. I don't know how much time I will have to dedicate to this in the short term. Suggestions 1 and 2 make a lot of sense and should probably be done regardless. Suggestion 3 may be useful, though I do question the usefulness of historical guide data for most use cases. Suggestion 4... Is something I do not personally have an interest in implementing, but I'd be happy to address and review any pull requests that attempt the feature. Suggestion 5 is something I personally haven't seen a need for yet. If more people start hitting the service or start attempting to get hourly updates it may cause issues. I personally don't know how often the guide data changes but with loose testing, I never had too many issues with a daily refresh. Keep me posted, and as I mentioned, I'm willing to review and accept any reasonable pull requests. |
Suggestions 1 & 2 are implemented. Suggestion 3 is implemented in the sense that it will store timestamped copies along side the output guide file. I'm going to reflect on the simplest way to implement a clean up process as in it's current state, without a cron job/logrotate/third party coming through to clean these files they will accumulate . |
Same here as already involved in too many projects within SynoCommunity.
Thnx, much appreciated!
Probably relatively trivial to do a wget (or similar in python) as the xmltv provide the picons url for all channels. This may be where the caching helped now that I think of it... My spare cycles are rather limited but I might send a PR your way if I find some time.
Me neither. I believe it's more a way to limit hammering the server and allow for a faster rebuild time as some of the data was already pre processed. With that activated using the perl version I current pull the server 3x a day every 8 hours (or is it twice every 12... ).
I will certainly do. I'll start-up a PR on https://github.com/SynoCommunity/spksrc as a first preview and add you to the loop. Tagging a release could be helpful as otherwise I have to manually adjust to use latest commit, but that something I can easily manage. Thnx in looking into this, much appreciated! |
Coming back to suggestion 4, the picons still aren't something i'm familiar with, but i'd be tempted to push such functionality to a separate script/tool. I can certainly add a release. I'll do that after i decide what to do about the historical data clean up. |
Release has been tagged with historical guide cleanup. Default set to 14 days of guide data., |
Awesome! Will look at packaging it over the week-end and will let you know how thing goes. |
@daniel-widrick quick question, any license attached to your code? GPLv2, other? |
Added a license file. MIT should hopefully work for most people. |
@daniel-widrick While playing with the crontab implementation I ended-up figuring that using Secondly, I've seen a few cases where we encrypt the passwd using Here is a simple example:
Or by using a stronger encryption with a common key (in this case
|
@daniel-widrick package for synology DSM is pretty much ready (currently in review). It allow installing/upgrading while keeping backup copies of previous configurations and generated xmltv files. The remaining changes part of this PR are more of a nice to have that could still be of interest (besides fixing language handling #9 which is sort of a blocker for my family to use currently):
Thnx a lot for the changes you did, it's much appreciated as it allowed me to package your work successfully. Feel free to close the issue as you se fit unless you want to come back to it at some later time. Cheers! |
Hi,
I started looking into your project as my alternate option using perl is no longer maintained and not trivial to package to due compile CPAN mandatory modules needed (now only available using the archive section).
https://web.archive.org/web/20200426004001/http://zap2xml.awardspace.info/
I played a bit with your python scripts and must say that it runs quite well. As developer in the SynoCommunity I intent to package your python scripts in order for it to be available for both
jellyfin
andtvheadend
. Although while playing with it I thought I would provide you with a list of potential improvements/nice-to-have that you might see fit that would simplify integration down the road:xmlguide.TIMESTAMP.xmltv
. Cleanup can then be managed through a cron job or within the python script itself (for instance keeping X days of backups)..png
listing example generated by perl zap2it script:$sTBA
" (to be advertised) they must be discarded or re-downloaded at next update as program info may end-up being updated by that time (e.g. some movies in 10-14 days may not yet be advertised... but a few days before they do occur the program guide might have received an update).I'll be looking at creating a SynoCommunity package over the next few weeks. Let me know if you are interested at adapting a few bits of your scripts.
Ref: SynoCommunity/spksrc#3932 (comment)
Thnx in advance and again, nice work :)
The text was updated successfully, but these errors were encountered: