joerg-lehmann / pytone Goto Github PK
View Code? Open in Web Editor NEWPyTone - Music jukebox redux
Home Page: https://www.luga.de/pytone/
License: GNU General Public License v2.0
PyTone - Music jukebox redux
Home Page: https://www.luga.de/pytone/
License: GNU General Public License v2.0
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 ...
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.
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
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? ;-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.