Closed (fixed)
Project:
Audio
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2007 at 21:24 UTC
Updated:
11 May 2007 at 12:22 UTC
I updated from audio 5.x-0.1 to audio 5.x-0.3 and unfortunately players did not show up. And also when clicking on any song's page it was empty. I tried audio 5.x-0.2 too - same problems. Everything worked when I switched back to audio 5.x-0.1.
Comments
Comment #1
drewish commentedcouple of things. did you install the required views module? and how about a link so we can look at what's actually happening.
Comment #2
akula@dev.lawer.id.au_drupaltest commentedI am having a smiler problem... but this is one of the first modules I have installed and I haven't ever done that much with drupal so it could be a problem between keyboard and chair.
However the problem is that whenever you click on the play link for a mp3 track it calls the computers local handler for the format as opposed to the flash player. It appears as if this URL (http://dev.lawer.id.au/drupaltest/audio/play/3) is resolving to the file and not to a handler which loads the player with that URL. I am sorry I can't give you more detail then that at the moment, but my knowledge of drupal internals is non-existent.
Drupal Version : 5.1
Site address : dev.lawer.id.au/drupaltest
GetID3 version : 1.7.7
Views Version : 5.x-1.5
Problem occured using both Firefox 2.0.0.1 and IE 7.0.5730.11.
Anyway, Thanks in advance for the help.
Comment #3
yngens commentedDrewish, I would gladly provide a link, but that was done on production site, which I can not update to 5.x-0.3 again to show the problem. But if we were in the net at the same time I could quickly switch there and back.
Comment #4
drewish commentedakula, your theme seems a little wierd. all the bullets are smashed over at the right. but yeah you don't seem to have the player. i'll try to look into it a bit more later.
Comment #5
mrtunes commentedsame problem:
audio - 5.x -0.3
views - 5.x - 1.5
Comment #6
drewish commentedare you getting messages that your audio nodes are not compatible with the flash players when you edit them?
Comment #7
mrtunes commentedi'm trying 5.x-0.2 as you know, but when 0.3 was running i never encoutered a message of that sort. i'm sure people who are more deep into their projects can comment on this better than i can :-)
Comment #8
mrtunes commentedok a bit more info on my problem - i went down to 5.x-0.2, had the same issue. then i went down to 5.x-0.1 and also had the issue. from what i can tell, the error message i got was that "this player only supports files of this sample rate" type message even though my file WAS in 44.1
then when the node was posted, click to play file does not trigger quicktime, instead it prompted me to download the file. when i agreed to download it, the filename it was given was one of those temp files - ie a5993gasd.mp3
so it appears my problem is not related to the version of the audio.module
Comment #9
mrtunes commentedso what fixed the problem for me was making sure the GetID3 system was setup properly. i overlooked it before and i guess that caused a lot of problems for the audio module to properly analyze the file before going into the player. well it's fixed for now and i'm a happy camper!
Comment #10
jorditr commentedNot working for me neither. I've upgraded the views-bonus module with some code I've found on another thread and at least is not giving me the annoying message related to the views-bonus module, but still players not appearing at all.
BTW, I havent seen described on any place that (well, maybe there are more threads that the ones I've read), where there should be a player there's a simple "Click to play" text that when clicked invites to download a file, and what it downloads is a file with no extension and the number of the node. The lower "Download audio file" link is downloading the proper mp3 file with no problem. Is it the proper behaviour? I guess it's not.
Any clue?
Comment #11
drewish commentedplease try out the -dev version.
Comment #12
jorditr commentedI was already using the last dev version.
Comment #13
jorditr commentedI don't know if that may help but looking at the code around the "Click to play" link what I see is that:
There is simply a link, there's no any code pointing to anything else that maybe was not found and thus not rendered on page...
Comment #14
Luneh commentedHi,
I have the same problem on my local in dev website. I keep having the "Click to play" link instead of the player.
I use audio 5.x-1.x-dev (latest) and views 5.x-1.5.
I checked the code a little and it appears that the "Click to play" link is taken by default if something else does not work?
No error message when I try to update the files.
I activated the GetID3 module even if it should not be necessary (is it?). It is found by the system.
Just to be sure it was not my theme, I tried with bluemarine and chameleon as well. Same thing.
Any idea?
Comment #15
drewish commentedJordiTR, then update the status ;)
Can you guys make sure you've got a player selected the players settings page: /admin/settings/audio/players
Comment #16
jorditr commentedSorry drewish about not updating the status, I didn't know, and even don't know which :-)
I did selected the player on the settings page, in fact serveral times checking different possibilites, I'm quite experienced with Drupal, despite I could have forgott something... But I've rechecked several times my configuration.
First I thought that maybe it had not found the players directory and thus could not render the player but at least if finds it on the settings page in order to show every corresponding png.
Comment #17
Luneh commentedHi,
Yes I selected a player on the admin/settings/audio/players page. I even tried with several of them without any success.
I checked my files and can confirm that the players' files are on my system and apparently at the right place (modules/audio/players). I can even call the swf file when entering the address http://127.0.0.1/audio/players/xspf_slim.swf in my browser, it works.
Comment #18
Luneh commentedSorry, the address I displayed above is wrong. The address I use to call the player is:
http://127.0.0.1/modules/audio/players/xspf_slim.swf
Comment #19
drewish commenteddo either of you have public sites i could look at to see to examine the HTML that's being generated?
Comment #20
zirafa commentedYou guys also sure that you are specifying MP3 as the file format and the audio metadata has the correct sampling frequency (44100 Hz, 22050 hz, 11025 hz)...the player doesn't appear if these aren't set in the audio node.
Comment #21
Luneh commentedHi,
Drewish sorry, the website is still not online, but I hope it will be for several tests this week-end.
Zirafa, now that you speak about it... mp3 is indicated under allowed extensions, this should then be OK. But on the other hand, even if the information for the file is retrieved by getID3 and is shown properly on the "edit" page, information such as Length and Format are not displayed on my "view" page.
It gives me something like that:
Click to play
Artist: blablabla
Title: blablabla
Length: minutes (1.61 Mo)
Format: 0kHz 0Kbps ()
Hope this helps. :)
Comment #22
vm commentedWhat is the sampling frequency and bitrate of the file you are trying to upload ? don't rely on ID3 to get it for you, are you running 128bit @ 44100 Hz, if not you need to have the audio converted to the proper sampling rates so that flash can play them.
what version of ID3 are you running ?
Comment #23
vm commentedclarification:
128 bit is not the only bit rate that can be used either, as zirafa has stated (44100 Hz, 22050 hz, 11025 hz)... are the only sampling rates Flash can use properly.
Comment #24
Luneh commentedBingo, here we are. The bitrate of my audio files are apparently not compatible, 192kbps. I uploaded a file with a bitrate of 128kbps in order to test and it works. Thanks.
Is there a way to have it converted when the files are uploaded or do I have to do it locally before I upload?
Comment #25
drewish commentedyou'll have to do it before uploading.
Comment #26
killes@www.drop.org commented