Okay
  Public Ticket #3105993
custom_get_track_duration not working properly
Closed

Comments

  • Marlon started the conversation

    Hi,

    The theme uses the custom_get_track_duration function in the Essential grid: Podcast Episodes Archives - DO NOT DELETE. This function is not working good. Some podcast have the same track duration. How can this be fixed?


    Other question. The podcast pages look bad on mobile devices. Where can I find the template for the podcast pages and can I adjust it so it will look better on a mobile device? The header is way to small and I don't see a navigation. See image attached.

    Thanks for your help.


    Regards

  •  669
    Alexandre replied

    Hello Marlon, 

    Your Episode are set with an External File (See here). 
    When we are using an external file we have to set the duration manually here.

    So you have to set the duration by yourself but this is not the real issue here. 

    The things is if you click on Local MP3 here, you will a mp3 file is set here.
    The custom_get_track_duration function will get the time duration from this file if it can, otherwise it will goes with the duration field value. 

    So you have to select Local MP3
    Remove the mp3 file. 
    Click on update. 
    Go back to the External File
    Insert the time duration manually
    And click on update.

    Please take a look on the video here: https://d.pr/v/86Syxe

    Thanks,


    Alexandre from the Sonaar.io Crew

  • Marlon replied

    Hi Alexandre,

    Thanks for your fast reply. Can you also answer the second question please.


    Other question. The podcast pages look bad on mobile devices. Where can I find the template for the podcast pages and can I adjust it so it will look better on a mobile device? The header is way to small and I don't see a navigation. See image attached.


    Regards,


  •  669
    Alexandre replied

    Hello Marlon, 

    You should select a custom height to the banner. "Keep Image Aspect Ratio" doesnt look it is the right setting for this kind of image format. 

    https://d.pr/i/FLBKnW

    Thanks,


    Alexandre from the Sonaar.io Crew