Coder Social home page Coder Social logo

joerg-lehmann / pytone Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 8.0 810 KB

PyTone - Music jukebox redux

Home Page: https://www.luga.de/pytone/

License: GNU General Public License v2.0

Shell 0.19% Python 87.96% C 5.46% HTML 5.93% CSS 0.46%
python music-player mp3 ogg-vorbis console-application

pytone's People

Contributors

altendky avatar joerg-lehmann avatar michael-hartmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pytone's Issues

pyvorbis seems not to be ported - maybe an alternative: https://github.com/Zuzu-Typ/PyOgg

Well the title says it all: ogg-vorbis format is currently not supported since pyvorbis is not ported to python3 and I strongly doubt it will be ...
Looking around I've found this package: PyOgg. It even supports FLAC :)

I've started already to see if I could replace the current ogg-vorbis handling with this new package but my capabilities are (again :-/) too limited. Before I spend too much time trying I'd like to hear from other more capable minds if that's a realistic plan ...

Segfault with bufferedao extension enabled in setup.py

With buildbufferedaoext = True in setup.py I first run the build scripts with python3 ./setup.py build_ext -i and then run the application with ./pytone -c conf/pytonerc I get a segfault. The logfile is attached below:
2019-11-26-segfault-with-bufferedao.log

To get more information about the segfault I've added the following lines to src/pytone.py with the help of @altendky

  diff --git a/src/pytone.py b/src/pytone.py
  index 8ed3501..191b883 100755
  --- a/src/pytone.py
  +++ b/src/pytone.py
  @@ -26,6 +26,7 @@ if sys.hexversion < 0x03050000:

   import curses, os, os.path, signal
   import importlib, importlib.util
  +import faulthandler; faulthandler.enable()

   ##############################################################################
   # gettext initialization.

Please let me know if you need more information.

Support for FLAC and 24bit 96kHZ and higher

Hi Joerg,

I'm very happy that you pick up the development on that wonderful piece of software again!!! :-D

And I immediately have another question for a feature that you might think about implementing: I have a huge amount of music nowadays in FLAC format with a bit depth of 24bit and a sample rate of 96kHZ (some of them even 196kHZ). Would it be possible to support that as well?

Kindly yours,
Stefan

gettext.translation error while running with Python3.6

I'm getting the following error when I try to run PyTone under Python3.6:

Traceback (most recent call last):
  File "src/pytone.py", line 41, in <module>
    gettext.translation("PyTone", locallocaledir).install()
  File "/usr/lib64/python3.6/gettext.py", line 514, in translation
    raise OSError(ENOENT, 'No translation file found for domain', domain)
FileNotFoundError: [Errno 2] No translation file found for domain: 'PyTone'

Is the Python3 port already usable or am I just too early with my wishful thinking? ;-)

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.