Sign in to follow this  
Followers 0

TinyMp3Player v 1.0.1.7 Update of 2012-07-28


9 posts in this topic

#1 ·  Posted (edited)

TinyMp3Player : A basic Mp3 player that looks like this :


20150131194431.gif

Hold left shift key and click load music button for select a mp3 directory, instead of a single mp3 file.
A random check box for listen randomly.
An automatic random config set the type of Audio meter display at each start or each click on the Next button.

Previous downloads : 447

TinyMp3Player v 1.0.1.7 Update of 2012-07-28

Source : TinyMp3Player v 1.0.1.7.au3

executableTinyMp3Player.exe.html

(Once this html file downloaded, double click on it for start the download)

Changes :

mp3 and m3u can be associated to compiled script. ( Double click )
Contextual menu can be added for mp3, m3u and folder. ( Right Click )

How to proceed : Once compiled, run it, and in tray menu click on "Add Context Menu"
Once done, you can double click on any mp3 or m3u ( or Right Click on mp3 folder, mp3 or m3u ) and it will be played by compiled script.
You can also Remove Context Menu ( by tray menu ) and your previous association will be restored.
Gui do not close if you start a new play...
Added a new skin and did a lot of cleaning ! :D
Tested on XP sp3 32 bit and Seven 64 bit.

Bass.au3 and ?do=embed' frameborder='0' data-embedContent>>WinApiEx.au3 are needed.
As usual some external files ( dll and icons ) are downloaded at the first execution to @TempDir & 'TMP'.


Thanks to Brett Francis for his Bass.au3 ( external download link on Eukalyptus Topic on AutoIt.de )
Thanks to Eukalyptus, Prog@ndy for their BassExt.au3
Thanks to Melba for his _StringSize function
Thanks again to Eukalyptus for his AudioMeter.au3

Thanks to Yashield for his ?do=embed' frameborder='0' data-embedContent>>WinAPIEx UDF

Hope you like it ! ;)

Edited by wakillon

AutoIt Version : 3.3.14.0 SciTE 3.5.4 WIN8.1 X64

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Waouh ! 178 views 41 downloads and not the slightest comment ! Posted Image

Thanks for every comment ! Posted Image

Edited by wakillon

AutoIt Version : 3.3.14.0 SciTE 3.5.4 WIN8.1 X64

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

make that 412 views, 104 downloads and 1 comment!

First of all: it just works (windows 7, 64 bit)

secondly: it takes 3% of my CPU :| (winamp takes less than 1... I7-860 CPU...)

- I have still nog figured out how to change music volume!

- Also there is not such shing as a playlist, which I do find a downside

- The program is top all, the browse for Folder (to load files) is even hidden below (not good)

- It only seaches the directory for music files, it does not search subdirectories...

- Shift + click to add new music -> select a directory -> just press enter -> program seems to crash

- It starts up at a fixed position (on the bottom center of the screen) why not at the position it was located the last time it was closed?

I'm currently looking for a basescript on which I can add my own desires:

- stores the playlist in some kind of file

- able to keep up to 100k songs

- and MUST have the function to rate music (so I can delete the crap i got :x)

Best regards,

Jeffrey

p.s. while loading a song it gives me this error...

Errors:

C:\Users\JB\Desktop\AutoIt\mp3\Mp3.au3 (600) : ==> Subscript used with non-Array variable.:
$Open_Result = DllCall ( $_MediaInfoDll, "int", "MediaInfo_Open", "ptr", $_Handle[0], "wstr", $_MediaFilePath )
$Open_Result = DllCall ( $_MediaInfoDll, "int", "MediaInfo_Open", "ptr", $_Handle^ ERROR
Edited by JBtje

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

@JBtje

.First of all: it just works (windows 7, 64 bit)

Ok, thanks for info !

.secondly: it takes 3% of my CPU :| (winamp takes less than 1... I7-860 CPU...)

The display is greedy in energy and Winamp does not have an equalizer of this size.

.I have still not figured out how to change music volume!

When your mouse is over the window and that window is active turn your mousewheel for set volume,

value is displayed on the right corner of the window.

.Also there is not such Thing as a playlist, which I do find is a downside

Permit the use of playlist is a good idea, i don't usually use them but i'll think about it...

.The program is on top all, the browse for Folder (to load files) is even hidden below (not good)

I suppose you dispose of a small screen because FileSelectFolder gui is small and size of window is just 680 X 250 !

But the display of the graphic by GDIPlus tends to be seen through other windows,

so i have not found another solution exept by putting the window on top.

.It only searches the directory for music files, it does not search subdirectories...

I stored my mp3s by theme that's why I have not sought to include mp3's subfolders in the mp3 list.

Playlist seems to be a better solution !

.Shift + click to add new music -> select a directory -> just press enter -> program seems to crash

I tried yet this manipulation and haven't got any problems for load music.

- It starts up at a fixed position (on the bottom center of the screen) why not at the position it was located the last time it was closed?

Save Last position on exit is a possibilty and i'll think about it...

For the error

.verify in @Tempdir & "\TMP" the presence of MediaInfo.Dll

.or try the 64 bit MediaInfo.Dll ( http://mediainfo.sourceforge.net/fr/Download/Windows )

I use it often and never had any errors on 32 bit.

I have already several projects on hold but I will think about all this ! Posted Image

Edited by wakillon

AutoIt Version : 3.3.14.0 SciTE 3.5.4 WIN8.1 X64

Share this post


Link to post
Share on other sites

#5 ·  Posted

Updated.


AutoIt Version : 3.3.14.0 SciTE 3.5.4 WIN8.1 X64

Share this post


Link to post
Share on other sites

#6 ·  Posted

almost 60 downloads and no comments... :blink:


AutoIt Version : 3.3.14.0 SciTE 3.5.4 WIN8.1 X64

Share this post


Link to post
Share on other sites

#7 ·  Posted

Hi, couldn't make it work, downloaded the 2 required udf's extracted them to the same folder as your script, and i got a milion errors like this:

C:Users7DesktopplayerAPIConstants.au3(38,40) : ERROR: $READ_CONTROL previously declared as a 'Const'.

Global Const $READ_CONTROL = 0x00020000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(39,37) : ERROR: $WRITE_DAC previously declared as a 'Const'.

Global Const $WRITE_DAC = 0x00040000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(40,39) : ERROR: $WRITE_OWNER previously declared as a 'Const'.

Global Const $WRITE_OWNER = 0x00080000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(41,39) : ERROR: $SYNCHRONIZE previously declared as a 'Const'.

Global Const $SYNCHRONIZE = 0x00100000

Really a lot, maybe i just don't have the files in the right places... what do you say?


BeatsPlayer - My Music player

"Know what really grinds my gears? Those people who quote whole posts for no reason." Peter Griffin

Share this post


Link to post
Share on other sites

#8 ·  Posted

Hi, couldn't make it work, downloaded the 2 required udf's extracted them to the same folder as your script, and i got a milion errors like this:

C:Users7DesktopplayerAPIConstants.au3(38,40) : ERROR: $READ_CONTROL previously declared as a 'Const'.

Global Const $READ_CONTROL = 0x00020000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(39,37) : ERROR: $WRITE_DAC previously declared as a 'Const'.

Global Const $WRITE_DAC = 0x00040000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(40,39) : ERROR: $WRITE_OWNER previously declared as a 'Const'.

Global Const $WRITE_OWNER = 0x00080000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:Users7DesktopplayerAPIConstants.au3(41,39) : ERROR: $SYNCHRONIZE previously declared as a 'Const'.

Global Const $SYNCHRONIZE = 0x00100000

Really a lot, maybe i just don't have the files in the right places... what do you say?

Hi Careca

You have just to copy

APIConstants.au3

APIErrors.au3

NTErrors.au3

WinAPIEx.au3

BASS.au3

BASSconstants.au3

in your Autoit include dir ( C:\Program Files (x86)\AutoIt3\Include\ ) :)


AutoIt Version : 3.3.14.0 SciTE 3.5.4 WIN8.1 X64

Share this post


Link to post
Share on other sites

#9 ·  Posted

Hi.

I was almost sure that if the includes were in the same dir as the script, it would work just the same. :S

Thanks.


BeatsPlayer - My Music player

"Know what really grinds my gears? Those people who quote whole posts for no reason." Peter Griffin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0