this post was submitted on 19 Aug 2023
127 points (98.5% liked)

Selfhosted

40394 readers
398 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
top 16 comments
sorted by: hot top controversial new old
[–] warmaster@lemmy.world 6 points 1 year ago (1 children)

It would be freaking cool as a content provider for Jellyfin.

[–] nieceandtows@programming.dev 1 points 1 year ago (2 children)

If somebody could provide me a write up of how to do that I’ll be very grateful

[–] entropicdrift@lemmy.sdf.org 3 points 1 year ago (1 children)
[–] warmaster@lemmy.world 2 points 1 year ago (1 children)

Why do you say that? There are several plugins able to play external media.

[–] entropicdrift@lemmy.sdf.org 2 points 1 year ago (1 children)

AFAIK there isn't a plugin for parsing that website, sending searches to it, and retrieving the appropriate stream.

You could write some code that could do that or you could use that site to expose the underlying m3u8 playlist for an individual file, drop that link in a text file, then name it as a .strm file and position the file such that JF picks it up as a video, but otherwise this website's formatting is rather bespoke and I'm not aware of any JF plugins that allow for searching and dynamically adding content from any other on-demand streaming sites.

Which existing plugins were you thinking of? I'm a coder so maybe I can point out some of the differences/technical issues for you.

[–] warmaster@lemmy.world 1 points 1 year ago (1 children)

I've found these two on the official Jellyfin docs:

https://github.com/jellyfin/jellyfin-plugin-nextpvr

https://github.com/TheJF/antennas

I'm sure there are more out there that are not documented by Jellyfin themselves.

[–] entropicdrift@lemmy.sdf.org 1 points 1 year ago (1 children)

Right, OK.

Those plugins parse live streams from specific sources. This website searches other websites for on-demand videos and returns links to them wrapped in an HTML5 video player for your convenience.

Jellyfin can handle a live stream (as in, a set of TV channels that it can tune in to) via one of these plugins, but that's an altogether different process than hooking it up to this website.

I'm not saying it can't be done, to be clear. It can. It's just this would need a new plugin for Jellyfin and it'd be substantially more work than those plugins for the reasons I've outlined.

[–] warmaster@lemmy.world 1 points 1 year ago (1 children)

Got it. What do you think about the ones on the bottom of this comment?:

https://lemmy.world/comment/2767991

[–] entropicdrift@lemmy.sdf.org 1 points 1 year ago (1 children)

Well Lazyman is archived so that's dead, but it's also a livestream usecase for live sports.

That last one is more interesting since it's using youtube-dl to create streaming links out of sources. Looks like it hasn't been updated since Jellyfin 10.7.7 and JF is currently on 10.8.10, so it'd need some work for sure, but it's definitely closer to what you'd need to do to hook this site up with JF.

[–] warmaster@lemmy.world 1 points 1 year ago

Great, thanks!

[–] warmaster@lemmy.world 2 points 1 year ago (1 children)

I'm not a developer, but looking at the docs, shows several plugins able to stream from external sources.

Looks like Jellyfin refers to these plugins as "channels", if the Jellyfin API isn't enough, you can create custom endpoints.

Links:

https://jellyfin.org/docs/general/server/plugins/

https://api.jellyfin.org/#tag/Plugins

https://github.com/jellyfin/jellyfin-plugin-template

[–] nieceandtows@programming.dev 1 points 1 year ago (1 children)
[–] warmaster@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

I've found these two links in their docs, they might be of use:

NextPVR

Provides access to Live TV, Program Guide, and Recordings from

https://github.com/jellyfin/jellyfin-plugin-nextpvr

Antennas​

Takes your tuners in TVHeadEnd and emulates a HDHomeRun, in order to connect to Jellyfin's Live TV and DVR features. It requires additional setup and configuration, but is a useful alternative to the TVHeadEnd plugin.

https://github.com/TheJF/antennas

The following links are 3rd party plugin repos, which were obtained from a reddit post, and I haven't visited them yet. Expect questionable code at best:

LazyMan: Play NHL & MLB games through Jellyfin

https://raw.githubusercontent.com/crobibero/Jellyfin.Channels.LazyMan/master/manifest.json

N0tflix

YoutubeDL: Youtube-dl API for recieving streamable links ComedyCentral: WIP plugin to provide Comedy Central content Crunchyroll: WIP plugin to provide Crunchyroll content NRK: Plugin to provide content from NRK web tv Pornhub: Plugin to provide content from Pornhub Redtube: Plugin to provide content from Redtube

https://github.com/n0tOdd/n0tFlix

[–] Krafting@lemmy.world 5 points 1 year ago

That's quite awesome.

Would love to see other providers for other languages tho

[–] ninekeysdown@lemmy.world 3 points 1 year ago

Neat idea, would be interesting if it used your own content from DLNA, Jellyfin, etc. The code looks simple enough that it should be possible to add a plug-in/provider for that stuff.

I think that it’s not going to have a long lifespan though. Being a simple and easy front end for various streaming sites might paint a target on it. Rightly or Wrongly.

I can see it having a longer life if it were to integrate some other technologies aside from the above like IPFS, BitTorrent, etc. The libraries to do that are already readily accessible eg LibP2P. Though that again might paint a bigger target.

Either way it’s definitely really neat and I’m sure a fun project to fork and explore if someone is feeling up to that kind of work.

[–] somebodyknows@programming.dev 2 points 1 year ago

Are providers English only?