-
Notifications
You must be signed in to change notification settings - Fork 14
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
Introduction and high level questions. #43
Comments
Hi Tom, Thank you for the fedback! I really appreciate it. Best regards |
I have an account on diyaudio, so I can discuss there if you think its a better place, otherwise I will use github. I'm trying Peppy Klimt on a RPi4B with a HiFiBerry Dac+ and a 5" 800x480 DSI touchscreen - no GPIO buttons or rotary encoders - yet!) I plan to try those later. First it seems that you have a new release, so I will start with the Updating guide. Do you have a doc or picture that describes the software architecture for Peppy, so that folks who might want to contribute can get an overall picture of what is going on? Similarly, do you have a reference tool chain you use to develop Peppy? |
I would recommend to use a disk image with a new release instead of updating manually. |
Well, I did the update. I noticed that there is now a config directory. I also noticed that the player needs the new config.txt file. I tried just copying the old one over, but the player would not start. When I re-edited the new config.txt that worked just fine. It seems that missing config elements are not acceptable. I will go ahead and try the new release image as well. It's a lot more work to re-edit in everything I've already done, but I've run into a snag where the browser system tab won't show any content anymore. This is not a new thing... I have seen the web config system tab work before, but it stopped showing up in the Klimt release at some point, and I don't see it at all anymore. Updating the software did not bring it back either. The js console on my browser thinks there is a type error "Fetch Disks problem: l is undefined" That's from Fetchers.js, under Tabs. |
Manual update is a problematic process as very often it needs pretty complicated steps which are difficult to implement in any sort of script. That's why I usually recommend just to use disk images. As you noticed the main problem in this case - to restore your previous changes. It would be helpful to find a sequence of steps which leads to that 'Fetch Disks problem'. Do you have anything in the file /home/pi/Peppy/nas/nas.txt ? Do you see any error messages in the log file (/home/pi/Peppy/peppy.log) if you enable logging? Peppy/configuration/config.txt Line 33 in c4b5554
Thanks! |
My nas/nas.txt file exits with 0 bytes.
|
I don't see anything unusual in the player's log. It's difficult to fix an issue which I cannot reproduce. |
I opened a separate issue for the System tab after burning a new image and still having the problem. I have made a few fixes for some of the radio stations, and added some as well. Would you like an Issue opened with the updated files for that? Let me also share some good news, I discovered something that I really liked: I tried adding a genre to the Radio module (e.g. Sports). I was pleasantly surprised that this worked - even though I did not see it documented anywhere. At first I had missed creating a folder.svg icon in the Sports directory. The UI painted a Sports selection without an icon, but when I pressed it the UI froze. It's a happy ending, however, because after providing the folder.svg icon, it works great. The UI did a good job of extending the genre selections to a second screen. |
It's OK to have that new issue. |
Not sure if you consider this an issue. If you manually edit the smb.conf to set |
Thank you for reporting about these issues. Could you provide the example of the smb.conf file when you change it manually? I'll make sure that it's parsed properly. Also please provide the example of the options which you define in the Web UI. Somehow the parsing logic doesn't handle it properly and should be fixed as well. Line 147 in c4b5554
|
I was creating a samba share so I could restore some of the data I backed up from the Klimt version. I kinda blundered into this problem by setting Also, if I try to use a variable in the web config - Share Manager - Share Folder - options or path, it is not accepted. (I get a red popup that says "Cannot Save Share") The service definition below demonstrates the issue. If you type it in the web config it will not save it. If you manually add it to smb.config and then restart samba, you will get a working service for the Peppy folder. And when you run
If you then I don't need to use variable substitution on peppy. I blundered into the parsing error and then brought it up because it stopped the system from working. |
So, to reproduce the issue in the Web UI I need to provide the following line in the Options section:
after clicking on the 'Save' button there should be the error in the Web UI. To reproduce a failed startup I need to add the same line to the smb.conf. |
Yes, that's correct. |
It looks like the class ConfigParser which I use to read and write smb.conf file doesn't handle % character by default: Line 89 in c4b5554
Line 129 in c4b5554
The fix will be available in the next release. |
I've started exploring Peppy. I see that you have put a lot of work into it and I want to start with expressing my appreciation that you are providing it as FOSS.
Also for the extensive documentation - many thanks!
I've been playing around with the software while listening to internet radio stations. I really like that feature, and that you curated some stations so that the module was useful right away.
So, I am wondering how you would like to get feedback, enhancement suggestions, and even documentation suggestions or corrections. Would you prefer Github Issues, like this one, and is it OK to discuss more general items in the issues section - or would you like to have discussions elsewhere and save issues for changes to the code or docs?
Also, is it preferred to have many smaller and simple issues, or would you rather see several topics in a single issue?
Thanks!
The text was updated successfully, but these errors were encountered: