Skip to content

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

@hdonapati

Description

@hdonapati

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions