|
Home | Forums | Rules | Articles | diyAudio Store | Blogs | Gallery | Wiki | Register | Donations | FAQ | Calendar | Mark Forums Read |
PC Based Computer music servers, crossovers, and equalization |
|
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 |
![]() |
|
Thread Tools |
![]() |
#271 |
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 I don't have problems doing things in the CMD. But I always struggle with Python. |
![]() |
![]() |
#272 |
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 |
![]() |
![]() |
#273 |
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:
![]() ![]()
![]()
![]()
|
![]() |
![]() |
#274 |
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 ![]() ![]() ![]() Last edited by rpi; 13th September 2020 at 05:15 AM. |
![]() |
![]() |
#275 |
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.
|
![]() |
![]() |
#276 |
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 ![]() ![]() |
![]() |
![]() |
#277 |
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? |
![]() |
![]() |
#278 |
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. |
![]() |
![]() |
#279 |
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 |
![]() |
![]() |
#280 |
diyAudio Member
Join Date: Apr 2015
Location: San Francisco
|
Did you follow these steps?
WiFi * project-owner/Peppy.doc Wiki * GitHub |
![]() |
![]() |
Thread Tools | |
|
|
![]() |
||||
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? |