AutoHotkey Community

It is currently May 26th, 2012, 10:19 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: July 29th, 2008, 6:09 am 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
Soo, recently I felt like making a music player in AHK—it started out as a simple "give me a directory and I play the files there", then continually evolved and became... what it is now. Still not done, there are quite a few more features I would like to implement.

Relies on Finc's Media_ functions, Titan's command functions, and my own ID3_ functions. They are all included in the .rar/.zip

Screenshot:
Image

Download including #Includes and necessary resources:
http://www.autohotkey.net/~Krogdor/myTunes.rar
or
http://www.autohotkey.net/~Krogdor/myTunes.zip


Todo List:
-Implement more user-changeable settings
-Playlists
-A progress bar showing the song's progress, iTunes-style


Last edited by Krogdor on August 8th, 2008, 9:11 pm, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 29th, 2008, 2:10 pm 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 774
Location: Texas, USA
Interesting player. Thanks for sharing. :)

A couple of notes...

The downloaded RAR/ZIP file contains an .ini file with a playlist that points to a bunch of tracks that no one but you has. You might want to clear out or delete the .ini from the load.

Also, my MP3s don't have ID3 tags. The player loads either a "0" or blank in the Title/Artist/Album fields. If the MP3 file doesn't have an ID3 tag, you might want to load the file name (less the extension) to the Title field. Just a thought...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 29th, 2008, 7:07 pm 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
Quote:
The downloaded RAR/ZIP file contains an .ini file with a playlist that points to a bunch of tracks that no one but you has. You might want to clear out or delete the .ini from the load.

:shock: I coulda sworn I deleted that before I put it into the archive... I'll fix that.

Quote:
Also, my MP3s don't have ID3 tags. The player loads either a "0" or blank in the Title/Artist/Album fields. If the MP3 file doesn't have an ID3 tag, you might want to load the file name (less the extension) to the Title field. Just a thought...

Right. I had that before, but it got lost when I switched over to using the ID3_ functions. I'll add that as well before I upload again.

Thanks for the heads up on those issues.

Edit: Okay, new versions uploaded.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 30th, 2008, 3:16 pm 
Offline

Joined: January 19th, 2007, 9:09 pm
Posts: 147
Hi Krogdor,

I developed such application in AHK also: http://www.autohotkey.com/forum/viewtop ... ght=fusion
Maybe you can get some ideas of the source of my app, because I stopped developing it :P

Jero3n

_________________
Image
Watch my css video!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 1st, 2008, 2:31 pm 
Offline

Joined: July 24th, 2008, 8:27 pm
Posts: 16
I downloaded both the .rar and .zip version and both give me the same error. I only unzipped/rared it and doubleclicked on the Mytunes.ahk when this error occurs:
http://img128.imageshack.us/my.php?image=mytuneserrorec9.jpg

I might have done something wrong but I post this anyway.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 1st, 2008, 11:36 pm 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
Whoops, sorry vipers—forgot to include COM.ahk in the download. Silly me.

Updated, should work now.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 2nd, 2008, 12:33 am 
Offline

Joined: July 24th, 2008, 8:27 pm
Posts: 16
Haha, hilarious, now i got the following error:
#Include file "COM.ahk" cannot be opened.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 2nd, 2008, 1:05 am 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
T_T Should have tested it before I uploaded...

Reuploaded, actually tested it this time xD


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 4th, 2008, 6:49 pm 
Offline

Joined: July 24th, 2008, 8:27 pm
Posts: 16
Ok I'll give it another try, if it doesn't work I'll blame my computer.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 8th, 2008, 9:10 pm 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
Updated so that instead of lots of IniRead/Writes, there's just a single FileRead when it opens and one when it closes; the rest is done in memory. Cuts ~20 seconds off of opening time for larger libraries, and speeds up file adding/deletion...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 27th, 2009, 5:45 pm 
Offline

Joined: July 5th, 2009, 4:31 pm
Posts: 5
why on my pc hve MCI error ??

_________________
still new born..........


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 26th, 2010, 2:28 pm 
Offline

Joined: August 18th, 2009, 12:07 pm
Posts: 375
Location: holland
I know its a while since you posted but...
I get error on line 28

CommandFunctions()RandomFunctions()COM_Init()

_________________
"Choose your parents wisely"


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 19th, 2011, 10:53 am 
Offline

Joined: September 28th, 2011, 7:17 am
Posts: 47
Chicken Pie 4 Tea wrote:
I know its a while since you posted but...
I get error on line 28

CommandFunctions()RandomFunctions()COM_Init()

I get this too.

_________________
To-do list:
1) Add signature.
2) Stop procrastinating.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: xXDarknessXx and 7 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group