Feature Request: Refresh/Update Channels List from JSON and Integrate with Plex Server
Objective:
Implement a GET API endpoint to refresh and update the Channels List from an updated channels.json file. Additionally, enhance the functionality to integrate with a Plex Server for refreshing the guide.
Description:
I have a custom Python script that dynamically adds channels to channels.json based on my requests. I would like to see a feature where, upon calling a specific API route, the application reads the updated channels.json file and refreshes the Channels List accordingly. In turn, I can use this API in Python script, to invoke the Refresh, after it updates channels.json.
Advanced Case:
If a Plex Server URL is specified, the plex-dvr-hls application should be able to autonomously connect to the Plex Server and refresh the guide. While this is a more complex request, it would complete the entire update pipeline.
Challenges:
As I am new to the Go programming language, I find it challenging to make the necessary modifications. I am willing to create pull requests if provided with guidance on how to implement these features.
Request:
-
GET API Endpoint:
- Implement a GET endpoint that triggers the application to read the
channels.json file and update the Channels List.
-
Plex Server Integration:
- If a Plex Server URL is provided, extend the application to connect to the Plex Server and refresh the guide.
Assistance Needed:
- Guidance on how to implement the GET API endpoint in Go.
- Instructions or examples on integrating with the Plex Server for guide refresh.
Thank you for considering this feature request. Your assistance and guidance would be greatly appreciated.
Feature Request: Refresh/Update Channels List from JSON and Integrate with Plex Server
Objective:
Implement a GET API endpoint to refresh and update the Channels List from an updated
channels.jsonfile. Additionally, enhance the functionality to integrate with a Plex Server for refreshing the guide.Description:
I have a custom Python script that dynamically adds channels to
channels.jsonbased on my requests. I would like to see a feature where, upon calling a specific API route, the application reads the updatedchannels.jsonfile and refreshes the Channels List accordingly. In turn, I can use this API in Python script, to invoke the Refresh, after it updateschannels.json.Advanced Case:
If a Plex Server URL is specified, the
plex-dvr-hlsapplication should be able to autonomously connect to the Plex Server and refresh the guide. While this is a more complex request, it would complete the entire update pipeline.Challenges:
As I am new to the Go programming language, I find it challenging to make the necessary modifications. I am willing to create pull requests if provided with guidance on how to implement these features.
Request:
GET API Endpoint:
channels.jsonfile and update the Channels List.Plex Server Integration:
Assistance Needed:
Thank you for considering this feature request. Your assistance and guidance would be greatly appreciated.