-
Notifications
You must be signed in to change notification settings - Fork 13
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
"400 Bad Request" when playlist is empty #86
Comments
Hello Maarten, |
Hi Arthur, Thanks, It's lighttpd. With new version came a new config file. Put back in the old config file and now everything is ok. Kind regards, Maarten New version lighttpd added following lines to lighttpd.conf. When I disable "url-ctrls-reject" "Now Playing" page loads again when playlist is empty.
|
After quick search I found that |
Hi Arthur, Thanks ! Have a good Sunday. |
It should work now - if not, please let me know. |
@maartenlangeveld @ArturSierzant Shall we open a new request issue about that? |
In this case problem was in string passed to url - this string contained a tab char, which made lighttpd throw Regards, |
@ArturSierzant General question since the last release was 2018, the master branch can be considered as stable, right? |
In master branch I put new features - some of them are finished, some are in development. In that sense this branch can't be considered as stable. On the other hand, it contains all new fixes and I don't put there any experimental features. Latest stable (i.e. with all features finished) version is available on web page (BTW it's 1.04, while DietPi has 1.03). I hope the next version (1.05) will be ready in a few weeks. |
@ArturSierzant
We pinned O!MPD version a while ago due to some observed database update issue, the same for myMPD. So must have been an issue with MPD itself. Wanted to retest with this the current versions anyway. Just checked the fix you did, nothing we can apply manually. I think we will go with master for now, to avoid changing Lighttpd configs back and forth. After v1.05 release we will then switch to the latest release: https://api.github.com/repos/ArturSierzant/OMPD/releases/latest |
@MichaIng
That's it. I hope you'll read this and it'll help you in making DietPi even better. PS Best regards, |
@ArturSierzant
Perhaps I will do it myself or simply a PR to implement the above suggestions. |
@ArturSierzant
|
I think the best solution is putting DietPi-specific settings in file
I'm not sure if I remember correctly values above (username, pass, etc.). Rest of settings is taken from Any changes made by user would then have to be done in
and modify (add/remove/change) desired values. Then DietPi could copy |
At my install password = ompd, do not remember if this default dietpi or that I have changed password for some reason. |
@ArturSierzant Found that database is automatically created and migrated. So we can leave the old one in place and on fresh installs only create the database user 👍. Now things are developing as I like it 🙂.
Little error message from Lighttpd, when updating the database, although I can see any effect on functionality:
And another little enhancement:
@maartenlangeveld |
Great to read you added YouTube and Tidal support! Unfortunately I can't help you with socket connection - I never used it, it is leftover after Netjukebox, And this PHP warning - indeed it's not harmful, but I'll take a closer look at this (strange, because I thought, it's already fixed...) |
@ArturSierzant
Okay so last ToDo my end:
|
@ArturSierzant |
I've just checked - |
@ArturSierzant |
Yes, that's right - |
Great. Yes, |
Hello Arthur,
I get a "400 Bad Request" when I select "Now Playing" page and playlist is empty.
This behaviour started after my Raspberry Pi distribution had upgraded from php7.0 to php7.3.
When playlist is not empty, I can navigate to "Now Playing" page as before.
May be php7.3 is the cuase of this issue?
"http://dietpi/ompd/message.php?message=%5Bb%5DPlaylist%20is%20empty%5B%2Fb%5D%5Bbr%5D%5Bbr%5D%09%5Burl%3Dindex.php%5DAdd%5B%2Furl%5D%20some%20music!&type=warning&menu=playlist&skin=ompd_dark&username=ompd&sign=sneBt2SRtvyaSsrZPP6QATaZiZPaDe7JfA81_a8e×tamp=5cdef9a1"
Thanks for your great O!MPD. I really like it.
Maarten
The text was updated successfully, but these errors were encountered: