New Playerclass, Custom Books, File Size

SermonSpeaker 4.5.0 is released. It got a rewritten, extensible playerclass, custom books for scriptures and new database fields for audio and video file size.

Important for layouters: The change to the playerclass means you need to adjust how you call it.

New Playerclass

I've rewritten the playerclass so it's easier to include additional players. Now each player has its own classfile. The helperfunction will chose a matching player based on your preferences and the file extension. Due to this change, the player can no longer be loaded using

$player = new SermonspeakerHelperPlayer($item, $config);

Now you use:

$player = SermonspeakerHelperSermonspeaker::getPlayer($item, $config);

Also the property "status" is removed. Use "error" and "mode" instead.

Custom Books

There is a new option which allows you to add 'x' books to the scripture. This will add new books to the list with the language strings "COM_SERMONSPEAKER_BOOK_74" counting upwards. These strings can be translated using the override function within the Joomla Language Manager.

File Size

The sermon form has two new fields: "Audio file size" and "Video file size". These will be autopopulated with the file size in bytes when saved or when the id3 lookup function is used. The file size will then be shown on download buttons.

Other Features

  • Added RealPlayer to the list of players (for RealMedia files)
  • Added an option to define an RSS image for feeds
  • Added sublayouts for filters. These can also be used in custom layouts.
  • Added options to filter sermons lists by filetype and prio
  • Added an option to disable the speaker modal window. If disabled links to the speaker will point to the speaker default layout instead of opening the speakerinfo in a layout.

Bugfixes

  • The migration script should now once again apply all needed database changes. So SermonSpeaker 4.5.0 is a valid choice for updating from SermonSpeaker 3.4.3.