Download & Extend

Player is not visible for audio files

Project:Audio
Version:6.x-1.0-unstable5
Component:players
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Related: http://drupal.org/node/133897, applies to Drupal 5.

I installed the audio module and uploaded an mp3 file. When I view the audio node, the player does not appear and I cannot play the file. I see the node's title, Submission info, Body, Filesize and a link for downloading the file (downloading works OK). But there is no player visible and I have not figured out how to play the file. Thanks in advance for any help you can provide.

Drupal 6.14
Audio 6.x-1.0-unstable5 (have also tried 6.x-1.x-dev)
getID3 1.7.9-20090308
Theme Bluemarine (have also tried Garland)
Administer->Settings/audio/players I've tried 1pixelout and XSPF Slim
audio/user/1 node displays as described above, but no player is visible
permissions "play audio" enabled
I have NOT installed CCK

Notes:
when uploading an audio file, the following error message is presented: "warning: Invalid argument supplied for foreach() in /home/content/p/h/o/phoneword/html/subdomains/complimentary/sites/all/modules/audio/audio.module on line 551."

Comments

#1

I also have this problem with Audio 6.x-1.0-unstable5 with the same error message.

#2

same problem..

#3

I had the same problem and after lot of search I could find that the error was popping up because it was trying to find the properties of mp3 file and as there was no Audio getid3 module enabled it wasn't getting anything. Result : above error.

To solve this I request you to enable Audio getid3 module appropriately and try to upload the file again.
It worked miracles for me. I didn't need to provide any title or anything and I could see all the information about the audio. Title was also generated automatically.

I still didn't understand why it's no where mentioned to enable getid3 module if it's required in basic upload of files. :-?

#4

Hi...

I'm having a similar problem, but a little different in some important ways. I haven't been able to work out what's causing it. I DO have getid3 module installed.

In my case, I've got an audio node, and like the OP says, there's no player, but all the links (including download) work fine. But the player is missing.

Now, the weird thing about it is, I've got some other audio files, and they work just fine. When I change the song to another, it works. But when I change it back to the song I want, the player disappears.

Any idea what's going on??

Thanks!

#5

Subscribing. Same problem.

Update: Here's what I'm seeing in my Drupal log.

call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme_audio_display' was given in /path/to/drupal/includes/theme.inc on line 617.

Update 2: Another odd thing I noticed is that my breadcrumb on audio nodes displays as "Array > Array > Array > Array". This is a custom theme, but I haven't customized breadcrumb display. Breadcrumbs display normally on all other pages, including Station Program and Schedule pages.

PHP 5.2.x, Drupal 6.14, Audio 6.x-1.x-dev, getID3 6.x-1.2, getID3 library 1.7.9

#6

After a bit of searching, I discovered a related issue in the forums that pointed to a theme.info file not being named properly. I renamed my my theme.info to match my theme's name, indie (i.e. indie.info), updated blocks, and now my flash audio players are displaying.

My breadcrumb is still displaying as "Array > Array > Array > Array", but I'm happy that the player's working :)

Update (11/27/09) - The breadcrumb issue is completely unrelated. Turned out to be a Station module issue which has been fixed.

#7

Identical problem, not using Station module. No player appears.

#8

I got the same problem and found that you have to enable the "Audio getID3" module along with the core "Audio" module to show the player.

You might have to upload your audio file again after activating that module as suggested above.

hth
Frank

#9

Status:active» fixed

It's not that getid3 has to be installed, it's that the players only display if the sample rate is compatible. So you could either enter a sample rate that works or have getid3 do it for you.

#10

Thanks for the hint, I'll try that!

#11

Status:fixed» closed (fixed)

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

nobody click here