WordPress.org

Ready to get started?Download WordPress

Forums

MP3-jPlayer
display file name, not title. (3 posts)

  1. 3rdaxis
    Member
    Posted 10 months ago #

    Is there a way to display the file name rather than the title of a MP3?

    Im trying to do this with the automatic playlist within the MP3J-ui widget. Since there are many authors posting their own works, adding captions is an extra step that needs to be avoided.

    Thanks

    http://wordpress.org/plugins/mp3-jplayer/

  2. 3rdaxis
    Member
    Posted 10 months ago #

    after doing many searches i found that nobody has really come up with a solution to this. I went into wp-admin/includes/media.php and found these lines.

    if ( ! empty( $meta['title'] ) )
    $title = $meta['title'];

    I then did this.

    //if ( ! empty( $meta['title'] ) )
    //	$title = $meta['title'];
    if ( ! empty( $meta['file'] ) )
    $file = $file['file'];

    Works perfect.

    So now i can have "artist name - artist song.mp3 display.

  3. 3rdaxis
    Member
    Posted 10 months ago #

    If somebody can shed some light on how to accomplish this outside of editing a core script that would be helpful.

Reply

You must log in to post.

About this Plugin

About this Topic