[–] 32 points 3 months ago* (1 child)

On android, urlcheck is a great app to modify URLs before sharing or opening. For this problem, you can use the json editor, and add the following two entries with small a regex I wrote:

  "shorten Youtube": {
    "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube\\.com\/(.*)&.*",
    "replacement": [
      "https:\/\/youtube.com\/$1"
    ],
    "enabled": true
  },
  "shorten Youtu.be": {
    "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtu\\.be\/([^?]*)?.*",
    "replacement": [
      "https:\/\/youtube.com\/watch?v=$1"
    ],
    "enabled": true
  },

A button to shorten the link appears in urkcheck when the pattern matches. You can all auto shorten them by replacing "enabled": true
With
"automatic": true

  • source
  • [–] 3 points 1 year ago* (1 child)

    Check your DHCP Server and disable DHCPv6. The raspi shouldn't get a ipv6 then and you won't have this problem in the future with other devices.

    edit: and restart the pi after disabling DHCPv6

  • source
  • [–] 3 points 1 year ago (2 children)

    Some apps that do some kind of scheduling display the alarm clock icon.

    Do you have any app set to do something at a given time? Maybe an automated backup or some kind of automation?

  • source