EZVIZ C3W IP cam RTSP URL

Finally got the stream URL

$ mpv rtsp://admin:VERIFICATION_CODE_FROM_CAMERA@CAMERA_IP/
Playing: rtsp://admin:JFORKE@192.168.2.70/
[ffmpeg/demuxer] rtsp: Missing PPS in sprop-parameter-sets, ignoring
(+) Video --vid=1 (h264 1920x1080 15.000fps)
(+) Audio --aid=1 (aac 1ch 16000Hz)
File tags:
Title: Media Presentation
AO: [pulse] 16000Hz mono 1ch float
VO: [gpu] 1920x1080 yuv420p

Just replace CAMERA_IP with IP and VERIFICATION_CODE_FROM_CAMERA with your code from camera

More info at https://www.ispyconnect.com/man.aspx?n=EZVIZ

ezviz stream

Hungarian Mother’s day date in Google Calendar

I wanted to have a repeated calendar event for Mother’s day, but it’s custom logic required making an ICS file and importing it into Google Calendar.

The ICS:

Inspired by/how to import into Google Cal How to Set up Repeating Event in Google Calendar on Last Day of the Month

Fix Boinc manager connection to localhost on Linux

Your user should be in the boinc group: usermod -a -G boinc $(whoami)

Than change GUI login file perms: sudo chmod 640 /var/lib/boinc/gui_rpc_auth.cfg

And then symlink it into your home: cd ~; ln -s /var/lib/boinc/gui_rpc_auth.cfg gui_rpc_auth.cfg

More info at https://wiki.archlinux.org/index.php/BOINC

Find malware on your web server/shared hosting

Some of my client websites get hacked. Some shared hosting providers provide some virus scanning tools, but it’s not always enough and what about those who even don’t provide malware scanning. Hopefully they provide SSH access and AI-BOLIT can be used. It’s a free website virus and malware scanner for websites.
Just download it, unzip and upload to your desired host. Copy it into the root directory of your website.
Last run it
php ai-bolit.php --mode=2
or not paranoid/normal mode
php ai-bolit.php

Switch from netctl to NetworkManager on Arch Linux

On my notebook I finally decided to try NetworkManager with its applet

After installing. I had to check status of some networking services and disable them.

systemctl status dhcpcd.service
sudo systemctl stop netctl.service
sudo systemctl stop netctl-ifplugd@eth0.service
sudo systemctl status netctl-ifplugd@eth0.service
sudo systemctl stop netctl-auto@wlan0.service

And then wait for the magic after starting NetworkManager
sudo systemctl start NetworkManager.service

network manager applet

I should have searched for a how to video on YouTube and could save some debugging time with journalctl -f 🙂 After setup I found https://www.youtube.com/watch?v=MAi9DurTRQc

Google Play Music desktop player MPRIS media keys for Linux

I finally nailed it 😀
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.google-play-music-desktop-player /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

dbus-send --print-reply --dest=org.mpris.MediaPlayer2.google-play-music-desktop-player /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next

Also added to my Awesome window manager config
https://github.com/mikaelz/dotfiles/blob/f7e8246a06b9e91b5656419708c9c122f1aa4685/.config/awesome/rc.lua#L372-L375