Old 19th October 2011, 00:08   #1
orsade22
Junior Member
 
Join Date: Oct 2011
Posts: 1
Getting file name and not title

hi,
i have kind of weird problem...
i am trying to get the title of a song from winamp using
IntPtr nNum2 = SendToWinamp(WA_MsgTypes.WM_USER, i, (int)WM_USER_MSGS.WA_GET_TRACK_TITLE);

it returns the file name insted of the title only if i add to the playlist 1 album and all of his songs....
if i add random songs to the playlist it works fine and return the title....

for example for the song
09-disturbed-breathe-pr.mp3

it returns this when i add the whole album
09-disturbed-breathe-pr

and if i add only this song and some other songs from diffrent albums it returns
Disturbed - Breathe

what can be the problem?
orsade22 is offline   Reply With Quote
Old 8th March 2012, 20:33   #2
RichM1102
Junior Member
 
Join Date: Feb 2012
Posts: 1
Quote:
Originally Posted by orsade22 View Post
hi,
i have kind of weird problem...
i am trying to get the title of a song from winamp using
IntPtr nNum2 = SendToWinamp(WA_MsgTypes.WM_USER, i, (int)WM_USER_MSGS.WA_GET_TRACK_TITLE);

it returns the file name insted of the title only if i add to the playlist 1 album and all of his songs....
if i add random songs to the playlist it works fine and return the title....

for example for the song
09-disturbed-breathe-pr.mp3

it returns this when i add the whole album
09-disturbed-breathe-pr

and if i add only this song and some other songs from diffrent albums it returns
Disturbed - Breathe

what can be the problem?
Have you considered using IPC_GET_EXTENDED_FILE_INFO instead?
RichM1102 is offline   Reply With Quote
Old 8th March 2012, 22:37   #3
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Try looking at this thread:
http://forums.winamp.com/showthread.php?t=323855
thinktink is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump