|
-
Aug 4th, 2004, 02:58 AM
#1
Thread Starter
Frenzied Member
Got Winamp?: Try this Class...
Although its not quite finished, i was wondering if how i went about structuring this class is correct. it has been quite a while since i have been doing any real programming.
What still needs to be done:
I need to have each function throw an exception if the version the user is using does not support that function.
Clean up: the code is still rather messy.
More functions.... 
(I should finish these in a few days)
------------------
Please test it out and tell me how it goes.... I have been testing using 5.04, If the version isnt supported by the function it just wont, work so dont worry about it crashing. (i hope)
The Attached Sample demonstrates limited functionalty.
The Project is in the vs 2003 format...
If your playlist is large it might take a 10-20 seconds to load.
(hey... its a demo, i was too lazy to bother with threading.)
Tips:
- Google is your friend! Search before posting!
- Name your thread appropriately... "I Need Help" doesn't cut it!
- Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
- Allways Include the Name and Line of the Exception (if one is occuring!)
- If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)
If you think I was helpful, rate my post  IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous
-
Aug 4th, 2004, 04:16 AM
#2
Registered User
maybe a description of what your class can do will get you more downloads..
-
Aug 4th, 2004, 05:22 AM
#3
Thread Starter
Frenzied Member
meh:
Allows you to control Winamp.
PlayControl:
-Play
-Pause
-Stop
-Next
-Previous
Playlist:
-Change Position
-Length
-Current Position
-Clear
-Write ' Tells winamp to save the playlist to default
-Can Retrive the Title and the FileInfo on any file in the list
Currently Playing song Info:
-Title
-FileInfo
-Bitrate
-SampleRate
-Length
-Current Position
Few more features aswell.... its kinda for personal use but i dont care if anyone else uses it. (this was created mainly for a prank )
Tips:
- Google is your friend! Search before posting!
- Name your thread appropriately... "I Need Help" doesn't cut it!
- Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
- Allways Include the Name and Line of the Exception (if one is occuring!)
- If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)
If you think I was helpful, rate my post  IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous
-
Aug 4th, 2004, 07:44 AM
#4
Frenzied Member
nice! I use winamp at work to primarily listen to my stream from home and I got a URI not supported exception here: ' Return New IO.FileInfo(strFilePath)' is this due to the fact I'm streaming an m3u and not using a local file?
-
Aug 4th, 2004, 07:55 AM
#5
Thread Starter
Frenzied Member
Andy:
Yes, I hadnt thought of someone listening thru a stream.
I assumed that the string returned by winamp would always be a file.
I guess i will have to rethink that section.
Sorry, but dont expect an update for atleast a few days. My left hand cant really move. too much work on projects like these, or i punched my head board in my sleep.
its really hard typing with one hand.
Tips:
- Google is your friend! Search before posting!
- Name your thread appropriately... "I Need Help" doesn't cut it!
- Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
- Allways Include the Name and Line of the Exception (if one is occuring!)
- If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)
If you think I was helpful, rate my post  IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|