Git Product home page Git Product logo

cavalcade's People

Contributors

tocic avatar worron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cavalcade's Issues

Question about the exact license

Arch Linux is currently undergoing a transition to SPDX style identifiers, so I'm interested in specifying the exact license version for this package. Does the "GPL" string here means GPL-1.0, GPL-1.0+, or something different? You can see the full list here.

AUR Submission Permission

Hi,
This software that you made is amazing! I would like to know if I could submit a PKGBUILD for your program to the AUR for you with your permission. I believe other people would love to use this program too.

Support for more than 64 bars

When manually modifying cava.conf I noticed that the program starts to see a jitter/desync whenever the number of bars was pushed above 64. Since I am using the program as a background thing and I want 80 bars that is problematic. The bars do get narrower as desired, so I don't think it's an auto-detect issue.

Is there a reason why this problem exists, and a chance it could be fixed? I feel like it is known since the GUI configurator does not let the number of bars above 64.

hide cursor in fullscreen mode?

Thanks for this great app! I love it.

In fullscreen mode (with gnome), the cursor is showing. Is there a way to hide it when it is not moving?

Thanks in advance!

Building issues with newer python and setuptools

I'm facing the following issues when trying to install the app with Python 3.11.3 and python-setuptools 67.7.0:

  1. The error
  File "/usr/lib/python3.11/site-packages/packaging/version.py", line 197, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '0.8-makepkg-g5a41710'

and the warning

/usr/lib/python3.11/site-packages/setuptools/command/egg_info.py:131: SetuptoolsDeprecationWarning: Invalid version: '0.8-makepkg-g5a41710'.
!!

        ********************************************************************************
        Version '0.8-makepkg-g5a41710' is not valid according to PEP 440.

        Please make sure to specify a valid version for your package.
        Also note that future releases of setuptools may halt the build process
        if an invalid version is given.

        By 2023-Sep-26, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://peps.python.org/pep-0440/ for details.
        ********************************************************************************

!!

There was only the warning until the recent versions, but now the above error blocks the build. See pypa/setuptools#3772.

The reason is that makepkg (a tool used for creating packages in Arch) creates a temporary branch called "makepkg" when building a package from VCS sources (for build isolation). Then your script decides we're not on devel:

if branch == _MASTER_BRANCH or n == "0":
# TODO: does it possible to proper count commit on master branch?
version = v
elif branch == _DEVELOPMENT_BRANCH:
version = "%.1f.dev%s-%s" % (float(v) + 0.1, n, commit)
else:
version = "%s-%s-%s" % (v, branch, commit)

and the version becomes 0.8-makepkg-g5a41710. What do you think about deleting this last if branch and always suffixing the version with dev to make it compliant with PEP 440?

  1. The warning
/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!

This is not critical now, but may also break the builds in the future. Consider switching to PEP 517 if you have time.

ImportError: No module named 'PIL'

Вот пытаюсь установить cavalcade и вот что из этого вышло:

sudo python3 setup.py install --record files.txt
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'LICENSE'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:342: UserWarning: The version specified ('0.9.dev5-g073b631') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
running install
running bdist_egg
running egg_info
writing cavalcade.egg-info/PKG-INFO
writing dependency_links to cavalcade.egg-info/dependency_links.txt
writing requirements to cavalcade.egg-info/requires.txt
writing entry points to cavalcade.egg-info/entry_points.txt
writing top-level names to cavalcade.egg-info/top_level.txt
package init file 'cavalcade/gui/init.py' not found (or not a regular file)
package init file 'cavalcade/data/init.py' not found (or not a regular file)
reading manifest file 'cavalcade.egg-info/SOURCES.txt'
writing manifest file 'cavalcade.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/common.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/pixbuf.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/playerpage.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/run.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/player.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/mainapp.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/init.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/canvas.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/autocolor.py -> build/bdist.linux-x86_64/egg/cavalcade
creating build/bdist.linux-x86_64/egg/cavalcade/data
copying build/lib/cavalcade/data/cava.ini -> build/bdist.linux-x86_64/egg/cavalcade/data
copying build/lib/cavalcade/data/main.ini -> build/bdist.linux-x86_64/egg/cavalcade/data
copying build/lib/cavalcade/data/DefaultWallpaper.svg -> build/bdist.linux-x86_64/egg/cavalcade/data
copying build/lib/cavalcade/visualpage.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/settings.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/version.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/drawing.py -> build/bdist.linux-x86_64/egg/cavalcade
creating build/bdist.linux-x86_64/egg/cavalcade/gui
copying build/lib/cavalcade/gui/settings.ui -> build/bdist.linux-x86_64/egg/cavalcade/gui
copying build/lib/cavalcade/gui/winstate.ui -> build/bdist.linux-x86_64/egg/cavalcade/gui
copying build/lib/cavalcade/gui/appmenu.ui -> build/bdist.linux-x86_64/egg/cavalcade/gui
copying build/lib/cavalcade/gui/playerpage.glade -> build/bdist.linux-x86_64/egg/cavalcade/gui
copying build/lib/cavalcade/gui/visualpage.glade -> build/bdist.linux-x86_64/egg/cavalcade/gui
copying build/lib/cavalcade/gui/colors.glade -> build/bdist.linux-x86_64/egg/cavalcade/gui
copying build/lib/cavalcade/gui/cavapage.glade -> build/bdist.linux-x86_64/egg/cavalcade/gui
copying build/lib/cavalcade/colordata.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/config.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/cavapage.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/logger.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/cava.py -> build/bdist.linux-x86_64/egg/cavalcade
copying build/lib/cavalcade/adata.py -> build/bdist.linux-x86_64/egg/cavalcade
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/common.py to common.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/pixbuf.py to pixbuf.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/playerpage.py to playerpage.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/run.py to run.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/player.py to player.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/mainapp.py to mainapp.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/init.py to init.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/canvas.py to canvas.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/autocolor.py to autocolor.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/visualpage.py to visualpage.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/settings.py to settings.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/version.py to version.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/drawing.py to drawing.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/colordata.py to colordata.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/config.py to config.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/cavapage.py to cavapage.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/logger.py to logger.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/cava.py to cava.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cavalcade/adata.py to adata.cpython-35.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying cavalcade.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying cavalcade.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying cavalcade.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying cavalcade.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying cavalcade.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying cavalcade.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
cavalcade.pycache.config.cpython-35: module references file
cavalcade.pycache.run.cpython-35: module references file
cavalcade.pycache.common.cpython-35: module references file
cavalcade.pycache.version.cpython-35: module references file
creating 'dist/cavalcade-0.9.dev5_g073b631-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing cavalcade-0.9.dev5_g073b631-py3.5.egg
creating /usr/local/lib/python3.5/dist-packages/cavalcade-0.9.dev5_g073b631-py3.5.egg
Extracting cavalcade-0.9.dev5_g073b631-py3.5.egg to /usr/local/lib/python3.5/dist-packages
Adding cavalcade 0.9.dev5-g073b631 to easy-install.pth file
Installing cavalcade script to /usr/local/bin

Installed /usr/local/lib/python3.5/dist-packages/cavalcade-0.9.dev5_g073b631-py3.5.egg
Processing dependencies for cavalcade===0.9.dev5-g073b631
Searching for setuptools==33.1.1
Best match: setuptools 33.1.1
Adding setuptools 33.1.1 to easy-install.pth file
Installing easy_install script to /usr/local/bin

Using /usr/lib/python3/dist-packages
Finished processing dependencies for cavalcade===0.9.dev5-g073b631
writing list of installed files to 'files.txt'

============================
cavalcade --help

Traceback (most recent call last):
File "/usr/local/bin/cavalcade", line 11, in
load_entry_point('cavalcade===0.9.dev5-g073b631', 'console_scripts', 'cavalcade')()
File "/usr/local/lib/python3.5/dist-packages/cavalcade-0.9.dev5_g073b631-py3.5.egg/cavalcade/run.py", line 32, in run
from cavalcade.mainapp import MainApp
File "/usr/local/lib/python3.5/dist-packages/cavalcade-0.9.dev5_g073b631-py3.5.egg/cavalcade/mainapp.py", line 10, in
from cavalcade.autocolor import AutoColor
File "/usr/local/lib/python3.5/dist-packages/cavalcade-0.9.dev5_g073b631-py3.5.egg/cavalcade/autocolor.py", line 9, in
from PIL import Image
ImportError: No module named 'PIL'

Isolating CAVA instances

I have noticed, by accident, that when I kill cavalcade manually, the cava process stays open and keeps feeding height values. As such, when cavalcade is run again, and it runs cava again, it jitters because two instances are controlling height.

I was wondering if there was a better solution for this, which could even be multi-user friendly (using a common FIFO under /tmp isn't really), or ideally multi-process friendly, like the FIFO being placed under /run/cavalcade/$PID for example.

about UI layout

May I ask why the current UI layout looks different from the one show in the demo video ? Is the layout changed due to the addition of configuration items ? Is there any way that I can change my layout to the video style ?

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.