Skip to content

Conversation

@alpgul
Copy link
Contributor

@alpgul alpgul commented Apr 15, 2025

Description

This pull request introduces an HTTP Server feature to the IPTV Simple PVR Client. The HTTP Server runs on a specified port and provides a web interface for managing channels and instances. Additionally, the cpp-httplib library has been integrated, along with necessary dependency updates.

Issue

Closes #969

Changes Made

  • Added a new HTTP Server (HttpServer) class.
  • Implemented the IHttpView interface for modular views and dynamic view registration.
  • Introduced the ChannelsView class to handle HTTP requests for channel management operations.
  • Added a new dependency: cpp-httplib (v0.19.0).
  • Updated CMakeLists.txt to include the new dependency.
  • Added HTML templates for users to view, edit, and manage channels via the web interface.

Todo

I wanted to add a port and web server control option in the main settings section, but I couldn't find a method to manage settings.xml. Do you have any suggestions for this?

@alpgul alpgul force-pushed the httpServer branch 6 times, most recently from 5a7b73b to cb5522f Compare April 16, 2025 10:57
- Added HttpServer class to manage HTTP requests and responses.
- Introduced ChannelsView for handling channel-related views and interactions.
- Updated CMakeLists.txt to include httplib dependency.
- Added new strings for web server features in the English language resource file.
- Implemented methods for channel management and view registration in ChannelsView.
@alpgul alpgul marked this pull request as draft August 27, 2025 22:08
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

Successfully merging this pull request may close these issues.

Add Feature to Edit m_channels List via Webserver

1 participant