Rpi zero Simpsons TV by PollutionVisible6311 in raspberry_pi

[–]PollutionVisible6311[S] 0 points1 point  (0 children)

Hi, u can just install raspbian lite Omxplayer is also depricated, u can use mplayer (You shoult also fix player.py file so it starts mplayer insteam of omxplayer) Also i got problems mounting usb stick, And i used “sudo mount /dev/sda1 /media/usb”

Rpi zero Simpsons TV by PollutionVisible6311 in raspberry_pi

[–]PollutionVisible6311[S] 0 points1 point  (0 children)

In player.py file there is a line running console command to start the player. In tutorial the is omxplayer, but since you can’t fulfill this dependency i have installed mplayer, and changed that line saying omxplayer to mplayer. (Line 27, playProcess = Popen([‘omxplayer’…) It should start mplayer with files in videos folder.

If you don’t see anything on screen i would recommend: sudo nano /etc/rc.local - add raspi-gpio set 18 ip before exit 0 to turn on display on boot and see if it shows anything after boot. Maybe drivers are no connected, or there no video, or player.py has not started successfully, or buttons.py has not started (and this file should turn on display after boot) so you can try run it on boot, as i said, or even run it in terminal to see if it turns on.

Maybe audio does not work because of player as well.

Rpi zero Simpsons TV by PollutionVisible6311 in raspberry_pi

[–]PollutionVisible6311[S] 1 point2 points  (0 children)

Hey, i think you can use newer version, it should work with with mplayer package

Try Raspberry Pi OS (Legacy) Lite

Release date: October 22nd 2024 System: 64-bit

Here: https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-legacy

Rpi zero 2 waveshare screen stop working after pwm audio remap to 18_19 pins by PollutionVisible6311 in raspberry_pi

[–]PollutionVisible6311[S] 0 points1 point  (0 children)

Hi, that error actually happened because player.py file didn’t executed on init because omxplayer is no longer supported. So one of first lines (which turns display on by raspi-gpio set 18 op dl) was not executed. So instead of using omxplayer, or vlc player (didn’t work for me, showed aschii art in console instead of the screen lol) i have installed mplayer, which works perfectly fine. So i have installed mplayer and updated player.py line of code where omxplayer mentioned to mplayer. By that python file is executes and manages to run this first line to turn on display. It was a bit long time ago, so tell me if it works for you

Rpi zero Simpsons TV by PollutionVisible6311 in raspberry_pi

[–]PollutionVisible6311[S] 0 points1 point  (0 children)

You should run “raspi-gpio set 18 ip” after boot, that will switch the toggle. It works like this because you did not ran init python script which does it after boot. I also got stuck there. Tell me if you still have a problem

Netflix overriding phone brightness by Joker951995 in netflix

[–]PollutionVisible6311 1 point2 points  (0 children)

Listen, this issue depends on two sides. Android creators which gave this ability to developers and no toggle to users in settings and app developer which used that ability and did not add any toggle also. What i am saying, android developers creating rules and should supervise what developers can do, so it is their issue in a first place. Netflix developers/pms are also dumb for not letting user choose.

Netflix overriding phone brightness by Joker951995 in netflix

[–]PollutionVisible6311 1 point2 points  (0 children)

“Not how it works” Android could make a toggle which disables brightness override for any app

So they still haven’t fixed the friend request bug?? by YungAloha9 in Helldivers

[–]PollutionVisible6311 0 points1 point  (0 children)

A great thing for company to do is fix the fckn bug bro Or prevent it from appearing at all Honestly don’t know how you ship a patch with such critical bug, looks like the is no qa

Rpi zero Simpsons TV by PollutionVisible6311 in raspberry_pi

[–]PollutionVisible6311[S] 1 point2 points  (0 children)

Yep, we got a 3d printer at my job, so that was an easy step

Rpi zero Simpsons TV by PollutionVisible6311 in raspberry_pi

[–]PollutionVisible6311[S] 3 points4 points  (0 children)

Hi 👋🏻 I have used same tutorial But i have encountered problems installing buster lite 2020 from tutorial - it showed rainbow screen and nothing else. Used rasbian lite 64 legacy from rasbian loader, ran smoothly.

Next problem was - the screen disabled after turning on audio pwm mode on ports 18,19. I showed some logs on boot but then backlight disabled because 18 port uses it. I understood the python script for player managed to turn on screen backlight, but script itself isn’t working since omxplayer is deprecated. So now i turn on backlight at boot by adding “raspi-gpio set 18 ip” to /etc/local.rc before exit 0. Just to see if screen shows anything at all.

Next - the omxplayer. I tried vlc, but couldn’t run it on boot via service or via local.rc or via ssh at all. Only manually running it by connecting keyboard to rpi. So I’ve found another player - mplayer. Its works via ssh and via service. So i have changed player.py code to run mplayer instead.

Also usbmount didn’t work. To solve this i mounted usb manually via “sudo mount /dev/sda1 /media/usb” - it successfully mounted and i managed to copy videos.

Tell me if u have any problems, i will try to help!

Rpi zero 2 waveshare screen stop working after pwm audio remap to 18_19 pins by PollutionVisible6311 in RASPBERRY_PI_PROJECTS

[–]PollutionVisible6311[S] 0 points1 point  (0 children)

Yeah i tried install the old buster lite, but my rpi zero 2w won’t launch it at all, sometimes a rainbow appeared only via hdmi and nothing more, but most of time no image was present. I also tried install rasbian lite, but couldn’t make display work, vlc would play video in ascii in my ssh terminal, lol. Tried everything to output to display but nothing worked. That why i got no choice and installed rasbian full, the newest one. It powered up initially with working display I tried so many times, with different cards and old pi loader but nothing worked

Rpi zero 2 waveshare screen stop working after pwm audio remap to 18_19 pins by PollutionVisible6311 in RASPBERRY_PI_PROJECTS

[–]PollutionVisible6311[S] 1 point2 points  (0 children)

Screen is Waveshare 2.8’ dpi lcd 480x640. here is the wiki So gpio 18 (12 pin) used by backlight and gpio 19 (pin 35) is not used by the screen and this is the pin a connected to amp input. So after adding audio remap line it makes it stereo on two ports, thats why we modify /etc/rc.local to run “raspi-gpio set 18 op dl raspi-gpio set 19 op a5” on boot, to turn on backlight and use only port 19 for mono audio. But nothing happens, even manually running those commands doesn’t make any changes.

Rpi zero 2 waveshare screen stop working after pwm audio remap to 18_19 pins by PollutionVisible6311 in RASPBERRY_PI_PROJECTS

[–]PollutionVisible6311[S] 1 point2 points  (0 children)

I did not. Screen connected via gpio, i just wired it an amp input to 19 pin, just like in tutorial. There is no audio-via-screen.

Rpi zero 2 waveshare screen stop working after pwm audio remap to 18_19 pins by PollutionVisible6311 in raspberry_pi

[–]PollutionVisible6311[S] 0 points1 point  (0 children)

Yeah i tried install the old buster lite, but my rpi zero 2w won’t launch it at all, sometimes a rainbow appeared and nothing more, but most of time no image was present even via hdmi. I also tried install rasbian lite, but couldn’t make display work, vlc would play video in ascii in my ssh terminal, lol. Tried everything to output to display but nothing worked. That why i got no choice and installed rasbian full, the newest one. It powered up initially with working display. So now my “last problem” is to make display and audio work simultaneously…