Please note that file size is determined with a GetFileSize which works correctly only with files smaller than 2GB. If playlist processing fails completely, a generic infotip (file type, size) is displayed. The playlist format is determined by file extension and appropriate parsing function is selected. The project is built with VC 2005 Express + Platform SDK2003 R2 + WTL 8.0 and probably builds without any changes in VC 2008.Ī main playlist parsing framework is found inside PlaylistParser.cpp. PLS files are parsed using the ConfigFile class by Richard J. For PLS and M3U/M3U8 format see unofficial specifications at Winamp forums. It is highly recommended to read it first as it explains many basic details which I won't cover here. This code is built on top of a code from an excellent article Windows 2000 UI Innovations by Dino Esposito. If you don't have Asian or other wide-character language files installed on your system, you might miss some characters if the playlist was originally saved with wide characters (Vista & XP screnshots): I haven't included a screenshot here of a big infotip on XP simply because the infotip can take the whole screen if you make it big enough (I don't know by how much it extends beyond the screen boundaries). ![]() Therefore, playlist parsing and infotip generation is limited so that infotip can be shown properly on Vista an XP: It is hard to tell if the line-break characters ('\n') are included in the count, but they probably are. Vista infotips are limited to about 900 characters, that is, about 15 rows with 65 chars per row + 5 chars in the 16th line, as seen in this screenshot (taken from a special test that generated a long string for infotip): While in XP infotip's character count is not limited, Vista sets a limit on maximum number of displayed characters. There is one crucial difference between XP and Vista infotips. M3U and PLS don't support Unicode, for which there is M3U8, an UTF8-extended M3U file format. ![]() PLS (introduced by Winamp) and M3U are the most wide-spread playlist formats, supported by Winamp, Windows Media Player, and many other players. This article presents a shell extension that adds infotip preview of PLS, M3U and M3U8 music playlists. The most notable example of shell extending is a preview of the media file metadata like the title and the artist info.įollowing the same idea comes this article. They integrate media file metadata preview and editing into the Windows shell itself, without the need for any external application. ![]() There are some very useful utilities that extend shell capabilities around MP3 and other media files, such as AudioShell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |