ther0n / beefweb_mpris Goto Github PK
View Code? Open in Web Editor NEWA Python wrapper that adds MPRIS support to foobar2000 running in WINE on Linux through the beefweb component REST API
License: GNU General Public License v3.0
A Python wrapper that adds MPRIS support to foobar2000 running in WINE on Linux through the beefweb component REST API
License: GNU General Public License v3.0
Switch to pipenv to ensure consistent package version on installation.
Hi, I'm using the AUR script linked in your description to launch foobar2000 and in .desktop file used to have "Exec=foobar2000 -add -immediate %F". This allowed appending tracks/folders from linux file manager.
Is there a way with beefweb_mpris to include "-add -immediate %F" arguments?
Just did a system upgrade and now beefweb_mpris fails to launch.
I tried installing it into a new virtual environment but to no avail.
Traceback (most recent call last):
File "/home/lutra/.local/bin/beefweb_mpris", line 5, in <module>
from beefweb_mpris.main import main
File "/home/lutra/.local/venv/lib/python3.12/site-packages/beefweb_mpris/main.py", line 13, in <module>
from beefweb_mpris.adapter import BeefwebAdapter
File "/home/lutra/.local/venv/lib/python3.12/site-packages/beefweb_mpris/adapter.py", line 7, in <module>
from mpris_server.base import Microseconds, PlayState, DbusObj, DEFAULT_RATE, RateDecimal, VolumeDecimal, Track, \
ImportError: cannot import name 'RateDecimal' from 'mpris_server.base' (/home/lutra/.local/venv/lib/python3.12/site-packages/mpris_server/base.py)
Running Arch Linux with Python 3.12
mpris_server introduces breaking changes in 0.9.0 compared to the 0.4.1.version originally used in 2021
When I run beefwep-mpris, Foobar2000 launches, but when I close it, I get this error in the console:
File "/home/lutra/.local/bin/beefweb_mpris", line 8, in <module>
sys.exit(main())
File "/home/lutra/.local/lib/python3.10/site-packages/beefweb_mpris/main.py", line 49, in main
shutil.rmtree(f'{GLib.get_user_cache_dir()}/beefweb_mpris')
File "/usr/lib/python3.10/shutil.py", line 714, in rmtree
onerror(os.lstat, path, sys.exc_info())
File "/usr/lib/python3.10/shutil.py", line 712, in rmtree
orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '/home/lutra/.cache/beefweb_mpris'
Furthermore, $CONFIG/beefweb_mpris/config.yaml
doesn't exist.
Operating System: EndeavourOS (Arch)
Kernel Version: 6.0.10-zen2-1-zen (64-bit)
Hi there,
I saw this and was curious to see how this solution worked, as a lack of mpris control has long been my biggest gripe with using foobar2k through wine.
However, I can't seem to get beefweb to run properly through wine. When setting a username and password and keeping the port at the same setting, connecting to localhost:port
via web browser results in a blank white page after successfully passing my password prompt.
Is there some kind of a winetricks configuration you have that resulted in a working standard beefweb?
Cover art is no longer properly retrieved from beefweb and placed in the cache folder, this is likely due to a change to beefweb and needs to be investigated.
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.