Go Back   Home > Forums > >

PC Based Computer music servers, crossovers, and equalization

Peppy player
Peppy player
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools
Old 18th July 2020, 05:42 PM   #271
MrGlasspoole is offline MrGlasspoole
diyAudio Member
 
Join Date: Jan 2020
Sorry your code does not work:
Code:
Traceback (most recent call last):
  File "peppy.py", line 72, in <module>
    from ui.screen.network import NetworkScreen
  File "/home/haegarthehorrible/opt/Peppy/ui/screen/network.py", line 29, in <module>
    from util.wifiutil import WiFiUtil, CONNECTED, ETHERNET_IP, WIFI_NETWORK, WIFI_IP
  File "/home/haegarthehorrible/opt/Peppy/util/wifiutil.py", line 108
    inet_addr = None
                   ^
IndentationError: unindent does not match any outer indentation level
But I don't want to bother you any longer with that network stuff. Its your player and your work. I know how much work that is and as long as it works for you and other people i need to figure it out myself.

I don't have problems doing things in the CMD. But I always struggle with Python.
  Reply With Quote
Old 18th July 2020, 05:52 PM   #272
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
That's copy/paste issue again. You know that Python is indentation based language. There were missing white spaces in several lines. Try this one. If you will see similar errors just add/remove space where error occurs.
Code:
    def get_linux_network(self):
        """ Get Linux network info using 'ip' utility.
             If there many entries of the same type (eth or wlan) the function returns the last one.

        :return: network info
        """
        result = {}
        n = subprocess.check_output(["ip", "-j", "a"])
        js = json.loads(n)

        for e in js:
            try:
                e["addr_info"]    
            except:
                continue # if no addr_info
            inet_addr = None
            try:
                for a in e["addr_info"]:
                    if a["family"] == "inet":
                        inet_addr = a["local"]
                        break
            except:
                pass

            if e["ifname"].startswith("e") and inet_addr:
                result[ETHERNET_IP] = inet_addr
            elif e["ifname"].startswith("w") and inet_addr:
                result[WIFI_IP] = inet_addr

        info = self.get_linux_networks()
        try:
            result[WIFI_NETWORK] = info["profile"]
        except:
            pass

        return result
  Reply With Quote
Old 24th August 2020, 12:12 AM   #273
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
New version (Constable Edition) of the Peppy Player was just released.
The disk images with new release are available here:
https://github.com/project-owner/PeppyP ... isk-Images

New features:
  • Added the following functionality to the File Menu: alignment, sorting, wrapping and layout.
File Menu * project-owner/Peppy.doc Wiki * GitHub


Click the image to open in full size.


Click the image to open in full size.
  • Implemented a graceful poweroff.
Power OnOff * project-owner/Peppy.doc Wiki * GitHub


Click the image to open in full size.
  • Patched the bug in the ALSA library. That allowed to enable VU Meter and Spectrum Analyzer screensavers.
Click the image to open in full size.
  • Added support for images embedded into mp4 and m4a audio files.
  • Fixed the AirPlay mode issues.
  • Upgraded to the latest version of the Tornado web server.
  • To fix CD player issues replaced the nonfunctional API endpoint freedb.org by gnudb.org.
  • Refactored the Wi-Fi configuration framework.
  • Fixed multi-touch driver
  Reply With Quote
Old 13th September 2020, 05:12 AM   #274
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
Here is the new picoPeppy player.
This is the smallest player in the Peppy family.
It's using the Headless Peppy Player Disk Image.
The player can connect to the Internet via Wi-Fi and to the speaker via Bluetooth.
A Web Browser running on any device in the home network can be used to control the player.
The player can be used to listen to Web Radio, Podcasts and Audiobooks.

More information can be found here:
Home * project-owner/picoPeppy.doc Wiki * GitHub

Click the image to open in full size.

Click the image to open in full size.

Click the image to open in full size.

Last edited by rpi; 13th September 2020 at 05:15 AM.
  Reply With Quote
Old 13th September 2020, 04:36 PM   #275
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
CAUTION! This project is only for experienced DIYers as it assumes the work with the high voltage main power. If you are the beginner just connect a regular +5V power supply to the Raspberry Pi Zero W board.
  Reply With Quote
Old 21st November 2020, 06:10 PM   #276
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
Here is the new addition to the Peppy Player Gallery - BoomBox by Zippo (Germany)

This is very interesting project in the original vintage enclosure. The base of the project is the ghetto blaster which is about 25 years old. It was available for a low price as the cassette player didn't work. Zippo preserved the radio functionality and replaced the cassette player by the Raspberry Pi and display. He connected the audio output of the Raspberry Pi to the magnetic reading head through the low-pass RC filter. That allowed to re-use the original amplifier and speakers. The original volume control can be used as well. The mp3 files can be placed on a separate partition of the USB drive which is automatically mounted via the fstab during booting process.

Here are the components used for the project:
- Raspberry Pi 3B bootable from USB flash drive. The connection to the Ethernet and USB drive is available in the battery compartment
- Display is a waveshare clone where you have to invert the contrasts
- Stop, backward, forward and play buttons connected to the Raspberry Pi GPIO connector
- 5V 3A power supply

Gallery * project-owner/PeppyPlayers.doc Wiki * GitHub

Click the image to open in full size.

Click the image to open in full size.
  Reply With Quote
Old 22nd December 2020, 08:19 AM   #277
lazybyby is offline lazybyby
diyAudio Member
 
Join Date: Dec 2020
good day!
installed by Constable-Walshscher. 3.5. Doesn't see wi-fi. connect only by cable. how to connect via wi-fi? Question 2: there is a USB stick with music. how to play from the player menu?
  Reply With Quote
Old 22nd December 2020, 05:46 PM   #278
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
Hi lazybyby,

Have you tried to follow the steps for connecting Wi-Fi?
Network * project-owner/Peppy.doc Wiki * GitHub
Which Raspberry Pi model do you use?

The player doesn't mount disks (hard or flash drives) for you. You need to do that yourself. After that you can just use the mounted folder from UI as any other folder. I'm planning to add auto-mounting in some of the future releases.

Best regards.
  Reply With Quote
Old 23rd December 2020, 07:23 AM   #279
lazybyby is offline lazybyby
diyAudio Member
 
Join Date: Dec 2020
Model PI3B +
I do not show any network when scanning. "Loading" - it burns forever. Is it possible to configure via terminal or web
  Reply With Quote
Old 23rd December 2020, 11:08 PM   #280
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
Did you follow these steps?
WiFi * project-owner/Peppy.doc Wiki * GitHub
  Reply With Quote

Reply


Peppy playerHide this!Advertise here!
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FS: Marantz DV4600 DVD Player with RC4300DV Remote. Doubles as a great CD Player! matevana Swap Meet 0 17th July 2012 10:45 AM
Looking for a good CD player with USB flashdrive player 4pyros Digital Source 1 1st January 2011 06:42 AM
Cd Player Vs Dvd Player - The Facts pezza89 Solid State 12 23rd September 2007 08:42 PM
Converting car cd-player into an mp3 player... dionisis84 Car Audio 10 4th November 2006 10:00 PM
Stand Alone CD Player vs. DVD Combo-Player Tom D Digital Source 0 2nd January 2003 05:08 PM


New To Site? Need Help?

All times are GMT. The time now is 10:50 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 14.29%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Copyright ©1999-2021 diyAudio
Wiki