0
31
Esca

@lemmy.one

Esca 87 points 3 years ago

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.

path: 0 2016926, hotness: undefined, score: 87, children: 3
Esca 77 points 3 years ago

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.

path: 0 2275351, hotness: undefined, score: 77, children: 14
Esca 61 points 3 years ago path: 0 138826, hotness: undefined, score: 61, children: 13
Esca 19 points 2 years ago

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.

path: 0 10309571, hotness: undefined, score: 19, children: 3
Esca 18 points 3 years ago

Isn't this the same effect as just running 'sudo !!' ?

path: 0 8774119 8774548, hotness: undefined, score: 18, children: 6
Esca 12 points 3 years ago

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.

path: 0 5670061, hotness: undefined, score: 12, children: 1
Esca 10 points 3 years ago

I feel it's been broken for a few days now. I used to see some recent threads (<12h old) in there, now it's all 2 and 3 day old stuff. I barely get any fresh content in there.

path: 0 510304 520655, hotness: undefined, score: 10, children: 1
Esca 8 points 2 years ago

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?

path: 0 10308826 10309983, hotness: undefined, score: 8, children: 0
Esca 8 points 3 years ago

Yeah but instead of a function you just make it an alias.

path: 0 8774119 8774548 8774921 8775420, hotness: undefined, score: 8, children: 1
Esca 8 points 3 years ago

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)

path: 0 606567 608035 608313, hotness: undefined, score: 8, children: 2
Esca 7 points 3 years ago

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

path: 0 3587110 3587441 3612008, hotness: undefined, score: 7, children: 1
Esca 6 points 2 years ago

Any good photographer will shoot in raw. And in order to get a picture it has to be processed on a computer, there is no way around it. I wonder how that's supposed to work with these watermarks.

path: 0 10163611 10164154 10165030 10165510 10165692, hotness: undefined, score: 6, children: 0
Esca 6 points 2 years ago

Both this and Lurch's comment. It gives an answer without actually answering it, it even hallucinates broken links.

path: 0 10254906 10255601 10255837, hotness: undefined, score: 6, children: 2
Esca 5 points 3 years ago

Yes, I did read that just now. Earlier on the blackout tracker I did notice it was back online and I was wondering why. I wouldn't consider adviceanimals to be a particular important subreddit (compared to the much bigger ones that are offline), so I wonder why? I kinda wonder if something else was going on there for the admins to do that.

edit: /r/tumblr is private

path: 0 138826 140526 141444, hotness: undefined, score: 5, children: 0
Esca 3 points 3 years ago

Most likely if you don't visit for a week, you will get logged out. But if you do visit before it expericed, it just resets the cookie for another week.

I'm not on kbin so I cannot check, but that's my guess.

path: 0 1017877, hotness: undefined, score: 3, children: 0
Esca 3 points 3 years ago

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.

path: 0 5156778 5162590 5175745, hotness: undefined, score: 3, children: 0
Esca 3 points 3 years ago

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.

path: 0 5254367, hotness: undefined, score: 3, children: 0
Esca 2 points 3 years ago

Same! So much better this way. I wrote my own program so it just automatically downloads new videos from channels I've told it I'm interested in, and then it puts it in the appropriate Jellyfin folder. Way more reliable this way, I don't miss videos. And I don't care if my internet shits the bed, it can take however long it wants to take to download and once it's there I can even watch it even with no internet. I even implemented sponsorblock in it so Jellyfin automatically skips sponsored segments.

path: 0 127591 129737, hotness: undefined, score: 2, children: 0
Esca 2 points 3 years ago

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.

path: 0 2275351 2322306 2325606, hotness: undefined, score: 2, children: 0
Esca 2 points 3 years ago

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.

path: 0 1046491 1048748, hotness: undefined, score: 2, children: 0

thanks for using Leebra!

go to feed...