Skip Navigation
Jump
YouTube has now begun skipping videos altogether for users with ad blockers
  • Dude, I have YouTube music and I literally am not able to change or upgrade to YouTube premium. They don't let me, it links me to a useless empty page with no options. I don't even know what the price is like. This whole subscription thing is a mess.

    I solved it by using YouTube revanced and have all premium functions and more. On desktop I wrote my own player. It's so much better because their website is a mess. At this point do I really want to pay for features I know I won't use?

    9
  • Jump
    is there a jellyfin api which I could query to get the state if someone is actively watching or not?
  • Yep, the api in jellyfin is quite easy. Someone already sent the link to the docs. The specific endpoint you want is Sessions. You need to get yourself an api_key which you can get in the admin panel. Here is an example code in Python to give you an idea on how to use the api:

    #!/usr/bin/env python3
    
    import requests
    
    response = requests.get("http://your_jellyfin_server:8096/Sessions?api_key=your_api_key")
    json = response.json()
    
    currently_watching = []
    for session in json:
        if "NowPlayingItem" in session:
            currently_watching.append(session["UserName"])
    
    if currently_watching:
        print("Currently watching: " + ", ".join(currently_watching))
    else:
        print("Nobody is watching")
    

    If it is indeed Python that you want to use, you can adjust it to your needs depending on what you want it to output.

    Basically, it is as simple as looping through every current session and checking if they have a NowPlayingItem key which is only present when they have a video open (both playing and paused). It works very reliability, I am using it to automatically change my lights when I watch a long video or movie.

    19
  • Jump
    Would this flow work with Immich & Syncthing to copy images and auto upload and delete?
  • The --delete flag is already in there so it should empty the camera_backup folder, but the robocopy will copy every single photo back into it the next run.

    1
  • Jump
    Would this flow work with Immich & Syncthing to copy images and auto upload and delete?
  • Ah, I am not familiar at all with Windows, so I honestly wouldn't know. Does the Immich CLI even work on Windows?

    But going off by the comments and the parts I understand, I guess it could kinda work, assuming that the arguments are all correct. Although, it will try to upload all photos every time, regardless if Immich already has them or not. Which is not ideal but I believe Immich will filter out duplicated photos. But it's worth checking if it's indeed smart enough to do that.

    For the Immich command it will upload the files to an album called "Camera_Backup". Not sure if that's what you want. If not, then remove the -a flag. If you want to upload it to a specific album, then instead add '-A albumname' (edit: I realize I might be wrong here. If you have multiple folders in Syncthing you're backing up it will work differently)

    1
  • Jump
    Would this flow work with Immich & Syncthing to copy images and auto upload and delete?
  • I understand you. I also don't use the auto upload feature as it's creating more problems for me to solve than what it fixes. I already had Syncthing running anyway so I currently use that combo (except I manually sort through my photos on a semi-weekly basis before I upload it to Immich).

    If you want, I can cook up a little Python script you could stick into Cron to do all the tasks you described. I haven't worked with the Immich CLI yet but I'm sure I can figure it out. Send me a message if you're interested. I will probably use it myself as well.

    1
  • Jump
    Backing-up Single Board Computer
  • I love that idea, and I'd love to implement that. But I honestly can never figure out how people are working with services that enables the user to change settings (for example, to set their location to get their local weather) while still maintaining a read-only system.

    2
  • Jump
    Google's anti-adblocker campaign
  • With ublock origin I haven't encountered popups for weeks. They update pretty much every day to keep on top of the YouTube changes.

    The only time I really got popups was when another extention I had was making ad changing modifications to YouTube which I didn't realize at that time.

    13
  • Jump
    Welcome to the wonderful world of code obfuscation
  • But if you're worried about locale, you can't assume people use the string "Saturday" to describe Saturday either. That solution only works in English.

    15
  • Jump
    Why does the dog convulse this? Does he have a problem?
  • It looks and sounds like hiccups to me? How long does he have it, does it go away? Of all the hiccups I've seen with dogs, over half are with puppies just because of how wild they are.

    3
  • Jump
    Majestic
  • They have two layers. In the summer you want to brush out the insulting undercoat, but leave the topcoat as it protects against sunlight. A shaved husky will overheat in the sun and can easily get skin cancer! It also doesn't grow back properly. The husky in this picture will never have a normal coat again as it has his fur ruined for the rest of his life.

    There isn't any valid medical reason that requires to shave a husky entirely. Only people who don't understand how their coat work do it. It is basically animal abuse and it makes me sad every time I see this picture.

    3
  • Jump
    KDE Connect is the best! Also why isn't the app called KDE Konnekt 🤣
  • Yeah, kde connect can control media players on your desktop and automatically pause them when a call comes in. To make it work with Firefox I do now realise it might be limited to kde desktops only though. But if you have that, all you need is to install the plasma integration extension for Firefox (which does a couple of cool things) and then kde connect can see Firefox's media as well.

    2
  • Jump
    KDE Connect is the best! Also why isn't the app called KDE Konnekt 🤣
  • The first time it paused my YouTube video inside Firefox when a call came in on my phone, it blew my mind. And then when the call ended, it just casually resumed the video. I love it. That, the clipboard syncing and easy sharing of files between devices make it absolutely awesome to have.

    75
  • Jump
    Subscription models for an app that’s not hosting anything is just the dev wanting a constant revenue stream, no matter how they try to word it.
  • Isn't app development a recurring cost? It's not like you just work on it for a bit and just forget about it once you got a version out. Especially if it's using a service (lemmy) that is still in development and is constantly changing.

    86
  • Jump
    Lemmy's trending algorithm could use some work
  • I get that on hot after only 5 posts. Everything after that is a minimum of 1 year old, and only the first 3-5 post are recent. It's kinda funny reading the comments on those posts as there are a lot of lost people commenting on it right now, thinking it's something recent.

    2
  • Jump
    lemmy.ml/c/piracy and lemmy.world/c/piracy do not show the same content. This a problem.
  • I don't know about it. Look even at the usernames. It's @name@instance.addr, it's structured like an email. Even for instances, /c/piracy is not a thing, it is !piracy@lemmy.ml in Lemmy world. Even Mastadon has the same structure of name@instance.

    Every community has their own sets of rules, own set of moderators and culture. If you don't like how one is moderated, go to another one (basically how reddit works too, except there you need to change to name to make an alternate community)

    0