Skip to content

albumart 鼠标放上去显示上一首的封面图片 #319

Description

@coloronion

Describe the bug
albumart 鼠标放上去显示上一首的封面图片。
v1.0.6.2 是OK的,后面的几个版本试了都是这样的问题。

Code

<layout xmlns="https://github.com/ESLyric/layout"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://github.com/ESLyric/layout ./../Layout.xsd">
  <!-- 主面板布局 -->
  <panel layout="stack" name="Main" orientation="horizontal" features="1">
    <!-- 左侧面板 -->
    <container name="left-panel" anchor="vfill" width="44%" mini-width="600" hide-min="1">
      <!-- 专辑封面 -->
      <albumart width="80%" mini-width="480" aspect-ratio="1.0" radius="20" stub="images/default.png" use-stub="true" follow-background="1" fitness="fit" album-art="front" shadow="true" shadow-color="rgba(0,0,0,0.8)" />
      <!-- 歌曲信息标签容器 -->
      <container name="meta-info" width="80%" height="auto" layout="stack" orientation="vertical">
        <label name="title" margin-top="20" caption="%title%" command="cm://Properties" text-align="center" text-color="rgb(255,255,255)" highlight-color="rgba(255,255,255,0.6)" font-size="20" width="100%" height="auto" loop="cycle" nowrap="1" />
        <label name="artist" margin-top="20" caption="$if(%artist%, [$meta_sep(artist, ', ', '&amp; ')])" text-align="center" text-color="rgba(200,200,200,0.8)" font-size="18" width="100%" height="auto" loop="cycle" hide-empty="1" />
        <label name="album" margin-top="14" caption="[%album% ]$if(%date%, © %date% )" text-align="center" text-color="rgba(200,200,200,0.8)" font-size="14" width="100%" height="auto" loop="cycle" hide-empty="1" />
        <label name="tech-info" margin-top="14" caption="%codec% / %bitrate%kbps / $ifgreater($mod(%samplerate%,1000),0,$insert($div(%samplerate%,100),'.',$sub($len($div(%samplerate%,100)),1)) kHz,$div(%samplerate%,1000) kHz)" text-align="center" text-color="rgba(200,200,200,0.8)" font-size="12" loop="shuttle" width="100%" height="auto" />
      </container>
      <!-- 频谱 -->
      <visualization margin-top="20" type="spectrum" width="80%" height="4%" mini-height="60" hi-color="rgba(255,255,255,0.8)" lo-color="rgba(255,255,255,0.2)" visibility="1" />
    </container>
    <!-- 右侧面板 -->
    <container name="right-panel" anchor="vfill" width="*" hide-empty="1">
      <!-- 歌词面板 -->
      <lyric margin="0,60,10,60" text-align="left" anchor="fill" hide-empty="1"/>
    </container>
  </panel>
</layout>

Desktop (please complete the following information):

  • Windows Version Windows 11 25H2 26200.8037
  • Foobar2000 Version v2.25.7 x64
PixPin_2026-03-19_06-03-09.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions