LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Old

Generate random mixes of youtube playlists on some command line, to watch it on some browser

Posted 02-16-2023 at 10:10 AM by the dsc (linux-related notes)
Updated 02-16-2023 at 10:51 AM by the dsc

I eventually became somewhat youtube-dependent for media consumption, but I don't quite like the natural flow of youtube's algorithms' "play next" suggestions, which are probably even minimally bearable when I'm logged in.

So it can be interesting to have a shuffle of a series of chosen playlists to be played when we're doing whatever. The arguably best-ish way for doing it is to save YT playlists (the list of URLs, not the video files themselves) on disk, then do some bash/sed...
Member
Posted in Uncategorized
Views 608 Comments 0 the dsc is offline
Old

Another "Bash script for queueing youtube links in mpv", adapted for hovering + shortcut keys on possibly multiple contexts

Posted 05-25-2019 at 02:46 PM by the dsc (linux-related notes)
Updated 10-11-2020 at 05:05 PM by the dsc

This script is partly based on this one, referred on the post title:

https://www.reddit.com/r/commandline..._links_in_mpv/

It was originally an independent development, so it relies in some aspects more on mpv.conf (to define its input pipe/fifo file), so one may want to modify it according to whatever preference regarding that.

The main difference is a gimmick to get the URL from where the cursor is hovering...
Member
Posted in Uncategorized
Views 1800 Comments 0 the dsc is offline
Old

[solved] HTML5 Youtube with no video on Firefox/Iceweasel, in Debian testing/Stretch

Posted 08-10-2015 at 12:04 AM by the dsc (linux-related notes)
Updated 08-10-2015 at 12:05 AM by the dsc

Googling a little bit about, some solutions to the same symptoms pointed to needing to install something like gstreamer-ffmpeg. But not only that's unavailable in the latest Debian testing (Stretch), but it seems it's the other way around: for me it started to work again when I deactivated something related to gstreamer on about:config.

Doing so doesn't seem to have affected anything else (namely flash videos). But I feel that now HTML5 on youtube is somewhat heavier, buy maybe it...
Member
Posted in Uncategorized
Views 2232 Comments 1 the dsc is offline
Old

Possible key mechanism to disable xscreensaver automatically when watching youtube and the like

Posted 05-29-2014 at 08:07 PM by the dsc (linux-related notes)

I haven't even tried it yet, it just looks like a good candidate method to mess with eventually:

Code:
top p $mplayer_pid -bd 0.25 n 3 | grep $mplayer_pid | awk '{print $9}'
I saw it here:
https://forums.gentoo.org/viewtopic-...4-start-0.html

That would give "larger than zero" numbers when mplayer is playing (I think Debian's/current "top" syntax is a little bit different and requires "b" and "d" separated,...
Member
Posted in Uncategorized
Views 1241 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration