I have created custom Audio Component in Asset share commons in AEM ,everything is working fine except i am not able to get the thumbnail in audio file(.mp3 and. wav).I have done some R&D then I found that Audio files does not have any rendition except original one.So my requirement is that is there anyway that we can add thumbnail in audio file.
PFB Screenshot of .mp3 node in crx.
see in above picture there is no rendition except original one that's why it is coming as without thumbnail,When I copy any image and paste it here(manually) then thumbnail is appear in audio files.
but i don't want to do it manually this thing,Can you please suggest some way how can I solve this issue.It will be very helpful for me.
Keep this launcher as a reference and try to write a similar launcher for your audio files . Below is the algorithm I might follow
1. Create a workflow process step , which captures a thumbnail for the audio file. (I am not sure of how you are planning to get the thumbnails for audio file. But if you already have the thumbnails in some location, fetch it and upload it via this process or generate it and upload it via this process step)
2. Once you write the Process , create a workflow model using this Process step, making sure the model will upload a thumbnail for your file.
3. Create a launcher for the audio file ( refer the above video file launcher settings . Keep only the needful settings) and link the model you created in Step 2 to this launcher
4. Enable the launcher
5. Test your launcher by uploading your audio file. When your original node is created , this launcher should be executed and your process step should run if everything is correct.
6. Add proper logs to check if anything is failing or why is it failing and fix your logic accordingly.
Hope this gave you little bit of direction. I have not tried this, but let me know if you need more help. Happy to help