this post was submitted on 19 Sep 2023
36 points (90.9% liked)

Programmer Humor

19512 readers
329 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Original title: "Misunderstanding Your Job Description - Delivery" by Viva La Dirt League

Delivery man Byron learns some really important information about his job... that he probably should have learnt 6 years ago...

For those who don't know the show: It's important to understand that Byron is a very, very dedicated employee, who accepts any challenge, and takes great pride in his work. His colleagues sometimes don't remember him after working with him for years.

you are viewing a single comment's thread
view the rest of the comments
[–] BorgDrone@lemmy.one 14 points 1 year ago (3 children)

Original youtube link?

Can someone make a bot that converts these piped links into real youtube links, because they are highly annoying.

[–] provomeister@lemmy.ca 4 points 1 year ago (1 children)

It use the same path logic as YouTube. You only need to replace "piped.video" with "youtube.com".

[–] Esca@lemmy.one 7 points 1 year ago (1 children)

That only works if you're using the website. I'm in sync and just want it to open in the YouTube app.

[–] provomeister@lemmy.ca 1 points 1 year ago* (last edited 1 year ago)

It's still possible but that requires a few steps to works.

If you're using the official YouTube app, you can press the three vertical dots button on the website, you should have an option called "Open app".

If you're using ReVanced/Vanced, and because Google has made poor design choices about handling links, you can go into the app settings to tell it to handle every YouTube URL. This should works when clicking a YouTube link from Sync. However, for links that you changed manually from Piped to YouTube, Chrome doesn't provide a way to open in app. Firefox can do that, but if it's not your default browser, this option requires you to change browser every time you want to see a video inside the app.

The best option is to use "Open Link With..." which provide an easy way to open apps from your browser. It's as simple as sharing the website to "Open Link With..." and select your app eg. YouTube/ReVanced/Vanced/etc. You can also set it as your browser which should do that automatically but I haven't tested it so YMMV.

I hope this was useful!

[–] Spzi@lemm.ee 3 points 1 year ago (1 children)

Oh, sorry! In the last 30 or so posts, I always included both. This time, for some reason, I thought no one would care. Thanks for your feedback, I'll make sure to include both in the future.

[–] amanaftermidnight@lemmy.world 17 points 1 year ago* (last edited 1 year ago)

IMHO video links should always be YouTube first, then third party mirror second, in the body or comments. Here are the reasons:

  1. YouTube is the primary source. Always prioritize the primary source when you're sourcing.
  2. Think of the URL being shared as the primary key to a database record. Lemmy can use it to detect dupes. With YouTube URL there's like 3 forms, discounting timestamps. With piped links the possibility expanded to 3+(number of piped instances on the web). This massively increases the likelihood of accidental reposts.
  3. Give people a choice of whether they want to watch on the original site, or on a piped instance of their own choosing. When you link to a piped instance link you rob people of that choice.
  4. A piped instance can choke or go offline at any time. YouTube is close to 100% uptime.
  5. Userscript wise, it's trivial to map YouTube URLs to a user's piped instance of choice, but it's so much more tedious to detect and map every single piped instance.