mj2p / psub Goto Github PK
View Code? Open in Web Editor NEWCLI Subsonic Client
License: MIT License
CLI Subsonic Client
License: MIT License
What I can't figure out is: is this because ampache deviates from the subsonic spec, because I have fudged the nginx config, or becauase of something else.
The server works with native android subsonic clients and the user@domain gets to ampache when using plain curl, but with pSub it gets a 404.
Hi there!
I've tried to set up psub as per README but I get this error trying to test (or play anything):
dell ➜ psub git:(master) ve/bin/pSub -t
Testing Server Connection
https://my_username@my_host_address
Command Failed! 10: Required parameter 'p' is missing.
What could be wrong here?
Python 3.7.3
Supysonic as backend
I would like to use this project with mpv media player instead of ffplay. (I am on a device which does not support ffplay)
What modifications would you suggest?
Testing Server Connection
https://USERNAME@SERVER (No passwd in this URI)
Traceback (most recent call last):
File "/home/david/.local/bin/pSub", line 8, in <module>
sys.exit(cli())
File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 1236, in invoke
return Command.invoke(self, ctx)
File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/david/.local/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/david/.local/lib/python3.8/site-packages/pSub.py", line 615, in cli
test_ok = ctx.obj.test_config()
File "/home/david/.local/lib/python3.8/site-packages/pSub.py", line 90, in test_config
ping = self.make_request(url=self.create_url('ping'))
File "/home/david/.local/lib/python3.8/site-packages/pSub.py", line 114, in create_url
if version.parse(self.api) < version.parse("1.13.0"):
File "/home/david/.local/lib/python3.8/site-packages/packaging/version.py", line 56, in parse
return Version(version)
File "/home/david/.local/lib/python3.8/site-packages/packaging/version.py", line 275, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
david@zeitgeist:[~/Build/psub]$
Same result with venv.
Not sure if the Subsonic API would allow that. Is that even possible?
❯ ve/bin/pSub album *
Usage: pSub album [OPTIONS] SEARCH_TERM
Try "pSub album -h" for help.
Error: Got unexpected extra arguments (pSub.py README.md setup.py ve)
I think that it should work (downhill, with the following wind) if the str.ljust directives are changed to either detect the string or skip on error; I might give it a go next time I feel so inclined to fiddle.
Gently requesting to upgrade dependencies to Python3.9.
3.8 was deprecated at least in Debian 11.
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.