EccTM

joined 2 years ago
[–] EccTM@lemmy.ml 3 points 1 day ago

I have a similar scriptlet that I use to open YouTube URLs in mpv, using just and wl-clipboard... I just copy the URL and press my G1 key (it has a keybind of just yt-paste attached) which launches the yt-paste snippet below, reads the url from the clipboard, parses it and passes it to mpv.

# Parse the clipboard for YouTube URLs and open them in mpv
yt-paste:
  #!/usr/bin/env bash
  YOUTUBE_URL_REGEX="^https:\/\/(www\.youtube\.com\/watch\?v=|youtu\.be\/)[a-zA-Z0-9_-]{11}"
  YOUTUBE_PLAYLIST_URL_REGEX="^https:\/\/(www\.youtube\.com\/playlist\?list=)[a-zA-Z0-9_-]+"
  YOUTUBE_SHORTS_URL_REGEX="^https:\/\/(www\.youtube\.com\/shorts\/)[a-zA-Z0-9_-]{11}"
  # Youtube URL
  if [[ "$(wl-paste)" =~ $YOUTUBE_URL_REGEX ]]; then
    echo "Opening valid YouTube URL" >&2
    notify-send --app-name="YT-Paste" --icon=mpv --transient "Opening YouTube URL"
    mpv "$(wl-paste)"
  # Youtube Playlist URL
  elif [[ "$(wl-paste)" =~ $YOUTUBE_PLAYLIST_URL_REGEX ]]; then
    echo "Opening valid YouTube Playlist URL" >&2
    notify-send --app-name="YT-Paste" --icon=mpv --transient "Opening YouTube Playlist URL"
    mpv "$(wl-paste)"
  # Youtube Short URL
  elif [[ "$(wl-paste)" =~ $YOUTUBE_SHORTS_URL_REGEX ]]; then
    echo "Opening valid YouTube Shorts URL" >&2
    notify-send --app-name="YT-Paste" --icon=mpv --transient "Opening YouTube Shorts URL"
    mpv "$(wl-paste)"
  # No Match
  else
    echo "Clipboard does not contain a valid YouTube URL" >&2
    notify-send --app-name="YT-Paste" --icon=mpv --transient "Whoops!" "Clipboard does not contain a valid YouTube URL"
    exit 1
  fi
[–] EccTM@lemmy.ml 3 points 1 month ago (2 children)

I just worry if that did happen, that the people puppeteering Trump would be actively using that moment of celebration to push through some other Weekend at Burnies style scenario with Vance.

[–] EccTM@lemmy.ml 1 points 1 month ago

An alternate world where where BOMDAS failed us all.

[–] EccTM@lemmy.ml 4 points 2 months ago

I use Heroic Launcher instead, but mainly for my GOG library. Epic Games also give away gamedev assets on fab.com every two weeks, and I'm claiming those too.

[–] EccTM@lemmy.ml 6 points 2 months ago (2 children)

I've been claiming them, but honestly, I don't see myself ever actually playing them.

[–] EccTM@lemmy.ml 6 points 2 months ago (1 children)

I wish him all the best in the AAA mid-card with Mr Iguana.

[–] EccTM@lemmy.ml 61 points 2 months ago (1 children)

They said this in the linked blog post:

A while ago, we discovered a way to scrape Spotify at scale.

Seems like reason enough to choose to scrape Spotify to me.

[–] EccTM@lemmy.ml 4 points 2 months ago (1 children)

I self-host mastodon for myself, and I think this tends to happen when the platform is updated but hasn't recompiled assets yet.

It being .social, they'll get that sorted pretty quick.

[–] EccTM@lemmy.ml 8 points 2 months ago

Yeah, I'm not fond of how many open-source and homelab projects are starting to proudly wear the fact they're just vibe-coded AI slop poured into a trenchcoat, but at least their declaration of the fact is better than pretending they did it themselves.

[–] EccTM@lemmy.ml 3 points 2 months ago (1 children)

Amass was one of the listed projects under the "New Software" section of the post. It has already changed project name to Assistant-to-the-Music.

[–] EccTM@lemmy.ml 13 points 2 months ago (7 children)

Amass, the Android client for Music Assistant, has rebranded to "Assistant to the Music" since this was written.

A reddit user pointed out the previous Amass logo looked like it spelled "All Ass"

[–] EccTM@lemmy.ml 1 points 3 months ago

I use this custom UI called uosc with MPV and its pretty decent.

Definitely agree that mpv isn't a jellyfin replacement though.

 

Top 10:

  1. Cody Rhodes (WWE)
  2. Swerve Strickland (AEW)
  3. Will Ospreay (NJPW, then AEW from February)
  4. Seth Rollins (WWE)
  5. Tetsuya Naito (NJPW)
  6. Damien Priest (WWE)
  7. MJF (AEW)
  8. Jon Moxley (AEW)
  9. Gunther (WWE)
  10. Mistico (CMLL)

Reminder: The PWI is ranked from July 2023 to July 2024

 

From their eighth album, "Come Clarity" (2006)

 

From the album "What Doesn't Kill Me..." (2009)

 

From their covers album "Skeletons in the Closet" (2009)

 

I'm always around a month+ behind with NJPW content, because they just release too much to keep up!

I've finally reached the Best of Super Jr. 30 (I'm on May 16/Day 4 right now) but I'm wondering if anyone can tell me which matches are worth watching and which are perfectly skippable on my todo list, because I'm aiming to be up to date for Forbidden Door II and I know I've a lot to get through in the next week!

I know I could probably just skip to the Finals Night of BOSJ, but what can I say, I'm a bit of a completionist.

Events I still have to watch:

  • May 17: Best Of The Super Jr. 30 - Day 5
  • May 18: Best Of The Super Jr. 30 - Day 6
  • May 19: Best Of The Super Jr. 30 - Day 7
  • May 21: Best Of The Super Jr. 30 - Day 8
  • May 21: Resurgence
  • May 23: Best Of The Super Jr. 30 - Day 9
  • May 24: Best Of The Super Jr. 30 - Day 10
  • May 26: Best Of The Super Jr. 30 - Day 11
  • May 28: Best Of The Super Jr. 30 - Day 12
  • Jun 04: Dominion
  • Jun 09: All Together Again
  • Jun 10: New Japan Road - Road To Strong
  • Jun 17: New Japan Road - Road To Strong
  • Jun 18: New Japan Road - Road To Strong
  • Jun 25: AEW X NJPW: Forbidden Door II
view more: next ›