- Posts: 129
- Thank you received: 0
Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.
Calling a script to trigger writing ID Tag to mp3
04 Feb 2016 10:53 #5845
by Ken Lee
Calling a script to trigger writing ID Tag to mp3 was created by Ken Lee
Dear Thomas,
I call the Create Sermons Automatically URL after copying mp3 files to the audio folder. Then I have written some programs to modify the field title, series_id values of sermon_sermons table. Now I want to trigger writing ID3 tag to that sermon so that the tag values and table values are synchronized, before I do further processing on the mp3 files.
How can I (Or, Would you implement
), so that I can make a call like this:
http://server/index.php?option=com_sermonspeaker&task=script.writeid3&sermon_id=999
to trigger writing ID3 to sermon_id=999?
Thank you for your help.
Ken
I call the Create Sermons Automatically URL after copying mp3 files to the audio folder. Then I have written some programs to modify the field title, series_id values of sermon_sermons table. Now I want to trigger writing ID3 tag to that sermon so that the tag values and table values are synchronized, before I do further processing on the mp3 files.
How can I (Or, Would you implement

http://server/index.php?option=com_sermonspeaker&task=script.writeid3&sermon_id=999
to trigger writing ID3 to sermon_id=999?
Thank you for your help.
Ken
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
04 Feb 2016 11:15 #5848
by Thomas Hunziker
Replied by Thomas Hunziker on topic Calling a script to trigger writing ID Tag to mp3
You can write your own little plugin which could do that. There is no need for me to implement some function which is only ever used by your script 
You can use the GetID3 library that is shipped with SermonSpeaker to write the ID3 tags. For code examples you can have a look at how SermonSpeaker is doing it:
github.com/Bakual/SermonSpeaker/blob/mas.../tools.php#L275-L388
or
github.com/Bakual/SermonSpeaker/blob/mas...upload.php#L290-L421

You can use the GetID3 library that is shipped with SermonSpeaker to write the ID3 tags. For code examples you can have a look at how SermonSpeaker is doing it:
github.com/Bakual/SermonSpeaker/blob/mas.../tools.php#L275-L388
or
github.com/Bakual/SermonSpeaker/blob/mas...upload.php#L290-L421
The following user(s) said Thank You: Ken Lee
Please Log in or Create an account to join the conversation.
19 Feb 2016 12:59 #5905
by Ken Lee
Replied by Ken Lee on topic Calling a script to trigger writing ID Tag to mp3
Thank you. I implemented the needed function as per your advice.
Please Log in or Create an account to join the conversation.
31 Mar 2016 07:28 #5990
by Ken Lee
Replied by Ken Lee on topic Calling a script to trigger writing ID Tag to mp3
Dear Thomas,
I notice that $TagData in tools.php has less fields than frontendupload.php, missing date and time fields. May I know if they are different on purpose or just bugs? Thanks.
github.com/Bakual/SermonSpeaker/blob/mas.../tools.php#L275-L388
github.com/Bakual/SermonSpeaker/blob/mas...upload.php#L290-L421
I notice that $TagData in tools.php has less fields than frontendupload.php, missing date and time fields. May I know if they are different on purpose or just bugs? Thanks.
github.com/Bakual/SermonSpeaker/blob/mas.../tools.php#L275-L388
github.com/Bakual/SermonSpeaker/blob/mas...upload.php#L290-L421
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
31 Mar 2016 12:46 #5992
by Thomas Hunziker
Replied by Thomas Hunziker on topic Calling a script to trigger writing ID Tag to mp3
Looks like an oversight to me. Can you try the attached version?
The following user(s) said Thank You: Ken Lee
Please Log in or Create an account to join the conversation.
20 Apr 2016 07:53 #6094
by Ken Lee
Replied by Ken Lee on topic Calling a script to trigger writing ID Tag to mp3
Dear Thomas,
I did not try your code. I just added the missing lines by myself. Thank you.
Ken
I did not try your code. I just added the missing lines by myself. Thank you.
Ken
Please Log in or Create an account to join the conversation.
Time to create page: 0.159 seconds