The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.
SermonSpeaker creating lots of huge zip files
- Andrei Chernyshev
-
- Offline
- Translator
-
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
Would you prefer a toggle button like the "state" where you manually disbable download for series, or better an automatic function with a parameter which disables the download for all series with more sermons than the set amount? I tend to the automatic function.Manuel Kuhs wrote: In that case there should definitely be an option to deactivate series downloads for large series. E.g. I have Heidelberg Catechism series which has almost 100 sermons!
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
It's possible, but then I'd rather do it with the database. I think the database will be faster. I could add two fields to the series table: "zip_created" and "zip_content" and a field to the sermon stable: "modified".Andrei Chernyshev wrote: Is it possible with Joomla and PHP to create a flat txt file and in that file have sermon mp3 file names. i.e. 1001.txt for series 1001. all you have to do is read contents of that file and see if that matches array list if it's different create a new zip file. just throwing ideas out there. I did this before with Visual Basic, not sure if it's possible with PHP.
If I compare the ids found in zip_content with the list of sermons and compare the latest modified date with the zip_created date, that would be quite safe I think.
Please Log in or Create an account to join the conversation.
- Manuel Kuhs
-
Topic Author
- Offline
- Senior Member
-
- Posts: 60
- Thank you received: 0
Thomas Hunziker wrote:
Would you prefer a toggle button like the "state" where you manually disbable download for series, or better an automatic function with a parameter which disables the download for all series with more sermons than the set amount? I tend to the automatic function.Manuel Kuhs wrote: In that case there should definitely be an option to deactivate series downloads for large series. E.g. I have Heidelberg Catechism series which has almost 100 sermons!
If it's not too much work, I would say the ideal solution would be BOTH:
* A toggle in the series parameters (so that it can be selected separately for each series) for series download, with 3 options, option 2 selected by default:
1. Disable series download
2. Enable series download (max x)
3. Enable series download (unlimited)
* The ability to set a default maximum number of sermons in a series (x) for which to allow series downloads
To be totally flexible, selecting (2) would then make a new field in the series parameters appear, in which to set x for only the current series
But perhaps I'm being too comprehensive

Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
- disable
- auto
- enable
I don't think a parameter per series would make a lot of sense.
Now I only have to find time to make it

Please Log in or Create an account to join the conversation.