Welcome, Guest. Please login or register.
August 20, 2008, 05:05:50 PM

Login with username, password and session length
Search:     Advanced search
Please check out the Documentation available and use the advanced forum search, before posting in the forum - thanks.
Bitte lies zuerst die Dokumentation und benutze die Advanced Forensuche, bevor Du einen neuen Beitrag erstellst - danke.
Bekijk alstublieft eerst de Documentatie en gebruik de Advanced Forum Zoekfunctie, voor dat u een post maakt in het forum - Hartelijk dank.
60556 Posts in 9791 Topics by 5824 Members
Latest Member: blubb
* Home Help Search Login Register
+  Website Baker Community Forum
|-+  English
| |-+  Archive
| | |-+  Songlist with mp3 player
Pages: [1] 2 Go Down Print
Author Topic: Songlist with mp3 player  (Read 7334 times)
sectoroverload2k
Pending Apprentice Baker
**
Offline Offline

Posts: 3


SectorOverLOAD2K
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
Master Baker
*****
Offline Offline

Posts: 268



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
new webhosting packages available at the cheapest prices around
bupaje
Geek-Like Baker
*****
Offline Offline

Posts: 401


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
Geek-Like Baker
*****
Offline Offline

Posts: 401


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
Geek-Like Baker
*****
Offline Offline

Posts: 401


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
Pending Apprentice Baker
**
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
Pending Apprentice Baker
**
Offline Offline

Posts: 3


SectorOverLOAD2K
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
Geek-Like Baker
*****
Offline Offline

Posts: 401


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
Almost Master Baker
*****
Offline Offline

Posts: 227


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
Geek-Like Baker
*****
Offline Offline

Posts: 401


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
Almost Master Baker
*****
Offline Offline

Posts: 227


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
Almost Master Baker
*****
Offline Offline

Posts: 227


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
Geek-Like Baker
*****
Offline Offline

Posts: 401


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

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

rabsaul
Almost Master Baker
*****
Offline Offline

Posts: 227


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
Almost Master Baker
*****
Offline Offline

Posts: 227


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
Geek-Like Baker
*****
Offline Offline

Posts: 401


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
Pending Apprentice Baker
**
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
Semi-Master Baker
*****
Offline Offline

Posts: 202



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
Pending Apprentice Baker
**
Offline Offline

Posts: 3


« 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
Pages: [1] 2 Go Up Print 
Jump to:  

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