Cloud9Developer / Jellyfin-Newsletter-Plugin

GNU General Public License v3.0
66 stars 7 forks source link

[Feature Request] IMDB link / more info links as a tag #108

Open TheDMV2 opened 1 month ago

TheDMV2 commented 1 month ago

I would love a tag that would return the URL provided by the "More Info:" section:

Screenshot

so, by adding {imdb} it drops in https://www.imdb.com/title/tt000000 or {moreinfo} and it grabs the first URL in the list, presuming it is a list, that way if there isn't an IMDB entry, but there is something else, it will grab the first suitable one.

For scraping, that's grabbing the href content from the first tag nested in the .itemExternalLinks class Div tag.

Screenshot
Cloud9Developer commented 4 weeks ago

I went through most of what jellyfin stores in their BaseItem class (where most fields that the newsletter has are pulled from) a few weeks ago, but I didn't see anything related to metadata links like this. I'll have to look more into it to see if it's something I can pull from jellyfin's data