GithubHelp home page GithubHelp logo

Comments (14)

alexmercerind avatar alexmercerind commented on June 8, 2024

It has nothing to do with "huge directory"; we have had users with ~70k songs on their machine.

from harmonoid.

PlexSheep avatar PlexSheep commented on June 8, 2024

Hmmm, that's weird then, isn't it? I'd be very happy if I just screwed up somewhere.

By the way, seeing the posts in the website. The App is actually georgous. I just discovered that it can find correct synchronized lyrics even for a random eurobeat remix (in japanese), so thanks a lot for this project.

from harmonoid.

alexmercerind avatar alexmercerind commented on June 8, 2024

Harmonoid is based on libmpv; you can try to pass some custom libmpv flags (probably ao=pulse, see the JSON below).

#329 (comment)

from harmonoid.

alexmercerind avatar alexmercerind commented on June 8, 2024

A whole manual is here: https://mpv.io/manual/stable/

There's a lot of diversity in GNU/Linux... and most of the times it's not even my fault but some wrong configuration.

from harmonoid.

PlexSheep avatar PlexSheep commented on June 8, 2024

I'm using pipewire, if that helps. Not pulse

from harmonoid.

alexmercerind avatar alexmercerind commented on June 8, 2024

There's ao=pipewire too.

from harmonoid.

PlexSheep avatar PlexSheep commented on June 8, 2024

Trying to load the big album with ao=pipewire set:
The program is very unresponsive, but I got it to play my songs. Maybe that helped?

logs.txt

In the logs I'm repeatedly getting:

flutter: PathNotFoundException: Deletion failed, path = '/home/plex/.Harmonoid/Genres.JSON' (OS Error: No such file or directory, errno = 2)

from harmonoid.

PlexSheep avatar PlexSheep commented on June 8, 2024

that file indeed does not exist, should it?

❯ /bin/ls -la
total 4312
drwxr-xr-x. 1 plex plex     172 Jul 14 20:25 .
drwx--x---+ 1 plex plex    1848 Jul 14 20:26 ..
drwxr-xr-x. 1 plex plex    8106 Jul 14 19:20 AlbumArts
-rw-r--r--. 1 plex plex 2147755 Jul 14 20:22 AppState.JSON
-rw-r--r--. 1 plex plex    1930 Jul 14 20:23 Configuration.JSON
drwxr-xr-x. 1 plex plex     506 Jul 14 20:11 Lyrics
-rw-r--r--. 1 plex plex   16724 Jul 14 20:25 Playlists.JSON
drwxr-xr-x. 1 plex plex    1558 Jul 14 20:25 Temp
-rw-r--r--. 1 plex plex 2238477 Jul 14 20:23 Tracks.JSON
drwxr-xr-x. 1 plex plex       0 Jul 14 19:20 UserVisuals
❯ pwd
/home/plex/.Harmonoid

from harmonoid.

PlexSheep avatar PlexSheep commented on June 8, 2024

When I open the large album, multiple of my cpu cores go to 100%

from harmonoid.

alexmercerind avatar alexmercerind commented on June 8, 2024

Those are just redundant logs; backward compatibility when music library was stored differently.

from harmonoid.

alexmercerind avatar alexmercerind commented on June 8, 2024

When I open the large album, multiple of my cpu cores go to 100%

Play or open?

In the logs I'm repeatedly getting:

It should only happen once, at the start of the application.

from harmonoid.

PlexSheep avatar PlexSheep commented on June 8, 2024

It starts when I open and gets a bit better, but does not go fully away. But I see that two /usr/share/harmonoid/data/flutter_assets/assets/platform/tag_reader processes are keeping two of my cores busy

from harmonoid.

alexmercerind avatar alexmercerind commented on June 8, 2024

I primarily use Windows; things (without any doubt) are more optimized there. The framework that the project uses also received more QoL improvements & contributions for Windows & macOS. On the other hand, GNU/Linux seems scattered, I've kind of given up... there seems no limit to what one can fix.

You have to figure it out yourself. I use elementaryOS; the performance isn't as good but usable.

There are few issues with GDK/GL:

I mean how can you roll out a code which runs slower than software rendering???

https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6042
flutter/flutter#88996
flutter/flutter#101591

As for tag_reader process, that is also a hack for GNU/Linux because running tag reader within same process will make GNU/Linux not wanna free any memory. It should only consume CPU when parsing file i.e. indexing, at other times 0.0%.

from harmonoid.

PlexSheep avatar PlexSheep commented on June 8, 2024

I understand. The tag_reader process is still going after many minutes of just playing music, and I don't have THAT many music files, neither is my laptop bad when it comes to performance. If I get it working better somehow, I'll update this issue. Visually, your app would be preferably, but If things stay like this, I'm probably better suited to continue using mcube

Thanks for your time!

from harmonoid.

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.