Listen.NET - Small MP3 Player

  • Thread starter skip0110
  • 6 comments
  • 1,982 views
5,178
United States
Worcester, MA
skip0110
musicicon1bb.jpg


I wrote a small MP3 player, and though I would share it with the community.

It requires .NET 1.1. Download (160 KB), unzip, and run Listen.exe.

Download Listen.NET: http://www.bigupload.com/d=694306FD
Contains: Listen.exe, bass.dll, and Bass.Net.dll

I know that there are other minimalistic players out there (foobar2000, case in point), but I worte this because I missed the the "search" feature I used to have on my KDE Jukebox. It will drill down the items on your playlist as you type, essentially creating a sub-playlist in which shuffle, etc. will operate.

I'd love to hear what GTP thinks of it: feature requests, or, more importantly, bug reports!



/Nick
 
Recursive directory adding please. ;)

Also, any chance of getting the source? Me and my C# n00biness could never get the BASS libraries working.

Edit: Also, it'd be nice if it could save the list to an XML file or something upon exit. And then reload all the entries into the playlist from the file upon startup.
 
Shannon
Recursive directory adding please. ;)
Should be easy-ish to implement.

Also, any chance of getting the source? Me and my C# n00biness could never get the BASS libraries working.
Its currently in a non-running state because I'm trying to move to .NET 2.0/VS2005, but as soon as it gets sorted, I'll post 'er up.

Edit: Also, it'd be nice if it could save the list to an XML file or something upon exit. And then reload all the entries into the playlist from the file upon startup.
I was thinking of storing the directories in registry key(s), but maybe an XML file in the Application Data folder would be better.
 
skip0110
I was thinking of storing the directories in registry key(s), but maybe an XML file in the Application Data folder would be better.
Or better yet, an M3U playlist. They're pretty much just a text file, only with a changed extension. The advantage of that is you can then read the playlist into other players, like Winamp.

The layout of an M3U is as follows:
Code:
#EXTM3U
#EXTINF:1,Artist - Song Name
C:\Music\Song.mp3
#EXTINF:2,Artist - Song Name2
C:\Music\Good Music\Song.mp3
#EXTINF:3,Artist - Song Name3
F:\Song.mp3
So, basically you'd write the inital #EXTM3U line, then loop through the playlist and for every track, you'd write the following two lines:
Code:
#EXTINF:playlist index,playlist entry
path to playlist entry
I actually wrote a small mp3 player in VB.NET once and it saved the playlist to an M3U file. Although, the code sucked and it took a minute or so to loop through all the files and write the lines...
 
Back