Sign in to follow this  
Followers 0
BananaFredSoft

MediaPlayer

67 posts in this topic

#1 ·  Posted (edited)

After a bit of studying some other media players that have shown up on the forum and other places, I have come up with this simple player.

New Update!

Features:

Tray menu operation

Folder navigation

Song database

Audio, video, and photo playback

Playlists

Repeat One

Shuffle

Show/Hide GUI

Seek

Search Library

Media Keyboard buttons now supported

Key shortcuts:

Seek - Alt+s

Media Keyboard Next, Previous, Play buttons

You can now also seek with the seek bar!

I hope you like it!

Now version 2.1: WMA support added. Indexing now uses FileGetExt property. Also works better with files with square brackets in the path, but not well.

Now 2.1.5: Should be faster. Tell me how much faster it is.

Full Installer and Updater available at www.bananafredsoft.com (Installer isn't working right now, I think I'll fix it tonight... use the source)

Edit: The code is free for anyone to use as they wish, as long as they give due credit :)

_FileGetExtProp function by Simucal.

Updated 12-4-07

Info for update: Help file thing won't work unless you have it. ID3.au3 no longer needed!

If you download the script and run it, it won't work right, so you should download the installer from here:

http://h1.ripway.com/bananafred/InstallMediaPlayer.exe

or the file (might work) from here:

http://h1.ripway.com/bananafred/MediaPlayer.exe

If you want to update your current fully installed version, use this:

http://h1.ripway.com/bananafred/UpdateMediaPlayer.exe

(Or you can just run MediaPlayer, because it has an autoupdater and will ask you if you want to update. If it doesn't, use the above file)

MediaPlayer.au3

Edited by BananaFredSoft

Share this post


Link to post
Share on other sites



Suggestions, comments, and criticism are welcome.

Give it time. The whole world isn't awake at the same times you are.

I don't need a media player right now. If I do I'll take a look at it.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

Suggestions, comments, and criticism are welcome.

A few basic suggestions for appearence:
  • This GUI is huge!!!!!!! From what I've seen it only uses about 10% of the GUI size, try sizing it down a bit (unless you follow some of my following suggestions)
  • If your menu is only going to contain two buttons (the third one, "Directory") is more of a label, I would suggest just using buttons and labels.
Bugs?:
  • Back doesn't go back, just to the beginning of the song (which is good), but in my opinion it should actually go back a song if the current song time is 0 (like an iPod)...
A bunch of suggestions for improvement if you have time:
  • A list of all songs (and the user can doubleclick one to play it)
  • Automatically save the list, and open it upon startup of program
  • Have a seek bar
Questions (please note that I used this program very briefly):
  • What does the play menu do?
  • What does the save option do? - I got an error when I tried to save, it might be because I put no file type but I didn't know what file type to use :)

As always, all the above are my opinions!


My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Thanks for all the suggestions, Piano_Man. I will start working on those.

The save option just saves the file you're listening to or viewing to another place.

The play menu is supposed to make it so you can loop tracks, but it doesn't work :)

Edited by BananaFredSoft

Share this post


Link to post
Share on other sites

nice but maybe change

$Form1_1 = GUICreate("MediaPlayer", 442, 326, 193, 115)oÝ÷ Û­Øb±«­¢+ØÀÌØí½É´Å|ÄôU%
ÉÑ ÅÕ½Ðí5¥A±åÈÅÕ½Ðì°ÐÐÈ°ÌÈØ

most people forget this part after coding it will center it

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

It doesn't work!!!

It continues to start a song.

Edit: I think I know the problem. Update posted.

Edited by BananaFredSoft

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

Soo gut.

:)

????

Edit: Does anyone know how to read the ID3 (or whatever it's called :P ) tags of a song?

Edited by BananaFredSoft

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

Hi,

Nice job, works fine just had one small bug.

I was listening to a mp3 while loading a dir into the playlist, then when i pressed next, the second mp3 started playing but the one

that was already playing didnt stop so i had 2 songs playing at once.

Edit: Also when you close the Play Type window the whole MediaPlayer closes.

btw, place a link to ID3.au3 in your first post :)

----------------

Robjong

Edited by Robjong

Share this post


Link to post
Share on other sites

I want to make a cool skin for MediaPlayer. The problem is, I don't know how. Can someone help me out with this? Thanks in advance!

Share this post


Link to post
Share on other sites

:)

????

Edit: Does anyone know how to read the ID3 (or whatever it's called ;) ) tags of a song?

My ID3.au3 currently does not work with Autoit 3.2.4.9. I am trying to update it so it will. In the mean time there are other ways to get the tag info, but no album art. Try CFire's WMMedia.au3, http://www.autoitscript.com/forum/index.ph...&hl=WMMedia

There should be some tag reading functions that will work with .mp3 and .wma

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