PlanetSquires Forums

Support Forums => General Board => Topic started by: Ivan Iraola on November 27, 2009, 02:52:53 PM

Title: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 27, 2009, 02:52:53 PM
** Euphony 1.0 - MP3 Player **

- Features:

  - Play tracks in original or alphabetical order (ascending or descending).
  - Random shuffle.
  - Play tracks in a Loop (after reaching the end start again).
  - Search your PC for MP3's on a specific drive or all drives available (local and network).
  - Select normal or compact player mode (displays just current track playing and player controls).
  - FREE!!.

- Specs:

  - Compiler       : PB9
  - GUI Designer : FireFly 3.04
  - Installer       : No
  - Language     : English



Let me know if you like it.  8)
Title: Re: Made with FF3 - MP3 Player
Post by: Haakon Birkeland on November 27, 2009, 03:03:00 PM
Sweet.

It's now very busy looking for files on my largest disk. Maybe I should have tried drag'n drop first?!

Care to share a little on the mechanism for playing the files? I'm messing around with the BASS library occasionally for a little application I'm working on â€" to seldom. Just don't find enough time to do all the stuff I'd like to ...
Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 27, 2009, 03:08:01 PM
Quote from: Haakon Birkeland on November 27, 2009, 03:03:00 PM

Care to share a little on the mechanism for playing the files?

I've posted a tutorial on THIS (http://www.planetsquires.com/protect/forum/index.php?topic=2142.0) thread.  ;)
Title: Re: Made with FF3 - MP3 Player
Post by: Rolf Brandt on November 27, 2009, 03:09:20 PM
Crashes at start on my machine. Does it need any addtitional files?
Win XP Pro SP3

Rolf
Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 27, 2009, 03:12:49 PM
Quote from: Rolf Brandt on November 27, 2009, 03:09:20 PM
Crashes at start on my machine. Does it need any addtitional files?
Win XP Pro SP3

Rolf

IT CRASHED???!!!!  :o

Nope, nothing extra needed, just the EXE. Runs fine on my Win XP Pro SP2 machine.

Title: Re: Made with FF3 - MP3 Player
Post by: Rolf Brandt on November 27, 2009, 03:16:47 PM
Yeah - this the screen I am getting. Will try later on a different machine.
Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 27, 2009, 03:21:43 PM
I can't read german but I'm guessing that if you get the DETAIL of the error it has to do with OLEAUT32.DLL?. I get that error from time to time when I compile.

Errors are good sometimes, they help improving your software  ;D
Title: Re: Made with FF3 - MP3 Player
Post by: Rolf Brandt on November 27, 2009, 03:24:56 PM
Quoteif you get the DETAIL of the error it has to do with OLEAUT32.DLL?.

You are absolutely correct - that is the problem.
Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 27, 2009, 03:29:19 PM
Quote from: Rolf Brandt on November 27, 2009, 03:24:56 PM

You are absolutely correct - that is the problem.

Let me know if you get the same problem on a different machine, I'll recompile again after getting your report, if you don't mind testing it of course.
Title: Re: Made with FF3 - MP3 Player
Post by: Rolf Brandt on November 27, 2009, 03:58:58 PM
Just tried on my netbook (XP Home SP3). Works correctly.

Really nice piece of work, Ivan.
Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 27, 2009, 04:06:07 PM
Quote from: Rolf Brandt on November 27, 2009, 03:58:58 PM

Really nice piece of work, Ivan.

Thank you Sir.  8)
Title: Re: Made with FF3 - MP3 Player
Post by: Haakon Birkeland on November 27, 2009, 04:34:12 PM
QuoteI've posted a tutorial on THIS thread.

Very much appreciated Ivan! Thank you.
Title: Re: Made with FF3 - MP3 Player
Post by: Stephane Fonteyne on November 27, 2009, 07:22:57 PM
Hi,

Nice application butcan you please share your source code then can other users learn how it works

Thanks
Stephane
Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 27, 2009, 07:46:35 PM
Quote from: Stephane Fonteyne on November 27, 2009, 07:22:57 PM
Nice application butcan you please share your source code then can other users learn how it works

I have posted a tutorial, check few posts above.
Title: Re: Made with FF3 - MP3 Player
Post by: Barry Marks on November 28, 2009, 10:35:14 AM
It crashed for me at first on my Vista home premium laptop.  Then I read about the need for the playlist file and it still crashed till I got that just right.  Once it was right it stopped crashing.

However, it still doesn't play.  I click play and it seems to try to play the file and then stops as though it's done.  I've tried a variety of different bitrates and I've tried stereo and joint stereo and mono.  I've also tried both CBR and VBR files.  It doesn't seem to play anything.

I haven't looked into why at all and I haven't tried it yet on my XP system.  I'll probably do that today.

Barry
Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 28, 2009, 11:27:35 AM
Barry,

Are you referring to the player above or the one on the tutorial?, I'm asking because you mentioned "need for the playlist". If it's the one on the tutorial, have you clicked on the song to play?, you must highlight the track to play, the program uses the "current selection" to play.

I don't know what would be different on Vista or XP Pro SP3 or what Vista and Win XP Pro/Home SP3 don't like, very very interesting. ???
Title: Re: Made with FF3 - MP3 Player
Post by: Barry Marks on November 28, 2009, 01:29:12 PM
When I posted I didn't realize there were two seperate players.  Now I see that I was talking about the one in the tutorial.

I just tried this one and it crashes as soon as I run it.

I have no idea that Vista is the reason.  I just thought you'd want that information.

When I click the details thing on the Windowsdialog that notifies me that it crashed I get the following information:
Problem signature:[/size]Problem Event Name: APPCRASH
Application Name: Euphony.exe
Application Version: 1.0.0.0
Application Timestamp: 00003039
Fault Module Name: ntdll.dll
Fault Module Version: 6.0.6002.18005
Fault Module Timestamp: 49e03821
Exception Code: c0000005
Exception Offset: 00042775
OS Version: 6.0.6002.2.2.0.768.3
Locale ID: 1033
Additional Information 1: 397a
Additional Information 2: f4796fee6e3a97e5d3fec321a5cdee20
Additional Information 3: 8fdd
Additional Information 4: 200b14d12db4aed9c48afe544a4c48f8

Barry

Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 28, 2009, 02:02:55 PM
Barry,

Thanks for the input, let me ask you something, would you mind testing a "different" version of this player?, if you don't mind let me know, we'll keep the troubleshooting via private message.
Title: Re: Made with FF3 - MP3 Player
Post by: Haakon Birkeland on November 28, 2009, 04:37:42 PM
Just checked the tutorial executable, and it behaves as Barry mentioned;

I copied the executable to the same folder as Euphony, to utilize the playlist there, and when Play is clicked, the Titlebar only changes status to Playing â€" for less than a second, before returning to Ready. No sound is produced.

I'll see if I can find time to investigate a little, but I've got a sick kid in the house, so time is sparse ...
Title: Re: Made with FF3 - MP3 Player
Post by: Haakon Birkeland on November 28, 2009, 05:23:22 PM
Happened to check Euphony with a manual inserted MP3-reference (without any path, just the filename of a tune in the same folder). That makes it crash ...

Then I accidentally added the filename again (thought I had copied the path, but didn't see what I had done due to my quick fingerwork), separated by a backslash and it behaved â€" by adding the tune twice to the list.
Title: Re: Made with FF3 - MP3 Player
Post by: Haakon Birkeland on November 28, 2009, 06:07:47 PM
Paths with spaces need to be enclosed and passed in quotation marks.

Change;

MP3Name$ = FF_ListBox_GetText(HWND_FORM1_TUNESLISTBOX, SW&)  ' Grab the name of the currently selected track

to;

MP3Name$ = Chr$(34) & FF_ListBox_GetText(HWND_FORM1_TUNESLISTBOX, SW&) & Chr$(34)  ' Grab the name of the currently selected track     
Title: Re: Made with FF3 - MP3 Player
Post by: Barry Marks on November 28, 2009, 07:25:26 PM
Quote from: Ivan Iraola on November 28, 2009, 02:02:55 PM
Barry,

Thanks for the input, let me ask you something, would you mind testing a "different" version of this player?, if you don't mind let me know, we'll keep the troubleshooting via private message.

I'll be glad to.

Barry
Title: Re: Made with FF3 - MP3 Player
Post by: Barry Marks on November 28, 2009, 07:30:28 PM
I just did the same test only a I removed the spaces instead of putting it in quotes and that made it work for me also.

Barry
Title: Re: Made with FF3 - MP3 Player
Post by: Ivan Iraola on November 28, 2009, 08:44:02 PM
I have uploaded a new tutorial, I've added the quotes to prevent not playing a track if the path or name contains spaces.

Check your private messages when you get a chance.
Title: Re: Made with FF3 - MP3 Player
Post by: Barry Marks on November 28, 2009, 09:50:42 PM
The new tutorial works fine. :)

Barry