129
you are viewing a single comment's thread
view the rest of the comments
[-] warmaster@lemmy.world 6 points 1 year ago

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

[-] nieceandtows@programming.dev 1 points 1 year ago

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

[-] warmaster@lemmy.world 2 points 1 year ago

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 0 points 1 year ago
[-] 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

[-] entropicdrift@lemmy.sdf.org 2 points 1 year ago
[-] warmaster@lemmy.world 1 points 1 year ago

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

[-] entropicdrift@lemmy.sdf.org 2 points 1 year ago

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

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

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

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

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!

this post was submitted on 19 Aug 2023
129 points (100.0% liked)

Selfhosted

40040 readers
604 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 1 year ago
MODERATORS