Jellyfin Forum
Plugin creation assistance - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Plugin Development (https://forum.jellyfin.org/f-plugin-development)
+--- Thread: Plugin creation assistance (/t-plugin-creation-assistance)



Plugin creation assistance - Taco - 2024-05-08

I had a thought to make a dynamically updating url for a new requests tab that I have inserted on a custom build of the jellyfin-web interface. The iframe that is in the newly created tab will load fine and pull the url that is in the newly created plugin via an admin account. My issue at the moment is that all non-admin users can not view the page because, I assume issue with how I am pulling the configuration. But I don't really understand how to get it to pull another way. I had the assistance of chatgpt to get this far. Any assistance on how to get this to process correctly would be great. I would like to note this part of things is not my expertise in the slightist. So I relied on multiple AI's(to check each others work) to form this plugin using the jellyfin plugin template as a base. 

The file labeled requestscontroller.txt is where I believe the issue lays. Then the requests.txt is the pointer to the new requests tab.


--Update: 5/8/2024
I found the reason an admin could access we because I was specifing the plugin configuartion via the plugins api which is admin only. The issue appears to be that the /Plugins/Requests/PublicGetRequestsUrl call that I attempted to make is not working. Current update:
I feel like I am close.