Build Your Own Arcade Controls Forum

Main => Audio/Jukebox/MP3 Forum => Topic started by: damsoft on February 27, 2007, 06:11:19 am

Title: Should I release DAM JukeBox as Open Source? (Decision Made)
Post by: damsoft on February 27, 2007, 06:11:19 am
I have been thinking about releasing DAM JukeBox as open source as I don't have the time to make any updates to it.

Please take the time to read this blog entry:
http://damjukebox.blogspot.com/ (http://damjukebox.blogspot.com/)

I know I am not very active on this forum, but sincerely appreciate what you have to say.

Edit: Decision made, see post at bottom.

Cheers,
DAM Soft
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Space Fractal on March 01, 2007, 05:45:40 pm
I havent even updated mine, since I lost many versions of source code. I released source code for the CDG Player for past, but elsewice I never released my source, since I might have 100% control over code.

But open source it NOT bad idea, but a good idea for many types of projects. I diddent even see a open source projects for a Jukebox App. It might even been ported to other systems as well, if you do that.

I also remember a user asked a piece of open source jukebox application. This one would been a good one, since it small but good one.
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Chris on March 15, 2007, 03:49:36 pm
That's such a personal question only you can answer it.  I'm sure everyone here is going to say "Of course make it open source!" and if you feel like you are done with it then that may be the right thing to do.  If I was going to abandon DOSCab/WinCab completely I'd probably turn the source loose at that point, although I'd probably get even more support requests than I do now from people trying to understand my bizzare code...

--Chris
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: JackTucky on March 18, 2007, 07:49:11 pm
I always wondered why no one ever released their source for the Juke software.

I would love to see what the hell is going on in there.  It might even make me learn another language.

Hope you do it.

=J
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: damsoft on March 21, 2007, 06:14:08 am
Chris- "Abandon" is such a strong word... I just don't have time to add the features that have been asked of me.  :(
I actually thought there would have been some demand for the source, but with over 200 views, I've had JackTucky interested and that's it... ???

Maybe there aren't that many programmers here?? (Delphi ones anyway!)

I'll give it a bit longer to decide. :dunno

-DAM Soft
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Barry Barcrest on March 21, 2007, 06:56:23 am
This looks to me like a cry for attention, either release the source or don't.... Either way i can't see it making much difference to majority (Non Programmers).
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Lave Laar on March 21, 2007, 03:40:18 pm
This looks to me like a cry for attention, either release the source or don't.... Either way i can't see it making much difference to majority (Non Programmers).

And what's wrong with that ?  He has probably put in a lot of hours in the programming and is giving the program away for free.  It's only natural to seek some form of recognition for that.  You should know as you're promoting your own program in almost every thread asking for jukebox software.
That said, I for one would really like to be able to get a look at the source.
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Barry Barcrest on March 21, 2007, 06:50:36 pm
This looks to me like a cry for attention, either release the source or don't.... Either way i can't see it making much difference to majority (Non Programmers).

And what's wrong with that ?  He has probably put in a lot of hours in the programming and is giving the program away for free.  It's only natural to seek some form of recognition for that.  You should know as you're promoting your own program in almost every thread asking for jukebox software.
That said, I for one would really like to be able to get a look at the source.

True you've got me! I also post about other things and do try to help people out. I have not bumped my thred for weeks LOL

People always say they want to look at the source, what are you planning on doing with it? There are a couple of open source jukeboxes already listed and 100's of examples on the various source code websites. If anyone wanted to code a jukebox and they know basic programming the resources are all there.

Ingredients For A Delphi Jukebox.

Some sort of MP3 search routine.
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=171&lngWId=7

Some way to put the results into a database.
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=757&lngWId=7

Some code to play files
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=1060&lngWId=7

Mix together with a bitmap loaded as a skin and there you have one delphi jukebox. Adding the other stuff is up to you. It took me about a minute to find thoose routines, you should be able to make a windows media player frontend jukebox in about 5 minutes using delphi it's as easy as visual basic which i think it is.

I know this all sounds a bit of a chadism and no offence to the DAM jukebox author but apart from the routines i added above what extra code would his source provide. He would be better off working on it some more as other people can seldom understand your code unless you have documented it all and if you havn't and have to go back and add that it would take too long to be worth while. By the time you understand how someone has done it you could have done it your own way.

Than like chris said there would be all the questions from people who want to know what each bit does and why they can't compile it on X system etc..
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: JackTucky on March 21, 2007, 09:05:10 pm
Barry:

You are duly nominated ???

I'm lazy and won't put that stuff together, since I don't know delphi or even VB.

But if I had a complete solution, I bet I could figure out where things were happening and tweak it.  And that's how I could learn something new.

No pressure on you to release your code, why chadoff in here?

=J
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: richms on March 22, 2007, 12:14:32 am
The problem is you need to get all the tools to build it, its not like open source on linux where its all just there and you get a make file so tweeking the code is easy for us non-programmers that have only done one or 2 papers on programming before determining that its not for us.

If you have delphi, then you probarbly have the skills to use it and the one time I tried looking at someones "open source" project to modify it, in the length of time I was figuring out what it was doing where, I could have written it myself.
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Barry Barcrest on March 23, 2007, 08:16:19 am
The problem is you need to get all the tools to build it, its not like open source on linux where its all just there and you get a make file so tweeking the code is easy for us non-programmers that have only done one or 2 papers on programming before determining that its not for us.

If you have delphi, then you probarbly have the skills to use it and the one time I tried looking at someones "open source" project to modify it, in the length of time I was figuring out what it was doing where, I could have written it myself.

That's what i was trying to say, but i cam across like an arse and i appologise.
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: damsoft on March 25, 2007, 07:45:52 am
Barcrest - you make me laugh!! :laugh2:

If "programming" was as simple as you make it out to be with Delphi (your ingredients), wouldn't everyone have their own Delphi JukeBox by now? :dunno

You still have to go through the same stages no matter what you program with (Delphi,VB, C++, Python)
 Design>Code>Test>Debug>Release
Using Delphi doesn't take away any of the thought process...(the human part)

I also wanted to add to what richms said about needing the tools to build it. Even if it was programmed in C++, you still need all the libraries used and dependencies required to make>compile the source code (e.g. Allegro or SDL library). This is no different to needing the VCL's in Delphi.

:soapbox:
My point is, program in whatever you choose. Just have FUN doing it, and don't knock someone else for what they choose to program in. It doesn't make any difference to the final product, so long as it works.

One last point about Delphi - you can actually port Delphi apps to Linux very easily with Kylix (Delphi for Linux) although I'm not sure if it's still being developed.

-DAM Soft
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: JackTucky on March 30, 2007, 01:39:53 pm
Once again, it would be cool to see the code, so open source YES!

 :applaud:

=J
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: digitaldj on March 30, 2007, 06:05:11 pm
If your gracious off stands, then YES!
Kevin
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: kizer on March 30, 2007, 06:05:32 pm
Personally I say go for it. Never know somebody might run with it make some really cool improvements.

Worst case nothing happens or somebody goes crazy with it. Like you said as for now its sitting and nothing more is going on.

Heck ask others to go for it and ask for copies so you can learn from their mods and host them as well. Talk about self promotion.  ;D
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Barry Barcrest on March 30, 2007, 08:12:13 pm
Barcrest - you make me laugh!! :laugh2:

If "programming" was as simple as you make it out to be with Delphi (your ingredients), wouldn't everyone have their own Delphi JukeBox by now? :dunno

-DAM Soft


but it is... to prove it if some one asks me to release a simple VB jukebox source code here i will, it will take me 10 minutes to code in visual basic.
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: digitaldj on March 30, 2007, 11:26:08 pm
Sounds like a challenge, let's see it! VB is not that easy, besides do something nobody else has done and let me know how much time it takes, just ask me!

To make a really good application it takes a hand full of programmers to pull it off and make it worth while!
Kevin
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: JackTucky on March 30, 2007, 11:52:10 pm
but it is... to prove it if some one asks me to release a simple VB jukebox source code here i will, it will take me 10 minutes to code in visual basic.

Barcrest, why is it that you seem to take every advancement/release/announcement in the jukebox forum personally like it's against you?

Is there a problem if someone releases their source?  do you lose money?   We're friends, but WTF?

=J
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Barry Barcrest on March 31, 2007, 07:07:05 am
Sounds like a challenge, let's see it! VB is not that easy, besides do something nobody else has done and let me know how much time it takes, just ask me!

To make a really good application it takes a hand full of programmers to pull it off and make it worth while!
Kevin


This took me 20 minutes to make. You point it to a folder full of mp3's and it shows you a list of songs you can click the songs to add them to the queue... Nice and simple using Windows Media Player hence the small visualisation at the bottom. I am just commenting the code and i'll post up the source, that will probably be tomorrow now though as i have a viewing on my flat in an hour and i need to tidy up and get out the door...
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Space Fractal on April 02, 2007, 04:01:51 am
It look like this topic is come so much offtypic, as it should been closed....

Damsoft asked he should bring his software as open source.
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Barry Barcrest on April 02, 2007, 06:32:07 am
It look like this topic is come so much offtypic, as it should been closed....

Damsoft asked he should bring his software as open source.

Yes he did and he didn't deliver...

For what it's worth and that isn't much, here is the source to that simple juke i slapped together. Because it uses WMP you can alter the filemask and make it play more than MP3's you can also add basic skinning by allowing an image to be loaded into that picture box.

Like wise you could add a pop up window when you click a track to offer play NOW, Play NEXT or Add to queue. The play next would just add it to the top of the listbox that holds the queue. Yes it's crude but it works and was a 10 minute job, also i held my end and released the source.

NOTE: There is no tag reading code in there so it just displays the filename in the label.

Anyway i'm off for a smoke, catch you laters
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: saint on April 02, 2007, 10:57:03 am
I've nuked the grumpies from this thread in an effort to keep it on-track and publically accessible. Good luck everyone on trying again!
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: Chris on April 02, 2007, 11:29:38 am
This took me 20 minutes to make. You point it to a folder full of mp3's and it shows you a list of songs you can click the songs to add them to the queue... Nice and simple using Windows Media Player hence the small visualisation at the bottom. I am just commenting the code and i'll post up the source, that will probably be tomorrow now though as i have a viewing on my flat in an hour and i need to tidy up and get out the door...
Nice... this is essentially the sort of thing DOSCab/WinCab started as; the first version was only meant for my machine, so it was knocked together in a few hours.  What takes time isn't creating a jukebox, it's making it flexible enough to fit the differing needs of many people.

Title: Re: Should I release DAM JukeBox as Open Source?
Post by: JackTucky on April 02, 2007, 11:59:59 am
Thanks Barcrest.  Can you make it read mp3' tags please.

 :laugh2:

=J
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: damsoft on April 03, 2007, 07:25:22 am
Before this thread was hi-jacked (2 times) I was asking if anyone would be interested in the source code to DAM JukeBox.
 
I didn't expect to create such a stir amongst you guys - sorry. :-[
 
Barcrest, I'm not really sure what your motivation is behind turning this into a competition, but hey - YOU WIN!! (you posted your source code first...yippee) :applaud:
 
Anyway, I have thought about what everyone has said, and one post in particular has struck a chord with me, posted by "richms"
I actually have come to agree with his point, if I post the Delphi source code - who will actually be able to do anything with it?? (very few people probably, by time they get a copy of Delphi, find the required VCL's due to the licenses and successfully compile the code) Not really my intentions.
 
What I would like to offer is what I feel a better deal. I am going to do a total re-write of DAM JukeBox in the "python" language and release it as open source...why?
 - For starters, it's totally accessible to anyone (for free) and available on various operating systems (Win/Linux/OSX) - this being a larger audience able to actually do something with the code (i.e. compile it)
- I've decided to learn python
- I want it to run on OSX and Linux
- It will make it easier to add additional features
- I already have the blue-print of how to do it with the Delphi source code.
 
I know that to some people this is going to come across as a cop-out (Barcrest - you will probably be the first to post that!), but I can live with that. At the end of the day - I will release the source code to DAM JukeBox in a useable format that will have made it worth while. ;D
 
DAM JUKEBOX WILL BE RELEASED AS OPEN SOURCE (in python)
 
I never made any statement about releasing the current source code...I asked if there was any interest in it, and I would decide on that feedback.
 
I have received heaps of emails from people all around the world telling me how much they love DAM JukeBox, it's used in schools/pubs/homes. I don't want to abandon the project, I just don't have a lot of time to dedicate to it.
 
The python source code will take many months to put together (I've never programmed in python before) and if you are interested you can follow my progress at the DAM JukeBox blog (http://damjukebox.blogspot.com)
 
I hope you can see my sincerity here. I have tried to do what I feel is right. 8)
 
Your feedback is welcome. (Good or Bad - I can take it)
 
Cheers,
DAM Soft
{Mic}
 
 
Title: Re: Should I release DAM JukeBox as Open Source? (Decision Made)
Post by: Space Fractal on April 03, 2007, 07:45:13 am
It sound like a very good idea. Personally the first Arcade Music Box was wrote in Dark Basic, which many users have problems with graphicscard. I'm dedicated to learn Blitz+ and rewrite Arcade Music Box with Blitz+, which worked on a lots more machines..

But I since lost most of the source (which no backup of course), I'm are going to rewrite it for third time (but the app name is changed) and have learned BlitzMax. BlitzMax is a another commercial with a good price and exists to Windows, Linux and Mac OS as well. That is what I did.

You have  the ballast to rewrite DAM JUKEBOX again and learned about eventuelly some mistakes, as you may have made in your previous version (like I did). You may reuse the graphics, just with completely new code.

The only thing I could ask is, it should been scalable in any resolution in 4:3 format (640x480, 800x600 etc). You could scale the skin while loading it and use these new values it got. Maybe you could doing that, while you rewrite it again (and can been fun to learn a new language as well).

Yes some people may have trouch you automatic would release the source, but you have never say that.
Title: Re: Should I release DAM JukeBox as Open Source?
Post by: JackTucky on April 03, 2007, 09:14:19 am
DAM JUKEBOX WILL BE RELEASED AS OPEN SOURCE (in python)

I hope it goes well. 

=J
Title: Re: Should I release DAM JukeBox as Open Source? (Decision Made)
Post by: damsoft on April 06, 2007, 09:11:54 pm
Space Fractal - you are spot on!! ;D

I think the total re-write will give me the opportunity to correct some of the design limitations I had with Delphi (namely only running full-screen at 1024x768) I will take your approach with the new version.  :)

Is there any need to consider other screen ratio's? (i.e. 16:10 and 4:3)
Title: Re: Should I release DAM JukeBox as Open Source? (Decision Made)
Post by: Space Fractal on April 07, 2007, 09:12:07 am
If you  can change you skin to support other formats as well, of course, this would been good. But is not required, if you ask me.

In my third version I choosed to support any resoulution of formants 4:3, 5:4, 16:9 and 16:10 formats in both rotation ways. Im dosent think people have other formats then these 4 i picked up?