WordPress.org

Support

Support » Plugins and Hacks » MP3-jPlayer » display file name, not title.

display file name, not title.

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘display file name, not title.’ is closed to new replies.
Skip to toolbar