this post was submitted on 01 Oct 2023
522 points (98.5% liked)

Jellyfin: The Free Software Media System

5785 readers
1 users here now

Current stable release: 10.10.3

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 64 points 1 year ago (1 children)

Interesting read about the Development Bystander Problem. I was indeed part of it. Maybe it is time to start contributing :)

[–] [email protected] 71 points 1 year ago (5 children)

He forgot some of the biggest reasons.

  • A larger codebase is generally just harder to work on. A more established product with more users tends to be larger.
  • More popular projects with many users tend to have developers that don't welcome new contributions. The investment required for a new developer to make an initial contribution is huge. Things like setting up the development environment and the stack of technologies and understanding the basic architecture are significant barriers to entry. Existing developers tend to not care about reducing that burden. After all, everyone who's *actually *contributing to the project is already over that barrier, right?

Developers, open source or otherwise, should generally be excited about people "taking their jobs". Because you're going to have churn of developers over time, and if you're not bringing in fresh blood, then your project is eventually going to die. Do you really want to maintain every project you work on for the rest of your life? Encourage new blood. Do what you can to accept new ideas and directions unless you have very good and explicit reasons not to. If someone has a sightly different vision and is willing to hop that initial barrier and is willing to put in more work than you, don't undervalue that. Be willing to compromise a little to bring in a new developer. Sometimes you have to say no, but consider that you're saying no to a person who wants to volunteer their time to do work for you.

On the other hand, there are tons of people who say they're eager to work on your project. You invest a little time into them, they provide nothing, and then vanish. It's easy to get jaded when you keep running into people who are more words than action. Be very careful what you promise you'll do, and if someone invests their time to help you, try to actually do what you said you would.

[–] [email protected] 45 points 1 year ago* (last edited 1 year ago) (1 children)

In some cases, PRs that have no merge conflicts can sit and languish for months on end. Example: https://github.com/jellyfin/jellyfin/pull/8914. I'm not suggesting cavalierly accepting all PRs, but the devs could do a better job of communicating with prospective contributors. My desire to contribute to Jellyfin was somewhat dampened by that initial experience.

Edit: To be more constructive, I'd recommend not just a call to action (the blog post), but explicitly reaching out to devs who submitted their first PRs within the past year and finding out what their experiences were. Discovering a leaky onboarding process that you lose potential devs through could be instrumental!

[–] [email protected] 13 points 1 year ago

I know what you mean, my pull request also sat around for almost 6 months before it got merged.

Having some feedback whether something is wrong with the PR or just that nobody had time to look at it yet would go a long way.

I am once again waiting on a PR to get merged before I can continue working on mine but it seems like nobody is sharing their thoughts on PRs anymore because there is radio silence and open questions go unanswered. I'm not an expert on Jellyfin architecture so without a maintainer stepping in and telling me how it should be done I can't work on Jellyfin.

Probably a chicken an egg problem though. Without more maintainers responses are sparse and with sparse responses, less maintainers.

[–] [email protected] 25 points 1 year ago (1 children)

A year or so ago I actually tried to get into Jellyfin and it wasn't really that pleasant experience.

A bit of background: I am mainly a Java and JavaScript developer and have used Plex for over a decade now. I even developed a Plugin for Plex with Python. Naturally, Jellyfin came across my radar so I checked it out but they didn't have a Metadata Provider for the Metadata Source that I needed for some of my Libraries. There were alternatives but this would require to completely change my libraries which I wasn't interested in.

So, I set out to just do it myself. I did know some C# but was by far not as up-to-date as you could be but I didn't really care because I wanted to see how that project went and if I could get into it I could learn more about C# while doing it.

However, while I could get the Plugin compiled and loaded into a Jellyfin instance and even get some metadata downloaded, I quickly hit brick walls. From what I could tell, there weren't even method comments for, you know, methods you need to implement so that you can write a metadata provider.

Not being able to resolve this through trial and error or looking at other currently active Providers (who seem to all do things differently, so no consistency) I asked on the Jellyfin Subreddit for help and got told to use the Matrix Chat instead. This was already annoying because that isn't how you amass knowledge that someone can fall back to and find when they have questions because Matrix is a walled garden. Regardless I asked there as well and didn't get any help or the responses didn't really help me.

So, I shelved the project.

What I want to say here is that FOSS Projects like Jellyfin should prioritize their documentation. The easier it is for people to understand how things work and "get into" the project the more people would be willing to actively contribute. I know that what I described above could just be my inexperience or lack of understanding and knowledge of C# and everything around it but I would imagine that many developers are in the same situation as me and would like to contribute but can't get over those hurdles. This is even worse for new developers who might want to stretch their legs in the Open Source community but are still learning.

Reading this with "we need developers" and "you can contribute to our documentation" looks a bit contradictory to me because shouldn't the "experienced" contributor not create the documentation?

[–] [email protected] 8 points 1 year ago (1 children)

Documentation tends to be "you take what you can get" on both sides. Are you going to turn down a PR because there aren't supporting docs? That's a good way to drive off developers too.

Generally someone who is annoyed with having to figure it out is the one who writes the documentation.

[–] [email protected] 7 points 1 year ago

I personally completely require documentation. Adding a feature may be beneficial in the short term, but not documenting it can create increasing maintenance burden in the long term. Every PR merged without docs slowly kills a project, even if it feels like it's better to merge initially. When this is repeated too many times, the project becomes increasingly difficult to maintain. Merging only PRs with docs is how you prevent a project from dying. Even the original author of the code will eventually forget why they chose to do something a certain way or what edge case they were covering at the time

[–] [email protected] 22 points 1 year ago (2 children)

Spot on, I've seen plenty of great looking projects that I could contribute to but have next to no onboarding or set-up process. I'm keen on helping out but I'm not going to spend days setting things up locally because the primary project managers CBF to simplify the process.

Minimizing the mental overhead to get started should be something these larger projects strive for, especially if they're struggling to get devs.

Even something like having a docker container for web apps is massively helpful, being able to up a container and everything just works means more tech adjacent contributors can join the project (designers, UI/UX experts, testers etc)

[–] [email protected] 6 points 1 year ago

I absolutely loved how easy it was to setup the HomeAssistant dev environment.

But on the other hand, I realized shortly thereafter that the changes k wanted to make had already been implemented by someone else, but were having a hard time getting them merged in… over the past 3 years.

[–] [email protected] 4 points 1 year ago

I forgot to mention Mumble as an example. It was many years ago, so hopefully things have improved by now, but the dependencies and setup for that were insane. I felt like I'd made a mess of my primary OS by the time I was done.

[–] [email protected] 6 points 1 year ago (1 children)

More popular projects with many users tend to have developers that don’t welcome new contributions. The investment required for a new developer to make an initial contribution is huge. Things like setting up the development environment and the stack of technologies and understanding the basic architecture are significant barriers to entry. Existing developers tend to not care about reducing that burden. After all, everyone who’s *actually *contributing to the project is already over that barrier, right?

I've tried to set up the Jellyfin server project locally several times, but couldn't get dependency resolution working on my machine. I assume this is because I use Linux Mint rather than Windows, but I wasted multiple entire weekends trying to get it working to no avail. I'm a senior dev with professional experience in Java, Javascript, Python and Scala, so it's not like I've never done this sort of thing before. This particular setup just happened to turn into a nightmare.

load more comments (1 replies)
[–] [email protected] 5 points 1 year ago

Both of those points were actually covered in an earlier blogpost that was linked in this one. It talked about how the new contributors often have an incentive to make a quick easy fix to solve their problem while the established developers have a bunch of rules, often unspoken, that they use to try to keep the code base maintainable. If you just take in any old code, you run the risk of making the code harder to work with or alienating your developers who spend time cleaning up the code. If you dump a bunch of rules on the new contributor, you run the risk of making them feel unappreciated with your "nitpicky" feedback.

[–] d13 47 points 1 year ago

Honestly, I've been thinking about contributing for a while. This is the push I needed. I'll check it out!

[–] [email protected] 21 points 1 year ago

Thanks for sharing, will check it out to see if there's anything I can help with.

[–] [email protected] 17 points 1 year ago (4 children)

Come join us on Roku. We have fancy hats!!!

[–] [email protected] 39 points 1 year ago (2 children)

I'm not approving any hat expenses

[–] [email protected] 30 points 1 year ago (1 children)

What if we put a cap on the expenses?

[–] [email protected] 8 points 1 year ago (1 children)

Got to keep a lid on the budget.

[–] [email protected] 4 points 1 year ago

You're just brimming with ideas Johnson, you're hired!

[–] [email protected] 6 points 1 year ago (2 children)

How about a nice selection of American cheeses?

[–] [email protected] 2 points 1 year ago (2 children)

I wanted to join, but I think I'm good, thanks.

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

The streaming device that is the easiest* to start programming on!

  • I have no other streaming devices, so I'm unable to make any actual comparisons to back up my statement.
load more comments (2 replies)
[–] [email protected] 15 points 1 year ago (1 children)

If the jellyfin android app didn't encode the files and just served them like the web UI that would be utterly amazing.

I can play the file via VLC with hardware decoding, jellyfin should be able to do the same.

[–] [email protected] 39 points 1 year ago (4 children)

The android application has multiple "players" available to it.

  1. Web player
  2. Integrated player
  3. External player

Sounds like you want to be using the integrated player so that you can direct play on your device?

[–] [email protected] 14 points 1 year ago (2 children)

. . . Omg I hope that's not it... I'll feel like a fool if that's the case!

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

You can start by opening the bag where you store the dunce hat. 🤣

[–] [email protected] 2 points 1 year ago (2 children)

Turns out it's ASS. It forces transcoding.

[–] [email protected] 2 points 1 year ago

Ugh yeah, I ran into that previously. In fact a post on that is still on the jellyfin subreddit from some time ago. It was real annoying to figure out.

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago

Time to contribute to the docs

[–] [email protected] 10 points 1 year ago

Who invited this guy

load more comments (2 replies)
[–] [email protected] 14 points 1 year ago

I hope they find the help they need, it's a very good app.

[–] [email protected] 10 points 1 year ago (1 children)

Discord invite is expired, but it could be a mobile issue because apparently invites being invalid only when opening on mobile is a thing I've experienced...

[–] [email protected] 5 points 1 year ago

I just double checked it and it's set to never expire.

[–] [email protected] 9 points 1 year ago* (last edited 1 year ago) (1 children)

They definitely are in need of developers, there's an open ticket for memory leak issues and I just checked last week with the latest Master branch and it still exists at least on my system. Even if you just start the server and then never interact with it in any way whatsoever never load the interface play anything the memory just slowly grows and grows and grows until the system runs out of memory.

It also still has a lot of pretty basic media matching errors where it will pick the wrong show for files for some reason or just fail to find the show at all. I've seen lots of cases where the only way to match an anime is to use the Japanese name in the search even though that brings up the English name metadata and other Oddities like that. All of my stuff is organized and named by sonar using a very clean format that should be very friendly to finding metadata

i actually know a number of developers that are interested in jelly fin as a concept but when I ask if they are going to contribute they just go "eww no it's c# and .net i ain't touching that". Perhaps the developers should consider a rust rewrite lol, get the rust hype devs.

[–] [email protected] 5 points 1 year ago (6 children)

I'm been wanting to ask for a while, and now seems like a good time.

Why do some programmers hate C# so much? What are the reasons for "eww no it's c# and .net i ain't touching that?"

[–] kogasa 13 points 1 year ago (1 children)

Microsoft.

I'm a .NET dev, still hate Microsoft, but the language and ecosystem are fantastic. At least since .NET Core when it was mostly decoupled from Windows.

[–] mild_deviation 3 points 1 year ago

The misconceptions that persist to this day despite over half a decade of .NET Core are mind-boggling. MS has a steep hill to climb.

[–] [email protected] 3 points 1 year ago

The language itself is great, but Microsoft the docs are sometimes horrible or outdated.

And most things feel like magic that you can't or don't need to understand. E.g. if you set up a modern asp.net project it's some huge boilerplate with configuration files and what not...

Also standards often change... E.g. try figuring out what the best GUI framework is to create a full-fledged Desktop app in C#. There's like a few different ones, and most are for basic mobile-style apps or not really mature. The best I found so far is WPF, which is kinda old though and everyone thinks it's dead.

load more comments (4 replies)
[–] [email protected] 6 points 1 year ago

Funny how it takes a call for devs for everyone to voice their concerns and suggestions

[–] [email protected] 2 points 1 year ago (1 children)

Just a question, as I couldn't find anything. What is this for? https://opencollective.com/jellyfin/expenses/163979

It says Patreon, but not really anything more than that

[–] [email protected] 2 points 1 year ago (1 children)

I asked Josh about this. His answer was:

It's for the OMDB API key. The payment is just through Patreon.

load more comments (1 replies)
load more comments
view more: next ›