AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

myTunes - AHK Music Player

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Tue Jul 29, 2008 5:09 am    Post subject: myTunes - AHK Music Player Reply with quote

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:


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 Fri Aug 08, 2008 8:11 pm; edited 2 times in total
Back to top
View user's profile Send private message AIM Address
jballi



Joined: 01 Oct 2005
Posts: 748
Location: Texas, USA

PostPosted: Tue Jul 29, 2008 1:10 pm    Post subject: Reply with quote

Interesting player. Thanks for sharing. Smile

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...
Back to top
View user's profile Send private message Send e-mail
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Tue Jul 29, 2008 6:07 pm    Post subject: Reply with quote

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.

Shocked 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.
Back to top
View user's profile Send private message AIM Address
Jero3n



Joined: 19 Jan 2007
Posts: 147

PostPosted: Wed Jul 30, 2008 2:16 pm    Post subject: Reply with quote

Hi Krogdor,

I developed such application in AHK also: http://www.autohotkey.com/forum/viewtopic.php?t=28521&highlight=fusion
Maybe you can get some ideas of the source of my app, because I stopped developing it Razz

Jero3n
_________________

Watch my css video!
Back to top
View user's profile Send private message
vipers



Joined: 24 Jul 2008
Posts: 16

PostPosted: Fri Aug 01, 2008 1:31 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Fri Aug 01, 2008 10:36 pm    Post subject: Reply with quote

Whoops, sorry vipers—forgot to include COM.ahk in the download. Silly me.

Updated, should work now.
Back to top
View user's profile Send private message AIM Address
vipers



Joined: 24 Jul 2008
Posts: 16

PostPosted: Fri Aug 01, 2008 11:33 pm    Post subject: Reply with quote

Haha, hilarious, now i got the following error:
#Include file "COM.ahk" cannot be opened.
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Sat Aug 02, 2008 12:05 am    Post subject: Reply with quote

T_T Should have tested it before I uploaded...

Reuploaded, actually tested it this time xD
Back to top
View user's profile Send private message AIM Address
vipers



Joined: 24 Jul 2008
Posts: 16

PostPosted: Mon Aug 04, 2008 5:49 pm    Post subject: Reply with quote

Ok I'll give it another try, if it doesn't work I'll blame my computer.
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Fri Aug 08, 2008 8:10 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message AIM Address
zhuge liang



Joined: 05 Jul 2009
Posts: 5

PostPosted: Mon Jul 27, 2009 4:45 pm    Post subject: Reply with quote

why on my pc hve MCI error ??
_________________
still new born..........
Back to top
View user's profile Send private message
Chicken Pie 4 Tea



Joined: 18 Aug 2009
Posts: 375
Location: holland

PostPosted: Tue Oct 26, 2010 1:28 pm    Post subject: Reply with quote

I know its a while since you posted but...
I get error on line 28

CommandFunctions()RandomFunctions()COM_Init()
_________________
"Choose your parents wisely"
Back to top
View user's profile Send private message
ScripterZ



Joined: 28 Sep 2011
Posts: 47

PostPosted: Mon Dec 19, 2011 9:53 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group