Giter Club home page Giter Club logo

Comments (12)

arybczak avatar arybczak commented on May 19, 2024

Does this happen with the current master? I know there was a bug like this, but I thought I fixed it.

from ncmpcpp.

vanishing avatar vanishing commented on May 19, 2024

Yes, this happens with the current master.
However, if I comment out the Reload part of update function in lyrics.cpp, this does not happen:

void Lyrics::update()
{
#   ifdef HAVE_CURL_CURL_H
    if (isReadyToTake)
        Take();

    if (isDownloadInProgress)
    {
        w.flush();
        w.refresh();
    }
#   endif // HAVE_CURL_CURL_H
    /* if (Reload)
    {
        drawHeader();
        itsScrollBegin = 0;
        Load();
        Reload = 0;
    }*/
}

What's weird is not only lyrics are doing this, but also the tags, however comment out the Reload part "fixes" them all.,,

from ncmpcpp.

arybczak avatar arybczak commented on May 19, 2024

Can you give me the file with these lyrics? Also, does this happen only in lyrics screen or also in song info/artist info?

from ncmpcpp.

arybczak avatar arybczak commented on May 19, 2024

Also, does this happen in all of your terminal emulators or only a specific one? If so, which one?

from ncmpcpp.

vanishing avatar vanishing commented on May 19, 2024

Sorry for replying late.
This happens in all my terminals, and this happens both in lyrics and tag editor, but not in playlists.
For the file with lyrics, it is easy to produce, you can find any mp3 file, rename it to a.mp3. Then create a.lrc with content"测试", play the file and check the lyrics.

from ncmpcpp.

arybczak avatar arybczak commented on May 19, 2024

I don't get it. Check the lyrics with what? Can you just upload the lyrics and artist/title of the song to a pastebin?

from ncmpcpp.

vanishing avatar vanishing commented on May 19, 2024

Sure, the lyrics is at: http://paste.ubuntu.com/9859478/
The artist is: 周杰伦, or Jay Chou
The title is: 七里香

I think you can download it here: https://www.mp3days.net/download-songs/i_1K-LFOPi8/%E5%91%A8%E6%9D%B0%E4%BC%A6-%E4%B8%83%E9%87%8C%E9%A6%99-s.html
Click on "Download: 周杰伦 - 七里香 [LYRICS].mp3".

from ncmpcpp.

arybczak avatar arybczak commented on May 19, 2024

This is rather puzzling, because it doesn't happen here. What version of ncurses do you use?

Also, can you try if this patch http://pastebin.com/fbwzhsD2 fixes the issue?

from ncmpcpp.

vanishing avatar vanishing commented on May 19, 2024

I can confirm the patch seems to fix the issue.

from ncmpcpp.

arybczak avatar arybczak commented on May 19, 2024

What ncurses version do you use?

from ncmpcpp.

vanishing avatar vanishing commented on May 19, 2024

I've got:

»»»  apt-cache policy libncurses5
libncurses5:
  Installed: 5.9+20140712-2ubuntu1
  Candidate: 5.9+20140712-2ubuntu1
  Version table:
 *** 5.9+20140712-2ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

from ncmpcpp.

arybczak avatar arybczak commented on May 19, 2024

Fixed.

from ncmpcpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.