-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jamstash doesn't play #58
Comments
I have no issue with Jamstash. What type of file are you trying to play? Do you have transcoding set up? |
Hi, By the way thanks for this excelent piece of software. |
@duperray can you at least browse your library? This might be another issue. I have to click on tabs for Jamstash to display stuff the first time I open it. If you can browse but can't listen: |
no I can't, but for now I'm using mysql + server.py, perhaps jamstash can't be used on a local network? |
I remember being able to use Jamstash on a local instance. |
@duperray if you want to keep using As for the original issue, Jamstash seems to only be able to play |
@sl0k I set nginx + uwsgi, I can authenticate with jamstash and subfire, I see in the uwsgi logs things like that: but no music, no album. If it's an encoding issue, do you have a pointer to a file which is know to work? thx for support ps: the supysonic-cli folder scanned for 2 mp3 and one m4a, no success |
Sorry, I haven't had time since I originally reported this and actually had to wipe out the instance I was testing with anyway. I have time again and have set up a new instance of supysonic. Still having some trouble My setup:
For internal use I can go straight to my IP. say, 172.22.1.17 For external use I have a separate nginx proxy that I use for a number of services, including a concurrent Subsonic 6.1.1 server on a different internal lxd container/IP. The nginx proxy settings are:
This is basically the same as what I use for Subsonic, except the commented lines are uncommented so the interface works properly, and I'm running Subsonic with https on so a couple of the other proxy settings are slightly different. With all of that, here's what works and what doesnt: Scanning media: worked great. Jamstash:
I don't see anything helpful in the apache logs for Jamstash, just requests to load data, but nothing related to playing, and nothing shows up in the supysonic.log file. Perisonic:
Uncertain if I should try moving supysonic to my nginx proxy server and running it direct with fast cgi on nginx, avoiding the proxy? Or try using gunicorn like glogiotatidis/supysonic-docker does, or try to set up uWSGI, or...? Happy to do some debugging/tinkering and try to figure this out! |
Additional: just realized the files I had tried playing in jamstash were all flac. I tried an MP3 and it played fine. But the flac files play fine in DSub? Is Jamstash maybe asking for them to be transcoded in a different way? I tried commenting out |
As stated above, Jamstash only supports ogg, m4a or mp3. In the meantime I made some changes to help clients be aware of transcoding (1e1b475) so Jamstash should now accept to load transcoded files. I tried playing FLAC files with both DSub and Jamstash, and both with or without transcoding to mp3. Here are the results:
My guess is that this is coming from jPlayer (which Jamstash uses). Running Jamstash in debug mode we can see that it complains about an unsupported format if one tries to play a FLAC without transcoding, while saying it can't load the media URL if transcoding is enabled. Quick reminder: to enable transcoding you have to set the transcoding section in the config, but you also need to go to supysonic's web UI to tell you want it for one client or another. |
Thanks. The reminder was helpful because I missed that line about setting client transcoding settings in the admin interface. I set it to do mp3 @ 320 for jamstash (One just puts "mp3" in the format box, right?), did a git pull putting me up to da4cde7, but I see it's still failing to load media:
|
I have set up supysonic for testing -- what a fascinating project! -- and it's working with DSub. I'm not terribly experienced but I have successfully run supysonic with uwsgi and with gunicorn, with bits and pieces of gathered info. Apache didn't work for me but I'm sure I was doing it wrong.
With DSub, it's working both directly (IP:port) in my LAN, and through nginx reverse proxy via domain name --
as I've always run Subsonic --but with jamstash it won't work with either. The artist list loads up, and I can browse music, but when I try to play something, nothing happens.
I'm not sure how to generate appropriate logs, or where to look. The supysonic log is empty.
The text was updated successfully, but these errors were encountered: