YouTube live video download

Finally nailed the CLI version of YouTube live stream download

yt-dlp --cookies-from-browser brave+gnomekeyring --live-from-start https://www.youtube.com/live/SyINaW

Had to use cookies from browser due Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication.

Due Extracted 2250 cookies from brave (971 could not be decrypted) I had to add gnomekeyring (source)

Nice because it’s downloading during the live stream without interupting and relaunching yt-dlp.

YouTube channel block for kids

Finally today I spotted the option Block channel for kids to block desired YouTube channel for kids in the YouTube phone app

Block channel for kids option

Just navigate to channel which you want to block and hit the three dots in the upper right corner. Maybe it’s a feature of YouTube premium, I didn’t verify.

UPDATE: Ach, but there’s still no PIN security for parent profile https://support.google.com/youtubekids/thread/214275873/how-to-put-a-password-or-pin-on-a-parent-youtube-profile?hl=en

Test file paths from file oneliner

Linux list paths from file

List line from files one by one

while IFS= read -r line; do echo "$line"; done < /tmp/paths.csv

Test if file path from file exists

while IFS= read -r line; do test -e "$line" && echo "$line" exists || echo "$line" not found; done < /tmp/paths.csv | grep 'not found'

List media paths from Plex Media Server

Via the Plex Web App > Settings > Server > Scheduled Tasks check your database storage path

Plex server Scheduled tasks

To check Sqlite database schema use following command

sqlite3 /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db '.schema'

For selecting I copied the DB file to avoid damaging the original one.

Due to the fact that I don’t know the structure of data I used a DB GUI app to look around and find media paths.

And finally what I wanted, paths to media files.

SELECT file
FROM media_parts
WHERE file LIKE '%usb-5tb-old%'
LIMIT 10;

Critical services status messages in Thunderbird via RSS

Due to the fact that I check emails more often than RSS feeds I added some services (e.g. https://status.proton.me/history.rss, https://status.plex.tv/history.rss, https://status.brave.com/feed) status messages into Thunderbird via RSS. Some also have email notify, but this way they’re separated from my inbox.

Switched from Feedly to Newsboat for RSS reading

My Feedly subscription payment was near and just spotted it became more expensive as it was.

History subscription prices
Current pricing of feedly.com

I know everything is becoming more expensive and they provide service, but payment above 100 for just reading RSS feeds and some filtering options which is also limited is too much for my taste.

With newsboat I have faster app and almost unlimited filtration options. Only limited by hardware 🙂 It also has tagging and configurable bookmarking
Best part it’s free and open source. Feed list in file urls and configuration in config which is I think best control and backup option.

For video intro check out https://www.youtube.com/watch?v=CJXdQTGm1jg and https://www.youtube.com/watch?v=XbdW9YZpKwk

Linux boot hangs before login

After standard Arch Linux update procedure and later restart no login prompt appeared, the boot sequence hanged.

Had to use the live USB and tried downgrade of kernel, which helped, but next day new kernel and nvidia driver appeared during update.

I tried also ibt=off kernel param, but didn’t help.

After some research of commit diffs I found that in nvidia driver modeset was set as enabled by default

So I ended up with setting nvidia-drm.modeset=0 kernel param and the system finally booted and login prompt appeared.

Design a site like this with WordPress.com
Get started