Politics

xrayspx's picture

Your Labor Pays Ice

Music: 

This is how you do it, Journalists. An excellent summation of why I'm going largely Tools Down.

I bet there are renewable energy companies that need a guy to go in and run their printers and file server for half what I make now. I'll be happy to get paid rebuilding from this all someday.

xrayspx's picture

Quick Notes On Our Troubles

Music: 

More Joni Mitchell, Neil Young and DEVO, Not as much Bono

TL;DR: Here's why I don't want to see "legal firearms" at local rallies in my town.

I want to see a movement like '60s Black Empowerment and the Pettus Bridge and Kent State and Stonewall heroes. I do not want to live in armed-skirmish-Northern Ireland. We remember the names of the relatively few who lost their lives in the mid-century US, because there were relatively few of them. And look at all of what their sacrifice actually gained us. Voting rights, school integration rights, abortion rights, women's rights, LGBTQ Rights. Think very hard at the progress made in the last 70 years through persistent non-violent protest movements.

Yes, violent fascists are in power. But they've been in power before. The actions of their thousands of assholes is no match for our millions of Regular People who don't want to see their Regular Guy Suburban neighbors eyes burned out of their head with pepper spray or shot 10 times in the back. That guy they just hauled away still has my skil saw.

We can get it back (Not the saw, that thing's just gone let it go). We don't need to walk around armed to protest for peace.

I am not victim blaming. It's not my opinion that Alex Pretti had any role in provoking his own death. My opinion was that he only would have used that weapon in the defense of others facing violence. ICE pepper sprayed this man in the face, and never did he try to shoot them for that. He remained calm. It's unclear to me when they even noticed he had a gun. It seems it may have been after they'd already made their decision that he wasn't ever going to get back up. I'm not going to watch that man die so I can frame-by-frame figure it out.

This is in response to this video about which I have no context. But it's basically a MAGA prick who rolled in all Maga Prick-like and IRL PWN some Libs and then panicked like anyone would when they've mouthed off and decide they gotta go. My opinion is that Pretti would not have used that opportunity to unload his firearm in the MAGA guy's face. As a public servant he would have attended to the injured student. Because he's a regular, nice person who feels a duty to his fellow people.

It's shocking, but not shocking. This will be played by the MAGA right as "bad apples on /both sides/ guys remember that ANTIFA lady who tried to run down that ICE guy?" The civilian hard-MAGA right buys all that and so they feel like they can retaliate in kind when they try and trigger some libs and things get a little too real. Regardless of what an asshole he is, think about this guy's state. He's all jacked up on adrenaline because he braved marching into the lib crowd and talked some smack. Hurries back to the truck. People are gathering. Decides it's Time to Go.

It's a case study in "there's suddenly a crowd of people around my car yelling at me I better get outta here, oh god did I hit one of them I better GO!".

The difference is the ICE agents unload in your face you when you panic under those conditions. As any Regular Person would panic. The Libs do not do retaliate with firepower, and must not IMHO. We are not the violent ones here. This is what non-violent resistance looks like to me. Everyone can do what they can. When the violent fascist government marches straight into us with riot gear, we remain peaceful. And we remain there. There are Trump Flag waving pricks at the No Kings rallies in my town. They get jeered. But they don't get shot at. And I don't want armed Regular Libs in my town square ready to "protect" us. This lady didn't die did she? Would it have helped anyone if this guy got lit up for that?

There's a lot of power in the moment when a peaceful resistance movement is met with state sanctioned violence, and they're not armed to respond. They're just a bunch of regular people being gunned down. And things start moving really fast politically when regular moms in a mini van full of cheerios are being gunned down by feds armed like a military. From 100 angles. On the nightly news. Like you're watching Idi Amin.

The optics works. Most people are disgusted by the national guard having to protect a little kid walking to school because of her color, whether it's in the 50s or now. Churches were bombed and community aid workers murdered then also. But there wasn't a race war because you can't really have a "war" when only one side chooses to use force.

If I take one in the face while peacefully gathered in my literal town's square my final thought isn't going to be "damn I wish someone was armed so we could shoot back".

I would hope I'm thinking of John Lewis.

This isn't Crips v. Bloods ca 1987. It's LAPD v. All of Regular Guy LA in the '90s.

xrayspx's picture

This is going to be bothersome.

Music: 

Hey AI, craft an Instagram spearphishing campaign against XYZ secretary to the CEO of whatever based on her personal history and website browsing habits. Build a persona that is instantly noticed and followed by Cindi in Finance at Boeing and then direct her to a website or send her an email and it's game over.

xrayspx's picture

Yeah OK I'm A Marxist I Guess?

Music: 

I've never actually read Marx, or any other "political thinker" from a hundred and whenever years ago. I don't super care that much about political theory and the tenets of National Socialism. Most people really don't. Here's the thing though.

You know why Legitimate Mainstream News Sources spend a lot of time every day calling everyone left of David Duke a "Communist" or "Marxist"? Because it makes it seem totally equal to us calling out Fascism or making comparisons to WWII.

xrayspx's picture

Dammit Stupid Tarriff Antennas

Music: 

I need one of these antennas but I don't know exactly which size I should get. So rather than just buy 3 of them a month ago I've been waffling :-) If I could get it to make solid contact without opening the case on this otherwise totally pristine boombox I'd just use the wire I have there now.

It doesn't have to look great it just needs to receive FM from the other room. These are both favorites of mine among the dozen or more radios we have scattered around the house and barn. When I took this picture I hadn't even cleaned them after bringing them both home for five whole bucks.









xrayspx's picture

Legacy Forums Taken Down

This is something no one should care about. I have removed the legacy Wolfeboro Online forums from my site. It all still exists but I've stopped publishing it.

The reason for this is that my most "popular" content is the most vile racist trolling shit from assholes in that forum and I don't want to serve it anymore. It's not content I want associated with me, so I'm not going to keep hosting it anymore.

Carry on.

xrayspx's picture

Have some content

Music: 

It seems like I really don't write very much, but that's kind of a massive misconception. I don't write "much", but I had a bunch of blog entries that were at least 60% written and were missing like, screenshots or links or tags or I need to make new tags for things like XScreensaver and BSDs. Haiku. Shit lots of stuff.

xrayspx's picture

Cinnamon Needs To Get Their Shit Together

Music: 

Eddy Grant - Electric Avenue

I'm a KDE user. I like having my ultimate control over look & feel, even though in almost every sense I'm a "leave it default" guy. But I have a nice MacOS-ey theme, handily and easily-ish customized for the proper Green on Black color scheme which is one of 1.25 acceptable palettes (amber on black):

PICTURE

Note things like the Strawberry media player window and the Dolphin windows, these will be important at probably some future date.

xrayspx's picture

Playlists

Music: 

Dr. Dre - Nuthin' But a G' Thang

I had a request to share some playlist management stuff so I thought I should explain myself. I've got a significant CD collection, and a somewhat-significant collection of TV shows. This is fine on its own, but lots of media is pretty worthless without well curated playlists that you really don't have to think about. So I built Spotify, MTV and Syndicated TV.

* NOTE: If you have a better way to do any of this let me know and I'll fix it. I particularly have the sense, which is not backed up by my testing, that "sort -R" isn't great.

Music's easier so we'll start there. I use Strawberry to manage my music. This was all running under Clementine and aside from some DB schema changes, the scripts are portable between them.

Until relatively recently I was never a big fan of "star" or "heart" ratings, but Clementine/Strawberry will store this metadata in the MP3 itself so I should be able to quickly recover if I lose my music database. In the app I have a few Smart Playlists like 3-Stars, 3 Stars + (This is 3, 4 and 5 star tracks), 4-Stars, 4-Star + and 5 Stars. To use 4 Star as an example, the rules look like this:

Match every search term (AND)
Rating - Greater than - 3.5 Stars
Rathing - Less than - 5 Stars
Ratin - Not Equals - 5 Stars
Length - Greater Than - 8 Seconds

That results in a playlist of 8423 songs with ratings between 4 and 4.99 stars. There was a bug in Clementine which I got fixed where ratings could exceed 5, so I'm a little careful to deal with weirdo cases, but it's pretty simple. I also have a bunch of manually selected playlists, so like an '80s one, '90s, and "Barn Radio". Barn Radio is our catch-all for the ubiquitous music we heard from the late '70s through late '80s. For Natalie that was largely with her dad in the dairy barn, for me it was the music of my 2 hours on the bus every day.

Anyway, I have all these .m3us stored in a folder along with my MP3s called "playlists_base". These are used by a nightly playlist generator that pulls ~200 tracks and makes daily playlists running 8 or 10 hours each. The reason for this is that streaming software such as Airsonic-Advanced kind of chokes on massive playlists. It could be Airsonic itself, it could be populating the mobile client, I don't really know or care, other than to say it works great with list sizes under about 1000 tracks or so, so I keep them shorter.

The x-Star playlists are all built from the database like this 4 Star + playlist below. You can see it do a couple of different Star Rating DB queries, dump out the tracks to $playlist_tmp.m3u, then cat that file and do a random sort to generate the final version. It's pretty easy to adjust the mix based on ratings, so if I wanted to weight high-rated tracks I could do that by adjusting how many tracks of the 200 are returned by each search:

#!/bin/bash

rm /Volumes/Filestore/CDs/playlists/4\ Stars\ +.m3u

i=1

while [ $i -le 100 ]
do

### Switching from Clementine to Strawberry ###
#       file=$(sqlite3 /var/tmp/clementine.db "select filename from songs where rating > "0.9" order by random() limit 1;" | awk -F "file://" '{print $2}')
        file=$(sqlite3 /var/tmp/strawberry.db "select url from songs where rating > "0.9" order by random() limit 1;" | awk -F "file://" '{print $2}')
       
        ### Clementine data encodes special characters and accent marks and stuff so I'm using
        ### Joel Parker Henderson's urldecode.sh to undo that: https://gist.github.com/cdown/1163649
       
        data=$(/home/xrayspx/bin/urldecode.sh "$file")
        if [ -f "$data" ]
        then
                ### Have to escape leading brackets because grep treated it as a range and would allow duplicates ###
                ### Can't do that in "data" because \[ isn't in the filename so they'll fail ###
               
                escaped=$(echo "$data" | sed 's/\[/\\[/g')
                #echo "$escaped"
               
                ### Avoid duplicates
                match=$(grep -i "$escaped" /var/tmp/4-star-tmp.m3u)
                if [ -z "$match" ]
                then
                        echo "$data" >> /var/tmp/4-star-tmp.m3u
                        ((i++))
                fi
        fi
done

i=1

while [ $i -le 100 ]
do
### Switching from Clementine to Strawberry ###
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;file=$(sqlite3&nbsp;/var/tmp/clementine.db&nbsp;"select&nbsp;filename&nbsp;from&nbsp;songs&nbsp;where&nbsp;rating&nbsp;>=&nbsp;"0.8"&nbsp;and&nbsp;rating&nbsp;<&nbsp;"1"&nbsp;order&nbsp;by&nbsp;random()&nbsp;limit&nbsp;1;"&nbsp;|&nbsp;awk&nbsp;-F&nbsp;"file://"&nbsp;'{print&nbsp;$2}')
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;file=$(sqlite3&nbsp;/var/tmp/strawberry.db&nbsp;"select&nbsp;url&nbsp;from&nbsp;songs&nbsp;where&nbsp;rating&nbsp;>=&nbsp;"0.8"&nbsp;and&nbsp;rating&nbsp;<&nbsp;"1"&nbsp;&nbsp;order&nbsp;by&nbsp;random()&nbsp;limit&nbsp;1;"&nbsp;|&nbsp;awk&nbsp;-F&nbsp;"file://"&nbsp;'{print&nbsp;$2}')
       
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;###&nbsp;Clementine&nbsp;data&nbsp;encodes&nbsp;special&nbsp;characters&nbsp;and&nbsp;accent&nbsp;marks&nbsp;and&nbsp;stuff&nbsp;so&nbsp;I'm&nbsp;using
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;###&nbsp;Joel&nbsp;Parker&nbsp;Henderson's&nbsp;urldecode.sh&nbsp;to&nbsp;undo&nbsp;that:&nbsp;https://gist.github.com/cdown/1163649

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;data=$(/home/xrayspx/bin/urldecode.sh&nbsp;"$file")
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;[&nbsp;-f&nbsp;"$data"&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;###&nbsp;Have&nbsp;to&nbsp;escape&nbsp;leading&nbsp;brackets&nbsp;because&nbsp;grep&nbsp;treated&nbsp;it&nbsp;as&nbsp;a&nbsp;range&nbsp;and&nbsp;would&nbsp;allow&nbsp;duplicates&nbsp;###
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;###&nbsp;Can't&nbsp;do&nbsp;that&nbsp;in&nbsp;"data"&nbsp;because&nbsp;\[&nbsp;isn't&nbsp;in&nbsp;the&nbsp;filename&nbsp;so&nbsp;they'll&nbsp;fail&nbsp;###
                       
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;escaped=$(echo&nbsp;"$data"&nbsp;|&nbsp;sed&nbsp;'s/\[/\\[/g')
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#echo&nbsp;"$escaped"
       
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;###&nbsp;Avoid&nbsp;duplicates
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;match=$(grep&nbsp;-i&nbsp;"$escaped"&nbsp;/var/tmp/4-star-tmp.m3u)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;[&nbsp;-z&nbsp;"$match"&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;"$data"&nbsp;>>&nbsp;/var/tmp/4-star-tmp.m3u
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((i++))
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi
done

cat&nbsp;/var/tmp/4-star-tmp.m3u&nbsp;|&nbsp;sort&nbsp;-R&nbsp;>&nbsp;/Volumes/Filestore/CDs/playlists/4\&nbsp;Stars\&nbsp;+.m3u

rm&nbsp;/var/tmp/4-star-tmp.m3u

Those Star Rating lists are called at the beginning of my overall static playlist script, but the Barn playlist and other manually selected ones are built from the "playlists_base" directory. I basically just edit those .m3us in place with Strawberry as we add CDs. They just the files, do a random sort and pull the top 200. This will use any .m3u in .../playlists_base/ and make a daily file from it:

#!/bin/bash

#scp&nbsp;xrayspx@pro:~/.config/Clementine/clementine.db&nbsp;/var/tmp/

###&nbsp;Switching&nbsp;between&nbsp;Clementine&nbsp;and&nbsp;Strawberry&nbsp;###
#cp&nbsp;/Volumes/Filestore/CDs/playlists_base/clementine.db&nbsp;/var/tmp/

cp&nbsp;/Volumes/Filestore/CDs/playlists_base/strawberry.db&nbsp;/var/tmp/

/home/xrayspx/bin/3-star-playlist.sh
/home/xrayspx/bin/4-star-playlist.sh
/home/xrayspx/bin/5-star-playlist.sh
/home/xrayspx/bin/get-the-led-out.sh

ls&nbsp;/Volumes/Filestore/CDs/playlists_base/*.m3u&nbsp;>&nbsp;/Volumes/Filestore/CDs/playlists_base/m3us.txt

while&nbsp;IFS=&nbsp;read&nbsp;-r&nbsp;file
do

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filename=$(echo&nbsp;$file&nbsp;|&nbsp;awk&nbsp;-F&nbsp;"/Volumes/Filestore/CDs/playlists_base/"&nbsp;'{print&nbsp;$2}')

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;Filename:&nbsp;$file

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rm&nbsp;"$file.full"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rm&nbsp;"$file.scratch"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rm&nbsp;"/Volumes/Filestore/CDs/playlists/$filename"

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;###Testing&nbsp;a&nbsp;change&nbsp;since&nbsp;Strawberry&nbsp;creates&nbsp;playlists&nbsp;without&nbsp;EXTINF&nbsp;lines&nbsp;###
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array=`grep&nbsp;EXTINF&nbsp;"$file"&nbsp;|&nbsp;sort&nbsp;|&nbsp;uniq`
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array=`grep&nbsp;-v&nbsp;EXTINF&nbsp;"$file"&nbsp;|&nbsp;sort&nbsp;|&nbsp;uniq`

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf&nbsp;'%s\n'&nbsp;"${array[@]}"&nbsp;|&nbsp;sort&nbsp;-R&nbsp;>&nbsp;"$file.full"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;head&nbsp;-n&nbsp;200&nbsp;"$file.full"&nbsp;>&nbsp;"/Volumes/Filestore/CDs/playlists_base/$filename.scratch"

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;n=0
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;IFS=&nbsp;read&nbsp;-r&nbsp;extinfo
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;do
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;$extinfo
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;term=`echo&nbsp;$extinfo`&nbsp;#&nbsp;|&nbsp;cut&nbsp;-d&nbsp;","&nbsp;-f&nbsp;2-`
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;$term

&nbsp;###Testing&nbsp;a&nbsp;change&nbsp;since&nbsp;Strawberry&nbsp;creates&nbsp;playlists&nbsp;without&nbsp;EXTINF&nbsp;lines&nbsp;###
&nbsp;#&nbsp;grep&nbsp;-A&nbsp;1&nbsp;-m&nbsp;1&nbsp;"$term"&nbsp;"$file"&nbsp;>>&nbsp;"/Volumes/Filestore/CDs/playlists/$filename"

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;grep&nbsp;-m&nbsp;1&nbsp;"$term"&nbsp;"$file"&nbsp;>>&nbsp;"/Volumes/Filestore/CDs/playlists/$filename"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;done&nbsp;<&nbsp;"$file.scratch"

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rm&nbsp;"$file.full"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rm&nbsp;"$file.scratch"

done&nbsp;<&nbsp;/Volumes/Filestore/CDs/playlists_base/m3us.txt

rm&nbsp;/var/tmp/clementine.db
rm&nbsp;/var/tmp/strawberry.db

For TV shows it's a bit more complicated. I've got individual scripts for things like Sitcoms, Saturday Morning Cartoons, Buddy-Cop shows, Nick-at-Nite, etc. Each script uses a text file which just lists the relative path to the directories I want to randomize. I just read in that text file then scan each directory and build an array that again I sort -R and dump in an m3u. You'll see a couple of my conventions here, like the "dvd_extras" folders I use for any extras that I want to keep but don't want to have show up in the mix, as well as a bunch of other crap I grep out.

This script references "./.sitcoms.txt", which looks like this:

./Archer (2009)
./30 Rock
./Absolutely Fabulous
./Alexei Sayle's Stuff
#!&nbsp;/bin/bash

array=$(
while&nbsp;read&nbsp;line
do
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;find&nbsp;"$line"&nbsp;-type&nbsp;f;
done&nbsp;&lt;&nbsp;.sitcoms.txt
)

printf&nbsp;'%s\n'&nbsp;"${array[@]}"&nbsp;|&nbsp;sort&nbsp;-R&nbsp;|&nbsp;grep&nbsp;-v&nbsp;-w&nbsp;"batch"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;dvd_extras&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"./$"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"\.m3u"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;-i&nbsp;ds_store&nbsp;|
&nbsp;grep&nbsp;-v&nbsp;"\.nzb"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"\.nfo"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"\.sub"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"\.sfv"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"\.srt"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;-i&nbsp;"\.ifo"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;-i&nbsp;"\.idx"&nbsp;|
&nbsp;sed&nbsp;'s/^/..\//'&nbsp;>&nbsp;./1\&nbsp;-\&nbsp;Playlists/Sitcoms.m3u

This dumps out to a folder called "1 - Playlists" inside my TV Shows directory, just so it shows up first. There's a folder in there for Blocks as well, in which I create blocks of 10 random episodes of a bunch of shows. This is built to replicate like TBS/TNT/USA in the evening where you just sit and watch a block of whatever is on. In practice I do this wrong and tend to be too picky about these and just watch blocks until I've worked my way through a whole series and wind up tired of it forever.

One thing I do for things like Nick at Nite and overall Sitcom lists and stuff is that I mix in commercials. I don't do this very well though, I just treat my directory of commercials like any other TV show. I'd rather do "pull a TV show, toss in two commercials, repeat", but I'm not there yet I guess.

The last type of lists I build are for music videos. I break this into a few different playlists, one overall catchall that pulls in all videos, a playlist for MTV 120 Minutes, and one for "Arcade / Pizzeria" music. Basically the ubiquitous music you'd hear in a pizza shop or arcade in the '80s or '90s. I do the same commercial thing here as well.

Example:

#!&nbsp;/bin/bash

array=`find&nbsp;../120\&nbsp;Minutes&nbsp;-type&nbsp;f;
find&nbsp;../../../Commercials&nbsp;-type&nbsp;f`

printf&nbsp;'%s\n'&nbsp;"${array[@]}"&nbsp;|&nbsp;sort&nbsp;-R&nbsp;|&nbsp;grep&nbsp;-v&nbsp;dvd_extras&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"./$"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"ERRORS$"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"\.sh"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;"\.m3u"&nbsp;|
&nbsp;grep&nbsp;-v&nbsp;-i&nbsp;ds_store&nbsp;|&nbsp;grep&nbsp;-v&nbsp;".nzb"&nbsp;|&nbsp;grep&nbsp;-v&nbsp;".srt"&nbsp;>&nbsp;120\&nbsp;Minutes.m3u

xrayspx's picture

Photo Backup

Music: 

I'm just sticking this here because it seems Mr. Santorum is reportedly expending some effort to get this photo removed from anywhere it's found on the Internet.


So here's a photo of Rick Santorum with his arm around Russian spy and notorious honey trap Maria Butina. I mean, I'm not saying he fucked her, though it seems many other Republicans did. So if he didn't fuck her, then Santorum either missed out or dodged a bullet depending on how you look at it.




Pages

Subscribe to RSS - Politics