great module :)

Theres one big problem though which is preventing me from using it.

There is no option to display the track name or even mp3 filename above or below the player. You can only see the name when you start playing the track. I have 11 players stacked for an album and its a bit silly not being able to see what all the tracks are called when you view the page, even if animate is turned off and the player is expanded it doesnt show the name until its played.

I understand the ID3 tag isnt read until the play button is pressed, but it would be helpful to even display the mp3 filename instead of just a load of blank players

Comments

jdelaune’s picture

Assigned: Unassigned » jdelaune
Status: Active » Fixed

Support for this will be added in the next update.

Ira Rabinowitz’s picture

Here is a patch you can use in the mean time. This adds the name of the MP3 file (minus the extension) to the player

File filefieldmp3player.module

Around line 90

  //MP3 files get special treatment.

  // IMR 7/30/09 Added this line and changed next line	
  $path_parts = pathinfo(base_path().$item['filepath']); 
  return theme('mp3player', $player, base_path().$item['filepath'], $path_parts['filename'], NULL, $description);

   // Original line: 	return theme('mp3player', $player, base_path().$item['filepath'], NULL, NULL, $description);

You got to set the player to be expanded in the options to see the file names.

Good Luck,

Ira

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.