首页 > 解决方案 > Windows 2000 cdplayer.exe 对光盘元数据的响应格式是什么?

问题描述

Windows 2000 中的 CD 播放器支持从以下两个远程服务之一获取曲目元数据:Tunes.com 或 MusicBoulevard.com。这两个 API 都消失了,因此 CD 播放器无法再获取曲目元数据。

我使用 Wireshark 查看了直接的请求格式。

www.tunes.com

GET /tunes-cgi2/tunes/disc_info/203/cd=D+96+3B87+73B9+B2C3+EFEC+12856+165FA+1A976+1E332+22277+257F5+29517+2E04F+32110 HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Host: www.tunes.com
Connection: Keep-Alive

两个提供商的查询相同

mscd.musicboulevard.com

GET /cgi-bin/twcd/0_1100_cd=D+96+3B87+73B9+B2C3+EFEC+12856+165FA+1A976+1E332+22277+257F5+29517+2E04F+32110 HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Host: mscd.musicblvd.com
Connection: Keep-Alive

cd范围

cd参数是一个列表,其中包含:磁道数,后跟每个磁道的扇区偏移量和引出线,全部为十六进制编码。因此,这些查询是针对具有 13 个磁道和扇区偏移量的 cd: 150, 15239, 29625, 45763, 61420, 75862, 91642, 108918, 123698, 139895, 153589, 169239, 188495和导出205072

这使我相信它期望两个提供商的响应格式相同。问题是:它对响应格式有什么期望?如果我知道这一点,我可以创建一个网关来查找 MusicBrainz 上的光盘并返回一个可用的响应。

通过注册表添加新的提供者很容易HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD

到目前为止,我已经搜索了互联网、usenet 以及我能想到的任何其他地方,但没有任何运气。

编辑:找到了一些信息,仍然没有喜悦

感谢archive.org,我能够找到一些对tunes.com 查询的抓取响应。

https://web.archive.org/web/*/http://www.tunes.com/tunes-cgi2/tunes/disc_info/*

例如:

[CD]
CERTIFICATE=41d602112509916cb8f45f81164805e29bfef1946c88dc57
Mode=0
Title=SUMMER GIRLS
Artist=LFO
Track1=Summer Girls
Track2=Girl on TV
Track3=Cross My heart
Track4=Cant have you
Track5=I dont wanna Kiss you goodnight
Track6=West Side Story
Track7=Thinking about you
Track8=I will show you mine
Track9=All I need to know
Track10=Baby Be mine
Track11=Your heart is safe with me
Track12=My block
Track13=Forever
Menu1=RollingStone Biography::http://www.tunes.com/mscd.asp?t=b&id=6958
Menu2=RS Photos::http://www.tunes.com/mscd.asp?t=p&id=6958
Menu3=RS Triva::http://www.tunes.com/mscd.asp?t=t&id=6958
Menu4=RS Videos::http://www.tunes.com/mscd.asp?t=v&id=6958
Menu5=RS Discussions::http://www.tunes.com/mscd.asp?t=d&id=6958
Menu6=RS Discography::http://www.tunes.com/mscd.asp?t=disc&id=6958
Menu7=RS Links::http://www.tunes.com/mscd.asp?t=l&id=6958
Menu8=Get Related MP3s::http://www.tunes.com/mscd.asp?t=mp3&id=6958

问题是,如果我将此答案提供给 CD 播放器,我仍然会得到This album was not found on the Internet。 我对它的价值感到担忧CERTIFICATE,但我在互联网档案中找到的每一个回复都是一样的。所以我不确定那是什么意思。

我尝试使用\nand的\r\n行尾和content-type响应标头text/htmland text/plain。我现在的猜测是我缺少响应标头。

标签: windowswindows-2000

解决方案


推荐阅读