Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

danielquinn, to piracy in (IPTV) 🌍📺This frequently-updated github list gives you TV stations from around the world [x-post]
@danielquinn@lemmy.ca avatar
danielquinn, to linux in Ash Vs Bash
@danielquinn@lemmy.ca avatar

Huh. So the link is unnecessary and Ash supports [[ out of the box? Good to know, thanks!

danielquinn, to linux in Ash Vs Bash
@danielquinn@lemmy.ca avatar

Yup, that looks like exactly what was done in Alpine:


<span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[
</span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox
</span>

So while the Ash itself doesn’t support the [[ extension, this work-around produces the same effect. Nifty.

danielquinn, to linux in Ash Vs Bash
@danielquinn@lemmy.ca avatar

As far as I’ve seen, they don’t provide any advantage over a string with spaces, which doesn’t work well either when you’ve got values with spaces:


<span style="color:#323232;">not_what_you_think=( "a b" "c" "d" )
</span><span style="color:#323232;">for sneaky in ${not_what_you_think[@]}; do
</span><span style="color:#323232;">  echo "This is sneaky: ${sneaky}"
</span><span style="color:#323232;">done
</span>

<span style="color:#323232;">This is sneaky: a
</span><span style="color:#323232;">This is sneaky: b
</span><span style="color:#323232;">This is sneaky: c
</span><span style="color:#323232;">This is sneaky: d
</span>
danielquinn, to piracy in I made a thing to make playing YouTube videos locally from your browser easier
@danielquinn@lemmy.ca avatar

Thanks!

danielquinn, to piracy in I made a thing to make playing YouTube videos locally from your browser easier
@danielquinn@lemmy.ca avatar

That’s actually very helpful, thanks. I’ve been working on another project to open certain URLs in specific browsers/profiles, and wanted to be sure that I wasn’t missing a more obvious design pattern. The project is here if you’re curious.

danielquinn, to piracy in I made a thing to make playing YouTube videos locally from your browser easier
@danielquinn@lemmy.ca avatar

Honestly, because I didn’t know (a) that ff2mpv even existed, or that (b) mpv could play YouTube URLs directly. So thanks! I learnt two things today :-)

It was still a fun project though 'cause I learnt how to write a Firefox extension and get the browser to launch programs on-click, so not a waste of time!

danielquinn, to piracy in I made a thing to make playing YouTube videos locally from your browser easier
@danielquinn@lemmy.ca avatar

I don’t think I have it in me to put together a video, but I can describe it if you like.

Once you install the extension and follow the setup instructions, you just go to a YouTube page. The extension adds an ugly button to the top-left of the page that says “bypass”. When you click it, Firefox launches yt-dlp [the URL you’re at] -o - | mpv - which basically just downloads the video and streams the output through the mpv video player. So now you’re watching just the video, with no web page necessary.

danielquinn, to piracy in I made a thing to make playing YouTube videos locally from your browser easier
@danielquinn@lemmy.ca avatar

Is there another way to do this? This hack was the only way I could figure out how to get Firefox to invoke an external binary, but if there’s a more conventional way to do it, I’d like to know 'cause I have another more complicated project in need of a pattern much like this one.

danielquinn, to piracy in YouTube's anti-adblock rollout has finally arrived for Firefox users
@danielquinn@lemmy.ca avatar

I was thinking of experimenting with a Firefox extension that upon hitting a YouTube page, it just launches yt-dlp [url] &amp;&amp; mpv [downloaded file]. Is there any interest here in that sort of thing?

danielquinn, to piracy in Launch of new “ce” (community edition) c/Piracy Wiki and Megathread
@danielquinn@lemmy.ca avatar

Really important question: where did you get those adorable little pirate headers???

danielquinn, to piracy in YouTube's anti-adblock rollout has finally arrived for Firefox users
@danielquinn@lemmy.ca avatar

Very likely. If I write this thing, I’ll provide both options.

danielquinn, to piracy in Is it wrong to pirate movies I've purchased digitally and load onto my Plex server?
@danielquinn@lemmy.ca avatar

There’s a couple angles you can take on this. My favourite is from the dotCommunist Manifesto:

Society confronts the simple fact that when everyone can possess every intellectual work of beauty and utility—reaping all the human value of every increase of knowledge—at the same cost that any one person can possess them, it is no longer moral to exclude.

Essentially, this argues that the unethical position is the one that creates the false scarcity.

Another less extreme position would be that many countries allow for exemptions for format shifting: if you buy a CD with some music, you’re legally permitted to rip it so long as you don’t distribute copies. One could argue that someone in your position is operating within the spirit of these laws… provided that you haven’t torrented the videos since that necessarily includes some partial distribution.

Finally, the least generous interpretation would point out that you didn’t buy the videos in the first place, but rather a licence to let Vudu stream them to you. Given that you don’t own anything, you’re not morally entitled to own it in a different format. This is why many people have rejected the streaming model.

As someone in camp #1, I think you’re a-ok ethically, but I thought you might want a broader perspective.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #