Hello.. I installed the modules earlier today and created the Content Type. It was working fine. Then I went to add more MP3s. It worked for a few minutes after having 2 MP3s uploaded except it just played one of the files some times.
Later today I went to add more content and the files show as a file download. The Player is completely gone.

I went back through what I had done. I even completely de-activate the MP3 Player and the Filefield MP3 Player Formatter.. deleted the folders from my website and started completely over. The Player still is not on the page.. just a link to download the file.

Any help you can give would be appreciated! Link to a page with Content created using the Audio content type:
http://wrezradio.net/node/19

CommentFileSizeAuthor
#1 filefieldmp3player.module.zip1.28 KBjdelaune

Comments

jdelaune’s picture

StatusFileSize
new1.28 KB

This happened on my dev earlier today and this seems to have fixed it. Let me know if it does for you as well.

Things you'll need to do after updating the file:

Go to your modules page and click save.
Go to your content type click configure on the filefield cck field and then click save.
Go to your display options on the content type and click save.

Hopefully it will work :)

Claari’s picture

Yes, Thank you! That did work to get the player back but I have another question..
I configured my file system to be private with my uploads going to a folder outside of public_html. When I upload an MP3 using my Audio content type, the file is uploaded to the correct folder, but MP3Player says File Not Found. It only looks at
system/files/

Can we make it use my configured path?

jdelaune’s picture

Ok I'll have a look into getting it working with the private file system, and get back to you.

jdelaune’s picture

Status: Active » Fixed

Will release a dev snapshot shortly fixing issues with the private file system.

Status: Fixed » Closed (fixed)

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

Max K.’s picture

Status: Closed (fixed) » Needs review

Not seeing it in the dev snapshot. Am I looking at the wrong one?

Max K.’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta1

Ah, I see -- this is a year old. Well the problem persists. I was experiencing the same problem described here after setting the filesystem from public to private and found the following in filefieldmp3player/filefieldmp3player.module on line 91 (version 6.x-1.0-beta1):

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

Unfortunately, as we know $item['filepath'] may contain an absolute path if the filesystem is private. Changing the argument to file_create_url($item['filepath']) fixed the problem. I'm not sure if this works for public paths as well, or not.

Hopefully this won't be an issue in d7.

pagemech’s picture

@Max K. Just tried out your tweak stated in #7 on a drupal installation with public filesystem. It works. The module should be patched with this.

jdelaune’s picture

Status: Needs review » Fixed

Committed to dev. Thanks

Status: Fixed » Closed (fixed)

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