User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Fri Feb 12, 2021 5:21 pm

Do you use Pi 3?
Have you tried to refresh the screen after selecting the network?
I'll try to rotate 5" screen and let you know the result.

Best regards

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Fri Feb 12, 2021 6:51 pm

I was able to make UI show up after rotation but it doesn't work when you click on icons in the Home screen. The code needs to be changed to make it working. So unfortunately the answer is - the vertical layout is not supported right now.

Best regards

loic.avenel
Posts: 3
Joined: Fri Feb 12, 2021 10:21 am

Re: Peppy player

Sun Feb 14, 2021 6:48 pm

Yes, I am using PI3... I made it work by selecting US as a local.. I will do more testing.. Thanks

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Wed Mar 03, 2021 5:17 pm

Here is the new project based on the Peppy Player. The project name is 'Dietrich' after 'DIgital TRansport. This is the ancient German name which means - 'Ruler of the people' ;)

The device consists of:
- Power supply +12V 12.5A for external hard drives and for the power switch LED
- Power Supply +5V 10A for the Raspberry Pi 4, USB Hub and display
- Raspberry Pi 4. One USB2 connected to the touchscreen. Another USB2 connected to the back panel. One USB3 connected to the USB Hub. Another USB3 connected to the back panel. LAN connected to the back panel. One HDMI connected to the display. Another HDMI connected to the back panel.
- USB3 Hub 10 port
- Waveshare 7.9" touchscreen
- 8 Relay Module to switch on/off 12V for external hard drives
- MCP23017 module to control relays through I2C
- ULN2803 sink driver transistor array

The device can work as:
- Audio player with USB output using hard drives connected to it.
- Audio player with USB output using NAS mounted to it.
- Video player with HDMI output (currently not supported in Peppy Player)
- Serve as a NAS for external hard drives connected to it.
- Streamer.

The pictures were taken with Peppy Player running on device (VU Meter screensaver).
The support for switching on/off hard drives from UI will be added to the Peppy Player software in one of the next releases.

Image
Image
Image
Image
Image
Image
Image

ocean1598
Posts: 1
Joined: Tue Mar 09, 2021 11:37 pm

Re: Peppy player

Tue Mar 09, 2021 11:42 pm

:D :)
My goodness, this looks great!!!

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Tue Apr 20, 2021 1:26 am

Here is the new entry in the Peppy Player Gallery - RetroPeppy by Christian (Germany):
https://github.com/project-owner/PeppyP ... an-germany

Image

Image

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Wed Apr 28, 2021 5:19 pm

There is one more entry in the Gallery - Bathroom Player by Flup (Germany):
https://github.com/project-owner/PeppyP ... up-germany
It has a 3D printed enclosure.

Image

Image

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Mon May 03, 2021 2:47 am

New version (Hiroshige Edition) of the Peppy Player was released today.

The disk images with new release are available here:
https://github.com/project-owner/PeppyP ... isk-Images

The complete list of changes is available in the Release Notes:
https://github.com/project-owner/PeppyP ... ease-Notes

Here are the main features of the release:

- Implemented USB disk auto-mount functionality which also includes a Disk Manager Web UI.

Image

Image

- Created UI to set Timezone, set Default values and observe the log file.

Image

- Screensaver delay moved to the Web UI

Image

Image

- Redesigned Radio player and station browser screens.
- Modified the keyboard navigation. All screen elements are accessible now using just arrow keys.

MiBz0r
Posts: 2
Joined: Wed May 26, 2021 8:23 pm

Re: Peppy player

Wed May 26, 2021 8:32 pm

I have a problem setting up Audio on peppy, I'm using the Waveshare 2.8" Image to run peppy and it works fine, my problem is that I have the Waveshare WM8960 Audio HAT and the Pimoroni Audio DAC Shim but can get neither of them working with Peppy and am pretty inexperienced at the whole Linux thing, I did manage to build it once myself and since then have failed miserably every time so am stuck using the image, any advice would be GREATLY appreciated.

PS. I'm having fun getting the SHIM to work on my Pi4 at all (seems incompatible because it works on a Zero/ZeroW) so I only really need to get help with the WM8960.

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Thu May 27, 2021 4:25 pm

Hi,

Let's try to make Waveshare WM8960 Audio HAT working.
1. Install the player disk image.
2. Install Waveshare WM8960 Audio HAT driver:
git clone https://github.com/waveshare/WM8960-Audio-HAT
cd WM8960-Audio-HAT
sudo ./install.sh
sudo reboot
3. Find out which ALSA card:device the HAT is using by running the following command:
aplay -l
You should see the HAT in the output. Something like this (card and device numbers can differ in your case):
card 1: wm8960soundcard [wm8960-soundcard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
4. In the example above the card is 1 and device is 0. These numbers should be defined in the file /home/pi/.asoundrc in these lines:
https://github.com/project-owner/Peppy. ... ppyalsa#L6
https://github.com/project-owner/Peppy. ... pyalsa#L21
You should define in those lines (assuming card 1 and device 0):
type hw card 1
slave.pcm "plughw:1,0"
respectively

After these changes the HAT should start working.

If you will face the issue with volume control please follow the steps described here:
https://github.com/project-owner/PeppyP ... own-Issues

I'm planning to make the new release during the next weekend. It will fix all issues known so far.

Best regards

MiBz0r
Posts: 2
Joined: Wed May 26, 2021 8:23 pm

Re: Peppy player

Fri May 28, 2021 1:12 pm

That helped me figure out where all my sound card issues lie, THANK YOU!!

Now to start planning the box for my own take on the Peppy Player.

EDIT. Slight bug in the Waveshare 3.2" image file, the weather config file has settings for 480*320 display and not 320*240.

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Sun May 30, 2021 12:48 am

New version (Monet Edition) of the Peppy Player was released today.

The disk images with new release are available here:
https://github.com/project-owner/PeppyP ... isk-Images

The complete list of changes is available in the Release Notes:
https://github.com/project-owner/PeppyP ... ease-Notes

The main release features include:

- Replaced Yahoo Weather API by OpenWeather API. The replacement was required as of June 1st the Yahoo Weather API will reach the end-of-life. The screensaver configuration procedure was changed. Please refer the following wiki page for details:
https://github.com/project-owner/Peppy.doc/wiki/Weather

Image

- Added new language support for Dutch. That includes labels, radio stations and audiobooks.

Image

- Fixed all known bugs.

Amala
Posts: 4
Joined: Fri Jun 11, 2021 12:38 am

Re: Peppy player

Fri Jun 11, 2021 7:52 am

Hi peppy.player. I installed Peppy on a Pi Zero W with a Waveshare LCD HAT (https://www.waveshare.com/wiki/1.3inch_LCD_HAT) to make some sort of a portable player. I managed to get the screen and buttons working after installing the display driver on top of a headless Monet image. Sound output is through a USB DAC (LG Hi-Fi Plus, RIP LG phone division) to a pair of headphones. So far so good, except for 2 problems in collection.
1. When I use the collection menu after a proper shutdown, with content written into current.txt, whenever I clicked on the Topics or Details button it will show a blank UI instead.
Image
This always happens whenever there's content written into current.txt. A workaround I do is to replace current.txt with the blank default file and/or turn off the pi from SSH (using sudo shutdown) rather than the shutdown button in the UI. Of course I lose all current settings and playback progress. This happens regardless of whether I'm using GPIO buttons or the web UI. Here's an example (https://streamable.com/zzpelf)
2. When I can actually use the collection menu, sometimes it'll show me no highlighted button/text, and I can't use the GPIO buttons to operate the UI, otherwise the buttons work nicely. I think this is best shown in this video. (https://streamable.com/efwsak)
I can still click on the UI buttons with the web UI, but that means I can't use the Pi Zero as a standalone player anymore. I tried using one of the GPIO buttons as a home button to at least return from the collection menu, but that didn't work.

If you have the time, please have a look at this problem. This is the closest I have come to my dream of making my own DIY DAP instead of just buying another off-the-shelf one. Thanks in advance!

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Fri Jun 11, 2021 4:15 pm

Hi Amala,

You have very cool project. I think this is the smallest Peppy player I've ever seen.
I have fixed the issues in the Collection mode. To get the fix please run the following commands:

Code: Select all

cd Peppy
git fetch
git checkout origin/master -- peppy.py
git checkout origin/master -- ui/navigator/collectionbrowser.py
git checkout origin/master -- ui/navigator/topic.py
git checkout origin/master -- ui/navigator/topicdetail.py
git checkout origin/master -- ui/screen/topic.py
git checkout origin/master -- ui/screen/topicdetail.py
There is one minor glitch - the topic details menu is blank after restart. But the player should not hang anymore.
Please let me know if the issues still exist.

Best regards

Amala
Posts: 4
Joined: Fri Jun 11, 2021 12:38 am

Re: Peppy player

Fri Jun 11, 2021 9:52 pm

Hi peppy.player. I am happy to report that the 1st problem has been solved. The minor glitch you mentioned did happen but after that things mostly work well, except the 2nd problem is still happening. To maybe give a better look at what exactly I'm looking at in regards to problem 2 here's another example (https://streamable.com/f8hidy) from the perspective of the web UI. Every time the scrolling text resets, that's me clicking any GPIO button. FYI here's my config.txt file https://pastebin.com/nBFBQV9Z. The logs also record the button inputs, but because nothing is highlighted on the UI I can't operate anything using the buttons.
By the way, I have more issues to report.
3. I bound a GPIO button to the Home button in an attempt to work around problem 2, with the hope that it will highlight the Home button in the UI so I can return to the Home screen and try to open the collection menu again. It works everywhere except in the screen after selecting an Album. Here's an example. Note that a string is highlighted so this is in a state where problem 2 wasn't happening. (https://streamable.com/xfs72l). Every time the scrolling text resets, that's me clicking the GPIO button bound to Home. The directional navigation buttons like down or up work as expected.
4. If I use the Home GPIO button to return to the home screen successfully, the next time I return to the album collection menu, two items will be highlighted. It's best seen here (https://streamable.com/03k4fs). This is just a minor problem really.

Thank you for your attention.

Edit: I forgot to mention that problem 2 happens most often after either starting up the player and selecting an Album (with or without a blank current.txt) or selecting an Album after playing a track from the collection menu. But if I just continuously browse albums after albums without selecting a new track to play problem 2 won't happen because there'll always be a UI button that's highlighted.

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Sat Jun 12, 2021 1:17 am

Hi, I've fixed the issue #2. To get the fix:

Code: Select all

cd Peppy
git fetch
git checkout origin/master -- ui/screen/topicdetail.py
git checkout origin/master -- ui/menu/menu.py
After this fix I hope you don't need the Home button which actually doesn't work from the Navigator (bottom menu). It works only from the player screens.
Please provide the steps to reproduce that double selection problem. Does it happen after the fix mentioned above?

Best regards

Amala
Posts: 4
Joined: Fri Jun 11, 2021 12:38 am

Re: Peppy player

Sat Jun 12, 2021 3:02 am

For the double selection problem, when you're in the album screen and clicked the GPIO button bound to Home, you'll go back to the home screen. Then, click collection on the home screen. After that click the album art, then topics. You'll see the double selection. This still happens even after both fixes.
As for the 2nd issue, so far I haven't seen it come back after I applied the 2nd fix. I guess I won't be needing that GPIO home button after all. Great work!
Thanks for all the help! Oh, and can I post some pictures and details about making my portable player? It might help someone looking to do a similar project.

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Sat Jun 12, 2021 4:08 am

I'll try to fix that double selection issue as well.
Sure, you can either post your info and pictures here and/or send me via e-mail to peppy.playerATgmail.com. If you don't mind I would be glad to add your project to the Gallery: https://github.com/project-owner/PeppyP ... ki/Gallery
Thank you!

Best regards

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Sat Jun 12, 2021 4:38 am

Hmm, I cannot reproduce the double selection issue. When you say ' when you're in the album screen', do you mean player screen or browser screen (topic)? Thanks!

Amala
Posts: 4
Joined: Fri Jun 11, 2021 12:38 am

Re: Peppy player

Sat Jun 12, 2021 5:21 am

The browser screen (topic), specifically the album Collection Topics screen. Clicking the home button when in the player screen causes no issue.

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Sat Jun 12, 2021 5:29 pm

Hi, I've fixed the double selection issue. I've just disabled Home and other non-navigational buttons in the topic navigator. It was disabled in all navigators but this one.
Also I fixed the issue when you loose the selection after exiting a screensaver.
To get both fixes you need to run the commands:

Code: Select all

cd Peppy
git fetch
git checkout origin/master -- ui/navigator/topic.py
git checkout origin/master -- event/dispatcher.py
All issues and fixes described here:
https://github.com/project-owner/PeppyP ... own-Issues

Best regards

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Sun Jun 13, 2021 4:35 pm

The new project was added to the Gallery - the portable player by Amala (Indonesia):
https://github.com/project-owner/PeppyP ... -indonesia

Image

Image

The components are:
- Raspberry Pi Zero WH.
- Waveshare 1.3 inch LCD HAT, https://www.waveshare.com/wiki/1.3inch_LCD_HAT. The screen has a ST7789V controller. Amala modified this driver https://github.com/darrenliew96/gamepi20_drivers to work with it. I changed the init code to suit my HAT, the resolution to 240 x 240, and the rotation to 0.
- Power to the Pi Zero is from a small 5V/1A power bank. Integrating a battery inside the case will just make it even bulkier and more of a brick than it currently is.
- LG Hi-Fi Plus USB DAC connected to a pair of earphones/IEM.
- 1.3 inch LCD 3D printed case from PiSugar: https://github.com/PiSugar/pisugar-case-pihat-cap.

fa001
Posts: 103
Joined: Wed Jan 02, 2013 8:25 pm

Re: Peppy player

Tue Jun 29, 2021 6:13 pm

I am trying to use a basic HDMI monitor but I am having no joy.
I followed the direction to use the headless disk image and make the noted modifications but I do not get the player screen to appear on the pi display. I can see the splash screen and can access the player via ssh but the pi screen is blank.
If I manually start the player via ssh I get the home screen on my PC but if I manually start in from the pi console I get a blank screen.
Any suggestions?

User avatar
peppy.player
Posts: 353
Joined: Mon Mar 07, 2016 6:10 am

Re: Peppy player

Wed Jun 30, 2021 6:50 am

Hi, more likely there is some misconfiguration. After installing the Headless image you need to set the following parameters in the file /home/pi/Peppy/config.txt (width/height should be the resolution of your display):
width = 800
height = 480
hdmi = True
headless = False
Here are examples of configuring HDMI display on top of the Headless image:
https://github.com/project-owner/PeppyP ... eshare-5.0
https://github.com/project-owner/PeppyP ... eshare-7.9
You can ignore the touchscreen configuration if your display doesn't have it.

Return to “Media centres”