@babsonnexus Request for help...
Editing to add that this is the latest version... v2026.09.28.1044...
I have had SLM set up for quite a while with a few YT streaming stations and your fix using the PBS via millie...
It's been working with no issues...
Today, I wanted to add a streaming channel for Arirang TV and I added it in the Streaming Library Manager for Media Players page...
I matched the other entries...
I click Add and I get the following error:
If I click Save, same error...
I closed the Streaming Stations page, refreshed the main SLM page and then went back to try and add...
Same error...
I went as far as restarting the container...
Same error...
I then went into the log page and got this:
[info | 2026-10-10 13:29:20,196] - 10.89.3.25 - - [10/Oct/2026 13:29:20] "e[35me[1mPOST /playlists/streams HTTP/1.1e[0m" 500 -
[info | 2026-10-10 13:29:27,461] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "GET /logs HTTP/1.1" 200 -
[info | 2026-10-10 13:29:27,491] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/css/nucleo-icons.css HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:29:27,491] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/css/nucleo-svg.css HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:29:27,493] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/img/slm_navicon.png HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:29:27,493] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/css/material-dashboard.css?v=3.0.0 HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:29:27,494] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/js/core/popper.min.js HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:29:27,497] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/js/core/bootstrap.min.js HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:29:27,499] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/js/plugins/perfect-scrollbar.min.js HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:29:27,500] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/js/plugins/smooth-scrollbar.min.js HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:29:27,501] - 10.89.3.25 - - [10/Oct/2026 13:29:27] "e[36mGET /static/assets/js/material-dashboard.min.js?v=3.0.0 HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,690] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "GET /playlists/streams HTTP/1.1" 200 -
[info | 2026-10-10 13:30:07,733] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/css/nucleo-icons.css HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,735] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/css/material-dashboard.css?v=3.0.0 HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,735] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/css/nucleo-svg.css HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,736] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/img/slm_navicon.png HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,737] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/js/core/popper.min.js HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,757] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/js/core/bootstrap.min.js HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,757] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/js/plugins/perfect-scrollbar.min.js HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,760] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/js/plugins/smooth-scrollbar.min.js HTTP/1.1e[0m" 304 -
[info | 2026-10-10 13:30:07,760] - 10.89.3.25 - - [10/Oct/2026 13:30:07] "e[36mGET /static/assets/js/material-dashboard.min.js?v=3.0.0 HTTP/1.1e[0m" 304 -
[error | 2026-10-10 13:30:09,517] - Exception on /playlists/streams [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/slm.py", line 11331, in webpage_playlists_streams
make_streaming_stations_m3us()
File "/app/slm.py", line 12456, in make_streaming_stations_m3us
create_chunk_files(plmss_hls_final_m3us, os.path.join(playlists_uploads_dir_name, "plmss_hls_m3u"), "m3u", max_stations)
File "/app/slm.py", line 18420, in create_chunk_files
content = generate_m3u_content(chunk, base_filename, index)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/slm.py", line 10484, in generate_m3u_content
if item["tvg_shift"] not in [None, '', 0, '0']:
~~~~^^^^^^^^^^^^^
KeyError: 'tvg_shift'
2026-10-10 13:30:09.518886: ERROR: Webpage responded... 500 INTERNAL SERVER ERROR
Client IP: 10.89.3.25
Method: POST
URL: http://10.0.0.10:5002/playlists/streams
Headers:
Host: 10.0.0.10:5002
Connection: keep-alive
Content-Length: 29670
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36
Origin: http://10.0.0.10:5002
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/jxl,image/avif,image/webp,image/apng,*/*;q=0.8
Sec-Gpc: 1
Referer: http://10.0.0.10:5002/playlists/streams
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cookie: last_user=xxxxx; remember_web_
59ba36addc2b2f9401gQ
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36
Args: ImmutableMultiDict([])
Data: No data
Form Data: ImmutableMultiDict([('streaming_stations_source_test', 'Custom (HLS)'), ('streaming_stations_url_test', ''), ('streaming_stations_source_new', 'Custom (HLS)'), ('streaming_stations_url_new', ''), ('streaming_stations_title_new', ''), ('streaming_stations_tvg_logo_new', ''),
Note: If I go to the Summary page, I can click the "Update M3Us &XML" link with no error, as well as the Update Station List link, again, with no error.
Can you provide any assistance?
Thanks...