Re: [SlimDevices: Unix] piCorePlayer on Raspberry zero W plus 2, 8" ILI9341 cheap SPI TFT
Hallo bvlet, schade, dass du nicht erklärt hast wie du es zum Laufen gebracht hast!!! hier im Anhang ein angepasstes Image für ein 2,8" Watterott Display und piCorePlayer 3.21. Das Problem ist, dass die zu ladende Auflösung für das Display zu groß ist. Ich habe den LCDSkin in das Image eingefügt. Anschließend habe ich ein HDMI-Display angeschlossen und das Setup für Jivelite mit dem LCDSkin durchgeführt. Danach wieder das 2,8" Display angeschlossen und siehe da es funktioniert. Gruß rippi -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=108594 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
PWZ wrote: > Brilliant work! Works well... > > Cannot get language to persist through reboot. Change from German to > English >reboot > menus are in German again? > Not sure why but everything in the picore settings persists through > reboot. > > Many thanks the file for sthe settings are in the root of the system. the name is .squeezplay (/.squeezeplay). you must boot the system, close the squeezplay, delete the file .squeezeplay, call the command "sudo filetool.sh -b and reboot. after rebooting you were ask for the language and other settings. when you have done everything, you must close the squeezeplay and call "sudo filetool.sh -b". Now your settings will be saved. This image is an alternative for the picorelcd. ---- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Hi here is another project with picoreplayer, but for the first time you need a monitor and a keyboard or a mouse later i will use a touchscreen. you can try it. https://drive.google.com/file/d/0BwlY2U0DBHwFeXpVVkJ6bjh5X1k/edit?usp=sharing rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
mn283 wrote: > On the PI isn't pin 1 3.3volts, should pin 15 on LCD go to pin 2 of pi. > Pin 16 as stated goes to gpio 17 which is Pin 11 on pi. pin15 on LCD goes to pin 1 on Pi (3,3V) -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
PWZ wrote: > Thanks Murphyprecht, that sounds like its the problem I'm using file > PiCorePlayerLCD_140401.img that's linked under the video. Don't see > where the newer one is. link post#35 - for win32 - gives me the same > file? Hi the image of post#35 is another image. i have changed the image a few days ago. regards -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Murphyprecht wrote: > 127.0.0.1? Is your lms on the pi because it's looking for it on local > host? no it is only the first value for hostip -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
i have a problem i detect the ip from the LMS-server and the mac from the player. afterwards i commit the ip and mac to the routine that connect to the LMS-server. when i put the ip direct in the subroutine everything is good, otherwise when i put the variable in the subroutine i get an error messageafter 1 minute. > ## IP-Adresse LMS ermitteln ### > > hostip="127.0.0.1" > print "Using squeezelite to obtain ip address of server..." > while hostip == "127.0.0.1": > try: > hostip = subprocess.check_output("timeout -t 1 > -s kill > /mnt/mmcblk0p2/tce/squeezelite-armv6hf -m $(cat > /sys/class/net/eth0/address) -d slimproto=info 2>&1 | grep -oP > '(?<=(from: )).*?(?=:3483)'", shell=True) > except: > sleep(1) > > print "" > print "Server: " + hostip > print "" > print "PlayerMac: " + mac > print "" > GPIO.setmode(GPIO.BOARD) > GPIO.setup(3, GPIO.OUT) > GPIO.output(3, False) > > > ### > > class UINavigation(threading.Thread): > > def __init__(self): > GPIO.setmode(GPIO.BOARD) > GPIO.setup(11, GPIO.IN) > GPIO.setup(15, GPIO.IN) > A_PIN = 7 > B_PIN = 9 > self.encoder = > gaugette.rotary_encoder.RotaryEncoder.Worker(A_PIN, > B_PIN) > self.encoder.start() > self.current_artist=0 > self.current_artist_album_count=0 > self.current_radio=0 > self.current_album=0 > self.left=False > self.right=False > self.push=False > self.back=False > self.level="root" > self.cursor=0 > *self.sbs = SqueezeBoxServer(host="10.208.52.121", port=9000, > player_id=mac) * > self.lcd= HD44780() > self.sbs.setVolume(20) > self.paused = False > threading.Thread.__init__(self) otherwise > class UINavigation(threading.Thread): > > def __init__(self): > GPIO.setmode(GPIO.BOARD) > GPIO.setup(11, GPIO.IN) > GPIO.setup(15, GPIO.IN) > A_PIN = 7 > B_PIN = 9 > self.encoder = > gaugette.rotary_encoder.RotaryEncoder.Worker(A_PIN, > B_PIN) > self.encoder.start() > self.current_artist=0 > self.current_artist_album_count=0 > self.current_radio=0 > self.current_album=0 > self.left=False > self.right=False > self.push=False > self.back=False > self.level="root" > self.cursor=0 > *self.sbs = SqueezeBoxServer(host=hostip, port=9000, > player_id=mac) * > self.lcd= HD44780() > self.sbs.setVolume(20) > self.paused = False > threading.Thread.__init__(self) any idea rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
johtem wrote: > Oké thank you! > > I will order a LCD today. > Another question about connecting the LCD. In the schematic of > Wiredcharlie pin 15 is connected to 0V and pin 16 to the Pi by a 50 ohm > resistor. > In the HD44780 datasheet i can see that that pin 15/16 are for backlight > control, and that pin 15 is (+) and pin 16 is (-). So the polarity > seems contradictory.. > > Is Wiredcharlie's schematic correct? I have pin 15 connected to (+) an pin 16 to pin 6 of the Pi. So the program can control the backlight (turn on and off) -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Murphyprecht wrote: > Brilliant Rippi, where in Germany are you? I once lived in Lämmerspiel. > Maybe we were neighbours lol i live near by Freiburg im Breisgau ---- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
johtem wrote: > Hi rippi46 > > Is this specific for the display 16x2 characters, or can I use other > sizes? > Can I still perform an update via picorewebpage? Or is the lcd no longer > working after an update? Hi johtem, you can update via picorewebpage, but you must change the mydata.tgz on the fat-patition, because the command for the readsq.py is missed. after you placed the command in the file /opt/bootlocal.sh everything works fine. -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Murphyprecht wrote: > Ok! It's brilliant! What next? Could it have manual buttons to forward > and Pause and stuff? Would you need a gpio extender? :) Hi i have integrated the projekt from dÂemmaanuel (see on the 3th post), but somthing doesn't work with the idea i have. when everything works fine, i'll show you my projekt. ---- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Murphyprecht wrote: > Your English is far better than my German my friend. I now have the > screen showing 'stopped' which is far more than I had so thank you. > Unfortunately that's all it ever says even when playing. What am I doing > wrong now. excuse me the MAC-address of my picoreplayer is non-adjustable in the image. either you can remove my MAC-address on the website on the picoreplayer or you can download the image again(i have removed the MAC) regards -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Hi on LMS (Logitech Media Server) you must select the LCD Player(this is the name of the player), and turn it on and than you see the title of the song in the display. rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Hi you can download the picorplayerlcd-image from Googledrive wit this link: https://drive.google.com/file/d/0BwlY2U0DBHwFZ1oydTFSU1ZKeDQ/edit?usp=sharing if you take the picorelcd.img.gz file, you can restore the SD-card with the command below: gzip -dc /path_to_your_download/picorelcd.img.gz | dd of=/dev/sdX (X is the placeholder of youir SD-card; be carefully) to make an image of your SD-card you can take the command below: dd if=/dev/sdd bs=512 count=Y|gzip > /path_of_your_directory/picorelcd.img.gz (Y is the last block of the ext4 partition) Under windows you can take the picorelcd.img file and the Win32 Disk Imager to restore the SD-card I hope this is helpful for you regards I'm afraid my English is a bit rusty. ---- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Hi I'll make tomorrow a operating instuction how to install the picoreplayerlcd, and make som patitionsfiles available to make the sd-card with partclone. regards rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Hi you can mount a USB-Stick. thats the way i tranfer files to the pi regards rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Hi look in post 25, there is a Link to the tce directory of the partiton of the sd-card or a link to the full image of the picoreplayerLCD regards rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Hi hier ist ein Link zu meinen modifizierten Dateien von meinem funktionierenden Image https://www.dropbox.com/sh/3sje7k9e3uay18h/AADFaTRtXOdjw8Yw7WnNBNnNa?dl=0 SD-karte unter Linux mounten und das Verzeichnis tce ersetzen rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer >> Squeezy(Stream Autostart) and 2 Line LCD Display
Hallo, willst du die Daten von PicorePlayer-Image ändern? wenn ja: zuerst in der Datei .filetool.lst (Verzeichnis /opt) die Dateien eintragen, die nach einem Neustart die Änderung behalten sollen. Anschließend auf der Kommandozeile "sudo filetool.sh -b" aufrufen . Fertig -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101481 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: piCorePlayer �2 LCD
Ich habe auch das Image von Wiredcharlie ausprobiert. Leider habe ich es auch nicht zum laufen gebracht. Offensichtlich fehlen einige Dateien im Image. Deshalb habe ich ein aktuelles PicorePlayerimage verwendet und die Scripte von Wiredcharlie eingebaut. Es funktioniert jetzt. - Einfach eine aktuelle Version vom Picoreplayer verwenden(1.16) - das Pythonscript (readsq.py) von TheWiredcharlie nach /mnt/mmcblk0p2/tce kopieren - in Zeile 966 von readsq.py die MAC des players eintragen - den Aufruf "sudo /mnt/mmcblk0p2/tce/readsq.py &" in die Datei /opt/bootlocal.sh einfügen - sudo filetool.sh -b aufrufen - neu booten - freuen :-) -------- rippi46's Profile: http://forums.slimdevices.com/member.php?userid=63080 View this thread: http://forums.slimdevices.com/showthread.php?t=101269 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix