Welcome, Guest. Please login or register.
March 16, 2010, 04:26:37 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
110108 Posts in 15906 Topics by 9274 Members
Latest Member: someWBUser
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Archive (posts up to 2007) (Moderators: Argos, BerndJM)
| | |-+  Songlist with mp3 player
Pages: [1] Go Down Print
Author Topic: Songlist with mp3 player  (Read 12262 times)
sectoroverload2k

Offline Offline

Posts: 3



WWW
« on: January 12, 2006, 04:57:16 AM »

What is Songlist?
Well it's a PHP and MySQL generated list of songs and mp3 files that have been added and/or uploaded to your site.

What can this Songlist do?
It displays a list of song names, based on their name or id. Mp3 files that have been uploaded have the option of being available to be clicked on to play or listen to the song with the built in player (uses quicktime). Songs have the ability of not being visible on the list, not being available for playing even if uploaded, or only showing the available ones on the songlist!

see it for yourself: http://www.carlnewtonandthe5thaveband.com/test/pages/songlist.php

or download here: http://www.linsday.net/wb/modules/songlist/songlist.zip
(this module was designed specifically for this site, but will work in any site)



~SectorOverLOAD2k
Logged

-=-=-=-=-=-=-=-=-=-
SectorOverLOAD2K
-=-=-=-=-=-=-=-=-=-
Woudloper
Guest
« Reply #1 on: January 13, 2006, 07:54:18 AM »

Haven't installed it though, but you module looks very nicely developed. I will add it to the list of modules a.s.a.p.
Logged
wwwMARKLEYcouk

Offline Offline

Posts: 287



WWW
« Reply #2 on: January 13, 2006, 09:01:16 AM »

nice module and it is well developed, very clean Smiley
only issue i see arising from this is my bandwith limit Sad
Logged

http://www.markley.co.uk
webhosting packages available
bupaje

Offline Offline

Posts: 473


WWW
« Reply #3 on: January 27, 2006, 01:33:52 AM »

Hi. Can anyone tell me what values to use in settings? I tried [song_id] [name] [song] and get zilch. There is no default html in there and the thumbnails in the completed modules section don't link to full sized images so I couldn't figure it out.

Oh, and can anyone tell what would be involved in playing wav files with this player? I am thinking about using this for a small sound effect library and many are wav files.
« Last Edit: January 27, 2006, 01:35:45 AM by bupaje » Logged

bupaje

Offline Offline

Posts: 473


WWW
« Reply #4 on: January 27, 2006, 02:50:00 AM »

Ok, I sort of got everything except the popup -I can figure the rest out myself.
Logged

bupaje

Offline Offline

Posts: 473


WWW
« Reply #5 on: January 27, 2006, 03:42:19 AM »

I see in the code save.php that it says 'make sure file is wav or mp3' -should this play wav? In my case I get an error message 'file must be mp3' despite what it says there. If there is an easy way to get it to play both that would be great.
Logged

Isabel

Offline Offline

Posts: 19



« Reply #6 on: January 27, 2006, 07:18:30 AM »

Hi sectoroverload2k,

looks great.  Can I add a couple of ideas to the mix: 

- add an option to show file size in parentheses next to the song title
- add an option to show file type
- add an option to show download link

Thanks and cheers,

Isabel
Logged
sectoroverload2k

Offline Offline

Posts: 3



WWW
« Reply #7 on: January 29, 2006, 08:07:48 AM »

Hi. Can anyone tell me what values to use in settings? I tried [song_id] [name] [song] and get zilch. There is no default html in there and the thumbnails in the completed modules section don't link to full sized images so I couldn't figure it out.

Oh, and can anyone tell what would be involved in playing wav files with this player? I am thinking about using this for a small sound effect library and many are wav files.

I see in the code save.php that it says 'make sure file is wav or mp3' -should this play wav? In my case I get an error message 'file must be mp3' despite what it says there. If there is an easy way to get it to play both that would be great.


Sorry guys, as of right now, it doesn't NOT play wav files. I originally thought about playing them, but i decided to take out that feature because of the unusually larger file sizes compared to mp3 files.

if you want to add wav support, change that line in save_song.php from
Code:
// Make sure the song is a wav or mp3 file
if(!($fileext == "mp3")) {
to:
Code:
// Make sure the song is a wav or mp3 file
if(!($fileext == "mp3" || $fileext == "wav")) {

the above change will only allow you up UPLOAD the wav files. after uploading, the file will be saved as a .mp3, which may or may not cause problems in the songplayer because the ".mp3" extension is hard coded thoughout the module.... sorry about that guys!  undecided

good luck.
Logged

-=-=-=-=-=-=-=-=-=-
SectorOverLOAD2K
-=-=-=-=-=-=-=-=-=-
bupaje

Offline Offline

Posts: 473


WWW
« Reply #8 on: January 29, 2006, 08:25:56 AM »

Thanks for the explanation -that's ok, still a great module. I guess I can always convert the wav to mp3.
Logged

rabsaul

Offline Offline

Posts: 259


WWW
« Reply #9 on: March 16, 2006, 08:52:57 AM »

Hi. Can anyone tell me what values to use in settings? I tried [song_id] [name] [song] and get zilch. There is no default html in there and the thumbnails in the completed modules section don't link to full sized images so I couldn't figure it out.

Oh, and can anyone tell what would be involved in playing wav files with this player? I am thinking about using this for a small sound effect library and many are wav files.
Ack, bupaje! You figured this out and left the rest of us in the dark! What do I need to put in settings in order to get the module to work? It would be really nice if it had some default code that we could tweak, rather than having to scratch in the dark blindly. I have no idea what to do... seems rather incomplete. Sad
Logged
bupaje

Offline Offline

Posts: 473


WWW
« Reply #10 on: March 17, 2006, 01:54:27 AM »

I have this module disabled currently and don't remember exactly what I was tripping on but here is a shot of my settings page for it if that helps. Smiley

http://www.stormvisions.com/junk/smss1.jpg
Logged

rabsaul

Offline Offline

Posts: 259


WWW
« Reply #11 on: March 17, 2006, 03:03:35 AM »

Thanks, Bupaje! That's perfect, I just needed enough code to figure out how to get the songs to display. I can tinker from there.  cool
Logged
rabsaul

Offline Offline

Posts: 259


WWW
« Reply #12 on: March 17, 2006, 03:21:59 AM »

Bupaje (or any other Songlist users), can you tell me if you had uploading difficulties with this module? It keeps timing out, and I'm not detecting other difficulties with my server. It's the sort of concept I'm looking for, but I'm not sure if I'm going to be able to use it as is.
Logged
bupaje

Offline Offline

Posts: 473


WWW
« Reply #13 on: March 17, 2006, 05:00:58 AM »

No, I had no other problems installing it -sorry.
Logged

rabsaul

Offline Offline

Posts: 259


WWW
« Reply #14 on: March 17, 2006, 05:18:40 AM »

Thanks, I've had numerous problems all the way thru with this particular install of WB. Maybe it's because it's on an add-on domain, I don't know. I've always previously installed on my reseller account, but I have so much space on my personal account, I thought I throw some more stuff there.

Maybe not.... Undecided
Logged
rabsaul

Offline Offline

Posts: 259


WWW
« Reply #15 on: March 17, 2006, 06:23:58 PM »

Bupaje, something looks funny there...

Your code for Available Loop looks like this:
 
<a href="[LINK]"]" onClick="return popup(this, 'song')">[NAME]</a>

Am I right in thinking that you shouldn't have an unmatched (unopened) closing bracket?
Logged
bupaje

Offline Offline

Posts: 473


WWW
« Reply #16 on: March 21, 2006, 06:39:17 AM »

You are right. I think it worked when I tried it anyway -but it shouldn't have. Smiley
Logged

BillyBoy5

Offline Offline

Posts: 2


« Reply #17 on: March 28, 2006, 02:29:48 AM »

Hi Everyone,

Did someone figured out how to upload files... Modify some file(s) manually and create a list at that way???

Adding songs one by one is very time consuming...

Thanks in advance.

Logged
mysticcowboy

Offline Offline

Posts: 200



WWW
« Reply #18 on: April 14, 2006, 11:26:12 PM »

Hi Everyone,

Did someone figured out how to upload files... Modify some file(s) manually and create a list at that way???

Adding songs one by one is very time consuming...

Thanks in advance.
Instead of using this module, I've added a Flash player that does what you're talking about.
http://markpearsonmusic.com/music.html]http://www.jeroenwijering.com/?item=Flash_MP3_Player

Just edit a simple XML file and FTP everything to the site.
http://markpearsonmusic.com/music.html

That opens the jukebox on the top of the page. I set it for autoplay. That can be turned off.

The individual songs lower down on the page use the MP3 Flash Player, which I paid for
http://www.gigfoot.net/software/1.html

I've also used another shareware flash player, Wimpy button at
http://jennydavisjazz.com/pages/music.php


Logged

michael mckee

www.mactheweb.com
Mac and Web Design, the perfect marriage
smitty

Offline Offline

Posts: 6


« Reply #19 on: May 09, 2006, 02:39:42 PM »

Hi,
I have also troubles with this module. I'am not sure if it works wtih wb 2.6
I also get :
Fatal error: Call to a member function on a non-object in /home/b694/public_html/wb/modules/songlist/modify.php on line 78
 Can anyone help me??

Smitty
 huh
Logged
rabsaul

Offline Offline

Posts: 259


WWW
« Reply #20 on: May 11, 2006, 11:08:43 PM »

Hi,
I have also troubles with this module. I'am not sure if it works wtih wb 2.6
I also get :
Fatal error: Call to a member function on a non-object in /home/b694/public_html/wb/modules/songlist/modify.php on line 78
 Can anyone help me??

Smitty
 huh
It won't work until you configure the display settings. See the conversation above.
Logged
webone

Offline Offline

Posts: 2


« Reply #21 on: June 10, 2006, 11:28:39 AM »

Hello all songlist users. I am really stressed out. I have tried allmost everuthing to make song available but it dos not give me a chance to do it. What can I bee doing wrong?
Logged
webone

Offline Offline

Posts: 2


« Reply #22 on: June 10, 2006, 12:16:02 PM »

Bupaje, something looks funny there...

Your code for Available Loop looks like this:
 
<a href="[LINK]"]" onClick="return popup(this, 'song')">[NAME]</a>

Am I right in thinking that you shouldn't have an unmatched (unopened) closing bracket?

Hello Did you ever get it to play'?
Because I dont get to make it available! How come? Do You know?
Logged
afrodiz

Offline Offline

Posts: 11


« Reply #23 on: September 04, 2006, 07:06:38 AM »

Someone has the good setting of this module?
The link explaining how to set up and making work
http://www.stormvisions.com/junk/smss1.jpg doesn't work
Logged
Jella

Offline Offline

Posts: 8


« Reply #24 on: September 08, 2006, 08:25:29 AM »

Can someone help me with the issue below?
I added the songlist module, and now would like it to access my media files. I want to upload a radio commercial that I have on mp3. However, I don't know how to do this. I added files and it I uploaded from my computer files, but nothing shows up.

Pls help.

Newbie.
Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!