因为百度音乐搜索结果页面并未提供歌曲时长,所示无法获取时长。 控制歌曲时长的是musicbaidu-daemon文件中的TrackMetadata的uint length属性,TrackMetadata使用了Unity的Namespace,Glib.Object是其基类,基类中包含了歌曲时长这个属性,因此只能修改libunity-dev
-- You received this bug notification because you are a member of Ubuntu Kylin Members, which is subscribed to unity-china-music-scope. https://bugs.launchpad.net/bugs/1192535 Title: when we preview the messages of song, every song's duration is 0:00, it is abnormal. Status in Ubuntu Kylin: Confirmed Status in unity-china-music-scope: Confirmed Status in unity-china-music-scope package in Ubuntu: Confirmed Bug description: when we preview the messages of song, every song's duration is 0:00, it is abnormal. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1192535/+subscriptions -- Mailing list: https://launchpad.net/~ubuntukylin-members Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntukylin-members More help : https://help.launchpad.net/ListHelp

