Here it is, @cyoungers, from my Google Drive: channels_to_csv.py - Google Drive
(Note to self: look into using GitHub at some point)
As suggested by @racameron, I added a column for the free channels so it's clearer now instead of having them included with the TVE channels.
In the process of refactoring the code, I also found a bug that I fixed.
With the fix, some channel results are different now and more accurate in terms of how many times they appear in different sources. For example, it turns out that QVC is not the only channel that is available in 4 different sources now. I will fix my first post.
Usage of the script:
PS C:\Users\mjitk\Documents\Scripts> python channels_to_csv.py -h
usage: channels_to_csv.py [-h] [-i IP_ADDRESS] [-p PORT_NUMBER] [-v]
Channels DVR channel list -> CSV file.
-h, --help show this help message and exit
-i IP_ADDRESS, --ip_address IP_ADDRESS
IP address of the Channels DVR server
-p PORT_NUMBER, --port_number PORT_NUMBER
Port number of the Channels DVR server
-v, --version Print the version number
If no options are specified, the default URL will be used: http://127.0.0.1:8089
PS C:\Users\mjitk\Documents\Scripts> python channels_to_csv.py
Using Channels DVR server at: http://127.0.0.1:8089
Getting the details of all the sources from Channels DVR...
Got 10 sources.
Writing the channel information to the CSV file...
Channel information available in channels_dvr_channel_list_20230519_172942.csv
I hope this works for you.
Let me know about your experience with it.