Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Refresh/Update Channels List from JSON and Integrate with Plex Server #36

Open
hdonapati opened this issue Jun 21, 2024 · 0 comments

Comments

@hdonapati
Copy link
Contributor

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:

  1. GET API Endpoint:

    • Implement a GET endpoint that triggers the application to read the channels.json file and update the Channels List.
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant