G Kazaroth,
I have 2 systems I have been messing with this on both with the same data corruption issue.
System #1 (Raspberry Pi 3 running Raspbian stretch Python 3.8) has only USTVGo
System #2 (Mac Mini OSX 10.15 Catalina Python 3.9.12 Had an M3u file which I no longer subscribe to because nothing worked to be able to use it as I want to use it, but I will replace that with a different M3u file for testing.
System #1 as it has no m3u file I modified your instructions as follows;
After setting log level to debug, I deleted the old log and data then rebooted. This was to prevent confusion, as I have messed with this lots to no avail. It also helps to keep the logs relevant.
Then I waited and I could see in the logs that it was rebuilding the database. I knew it was done rebuilding database when I see the 501 error (see attachment)
Go to Data Mgmt, On Reset Channel Data, set the Reset Edits to Yes and Plugin to M3U
to
Go to Data Mgmt, On Reset Channel Data, set the Reset Edits to Yes and Plugin to USTVGo
You did not say to reboot nor restart Caberbet , so I did not.
downloading the channels.m3u file the contents of the file are only
"#EXTM3U" but no more error (see attachment)
Then I open the log and see
2022-06-30 14:12:21,718-ERROR:web_admin UNEXPECTED EXCEPTION on GET='stream_url'
Traceback (most recent call last):
File "/root/cabernet/lib/clients/web_admin.py", line 104, in do_GET
elif getrequest.call_url(self, self.content_path):
File "/root/cabernet/lib/common/decorators.py", line 228, in call_url
self.url2func[_name](_webserver, *args, **kwargs)
File "/root/cabernet/lib/clients/channels/channels.py", line 42, in channels_m3u
_webserver.do_mime_response(200, 'audio/x-mpegurl', get_channels_m3u(
File "/root/cabernet/lib/clients/channels/channels.py", line 100, in get_channels_m3u
uri = sid_data['json']['stream_url']
KeyError: 'stream_url'
(full log attached)
Correct me if I am wrong but there is no other channel data to delete as USTVGo is the only active source on this system.
Note that this is one of two systems with this problem and each has its own unique stream sources. Hopefully I can do the same on the other (OSX) system soon.