 |
|
 |
Hi! how could you make a xspf and pls playlist generator and read it on web page with the appropriate player.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
... but for some reason the .m3u files are empty...! they all have some 1.22kb and whenever i open it .. it shows the file name on the player .. and all times as 00:00 and never plays a thing.. any ideas ?
I mean.. since i found the idea of this little software pure AWESOME ..i've instaled apache server, and IIS and set the virtual dir.. but still.. something's missing... my localhost is "fateful" whenever i type it on firefox it shows apache's workin' but altough my mp3 directory is created on IIS "netmgr" virtual dir .. when i try acessing it through firefox "http://fateful/mp3" i get this:
Not Found
The requested URL /mp3 was not found on this server
-- modified at 13:55 Tuesday 17th July, 2007

|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
okey. could make it.... conflictuous port on IIS .... but well after all that work i had to make it function.. i realized that it generate streamming .m3u files ? .. i mean songs gets all messed up on title in the player.. that way it shows messed up on "what i'm listening to" plugin at msn / irc, also doesn't get submited to last.fm.. ah... that's so terrible to be true. ((( 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I am also having some trouble with the Root Dir. I have tried changing the folder to just "mp3", and I even mapped an E: drive so that I can reference "E:\mp3", but every time I hit the generate button, I get an error stating that the path I specified isn't a directory.
I noted that it is a different error than simply typing in an invalid directory name. Any thoughts? I'm really hoping to get this going, as it is the answer to all my streaming problems
Thanks, Jeremy
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Jon:
I'm asking a developer to create a CMS for my PHP/MySQL based Wireless Tech Radio website to automate the WAX file creation for WM9 WMA audio files I use today. I have gotten many requests for straight MP3 files so I'd like to include them, too.
I have manually created hundreds of WM9 .WAX files and am comfortable with that. But It's not clear to me how to create PLAYLIST files for MP3s and with a bit of GOOGLE'ing I came to your program.
Do you think it's possible/hard/easy to incorporate your method into a PHP/MySQL CMS to build the MP3 playlist files which can be included in the HTML built by the CMS. Archive listing, etc.
Thanks, Jim
Wireless Tech Radio http://www.wirelesstechradio.com Streams LIVE every Wednesday 10AM Eastern
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Creating MP3 playlists is pretty straightforward. This program just writes the URL to the MP3 file, like so:
http:http: etc...
It recurses through the directories to discover the MP3 files and create the HTML playlists. In the hands of a skilled developer, porting this functionality to PHP is fairly trivial.
A word of caution: I originally wrote this in ASP, but due to the large # of files and directories, it was SLLLLOOOOWWW. Therefore, I rewrote it in C++. Instead of generating the HTML each time I request the page, I only generate it after I add/update/delete MP3 files.
ETA: I appreciate the fact that you needed the information in a hurry, but there was no need to post the same message here, via email from my Web page, AND on my personal guestbook. I get notified from this messageboard on this page whenever anyone posts here. In the future, if your questions are related to this program, please post them here so that others may benefit from our discussions.
Thanks,
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi. I'm quite interested in using your program here to help orgagnize my ~25Gb of MP3s. As it turns out, I've organized them all in the file structure you describe. I've really got no playlists available, however, so loading an album is always a bit tedious. Anyway, I've played with the program and it clearly is creating the m3u files you describe. Their not imediately useful to me, however, as I don't really know how to set up the http portion. It looks like your directions have me setting up some kind of sql business. Can I somehow just use the playlists as generated? If so, what could I fill into the "Host Name" field?
Thanks loads, J
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi J,
If you just want to use them from your local drive without setting up a Web server, you would need to modify the program to prepend the drive path to the MP3 file. In other words, instead of http:, you would want to modify the program to spit out something like E:\mp3\Artist\Album\01 Song.mp3. I think that would allow you to play the files locally.
As it is written, the tool does not currently support this. That is a great idea for an enhancement, though.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I just stumbled upon this program through Google. Your description sounds like what I'm looking for, but if the MP3 Root Directoy is anything other than "mp3", you get an error saying "The path you specified for MP3 Root Directory is not a directory: F:\default_mp3"
Instead of having my MP3 collection in a folder called mp3, it's in a folder called default_mp3, which the program doesn't like for some reason. Other than that, it seems like a neat little app.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi roguedis,
Did you try running the program in the VS debugger to see where it is choking? I did a brief scan, but I didn't find anywhere that the directory name "mp3" was hardcoded.
What specific parameters did you use?
Host Name: Virtual Directory: MP3 Root Directory:
Thanks,
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
As it turns out there was some sort of odd bug on my end. My "default_mp3" folder was shared on the network and had a customized folder icon (the Win XP one with the folder and a musical note as opposed to the default folder icon). For some reason one or both of those properties caused the program to think it wasn't a directory. If I renamed the folder to "mp3", created a new folder with the old name "default_mp3", and copied all my files to the new folder with the old name, everything worked fine. But I received the same error with the old folder with the now new rename, even after I disabled the sharing of the folder and restored the original folder icon.
I haven't had a chance to run a debugger on it, but if I do, I'll let you know what else I can find out. As for now, your program is great and has saved me tons of time. If you'd like a product suggestion, I'd love it if you could make some flexability for folder structures that are of the type "\disc name\disc 1\, \disc name\disc 2, etc." as opposed to just "\disc name - disc 1\, \disc name - disc 2, etc."
Thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Any progress on the above fault as I'm having the same problem.
PS. Top class util ... I've been searching the net for ages for something like this that can the effort out of mantaining my MP3 playlist and then generate the links I need for streaming.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Methinks I may have hardcoded "mp3" somewhere into the application. I'll take a look at it later today.
Thanks,
Jon
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
1. Provide 'Browse' button for the MP3 Root Directory 2. Combo box would be better for Host Name instead of text box.
Errors: From the demo, I get 'an unnamed file was not found' error when I hit the 'Generate .m3u files' button. But the local directory has these files, index.htm and All.m3u (with zero bytes)
Index.htm contents: (notice no files listed here) Welcome to the MP3 Paradise Play All (WARNING: BIG)
Actual Index.htm file: < html> < head> < title>Welcome to the MP3 Paradise</title> < link rel="stylesheet" type="text/css" href="mp3.css"> < /head>
<body > Welcome to the MP3 Paradise < h1 >< a href="http://www.abcd.com/mp3/All.m3u" >Play All (WARNING: BIG) < / a > h1>
Ignore the spaces.
I think the error happening while you parse the filenames. See the missing HTML footer. I didn't check the code yet for exact location of the error.
But you still get my 5.
"...if you don't want to hear things that piss you off don't piss off other people. SIMPLE." - Steven Hicks This signature was created by "Code Project Quoter".
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Kant wrote: 1. Provide 'Browse' button for the MP3 Root Directory
That's in my to-do list. 
Kant wrote: 2. Combo box would be better for Host Name instead of text box.
Good idea.
Kant wrote: Errors:
I'm not sure what is going on. Can you break out the debugger and figure out where it is choking? Do your files/directories have special characters? I only tested it on US-English machines.
Kant wrote: But you still get my 5.
Thanks!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi, Good Job. I've few suggestions. If you really want people to use your tool, you need to get rid of those two requirements that you have mentioned in your article. Lets talk about them.
Your collection contains entire CDs and is arranged by artist and album (see "Directory Structure" below).
Your solution needs to be generic. What don't you read the artist, title and album information from the Id3 tags. You can read either ID3v1 which are fixed length and easier to decode or ID3v2 which are of variable length and can contain any information(even Album Cover as image). You can find more information on this from http://id3.org/[^]. Include ID3 library in your code and extract all the required information from any provided Mp3 file.
In-case your MP3 files does not contain ID3 tags but are organized in proper directory structure, then you can convert that information into Id3 tags using many of the MP3 tools freely available on the net. My favorite is Music Library. This this the most powerful MP3 organizer that there exists. Check it out http://www.wensoftware.com/MusicLibrary/[^] (But unfortunately it is not free. You can try their 30 dayz eval copy. I'm sure you'll be impressed.)
Your collection resides on a machine capable of being a Web server.
Hmm... I'm not sure of this and I haven't seen your source code. Unless you are using ASP or any other server side scripting. Web-server should not be a requirement. You do not need Web-server to see html files. HTML files can be seen from the local harddisk as well. Instead of asking for Hostname and virtual directory simply ask for the directory where the output HTML file is to be placed. And then you can see your MP3 collection by pointing your browser to the generated file (eg c:\MP3\My Collection.html) You may even make this as your Home Page.
I'm too geeky for this shirt, too geeky for this shirt, so geeky that it Hertz!
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi Snakebyte,
I appreciate the feeback.
Snakebyte wrote: I've few suggestions. If you really want people to use your tool, you need to get rid of those two requirements that you have mentioned in your article. Lets talk about them.
I never intended this tool to be all things for all people - I created it specifically for my use and thought I would share it in case others had a collection structured like mine.
Snakebyte wrote: Your solution needs to be generic. What don't you read the artist, title and album information from the Id3 tags. You can read either ID3v1 which are fixed length and easier to decode or ID3v2 which are of variable length and can contain any information(even Album Cover as image). You can find more information on this from http://id3.org/[^]. Include ID3 library in your code and extract all the required information from any provided Mp3 file.
In-case your MP3 files does not contain ID3 tags but are organized in proper directory structure, then you can convert that information into Id3 tags using many of the MP3 tools freely available on the net. My favorite is Music Library. This this the most powerful MP3 organizer that there exists. Check it out http://www.wensoftware.com/MusicLibrary/[^] (But unfortunately it is not free. You can try their 30 dayz eval copy. I'm sure you'll be impressed.)
I hadn't even given ID3 tags a thought, but you're right, it wouldn't hurt to figure out how to use them in this tool. Thanks for the links.
Snakebyte wrote: Hmm... I'm not sure of this and I haven't seen your source code. Unless you are using ASP or any other server side scripting. Web-server should not be a requirement. You do not need Web-server to see html files. HTML files can be seen from the local harddisk as well. Instead of asking for Hostname and virtual directory simply ask for the directory where the output HTML file is to be placed. And then you can see your MP3 collection by pointing your browser to the generated file (eg c:\MP3\My Collection.html) You may even make this as your Home Page.
The entries in the .m3u files are generated in the following format:
http:
So you will need to set up a Web server to use the playlist files and the index.htm file. However, I see your point - not everyone wants to (or can!) set up a Web server.
Again, thanks for the suggestions.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |