pierre-emmanuelJ / iptv-proxy

Reverse proxy on iptv m3u and m3u8 file and xtream codes client api
GNU General Public License v3.0
478 stars 139 forks source link

Live steams error - strconv.Atoi: parsing "": invalid syntax #144

Closed pats4 closed 1 year ago

pats4 commented 1 year ago

Hi,

I'm having trouble with setting up my IPTV proxy. Vod seems to work but any time I try to get live channels it fails with the error below.

2023/02/25 11:40:52 [iptv-proxy] 2023/02/25 - 11:40:52 | 192.168.22.5 |Action
[GIN] 2023/02/25 - 11:40:52 | 200 |  163.813072ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>"
2023/02/25 11:40:53 [iptv-proxy] 2023/02/25 - 11:40:53 | 192.168.22.5 |Action   get_live_categories
[GIN] 2023/02/25 - 11:40:53 | 200 |  171.053165ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_live_categories"
[GIN] 2023/02/25 - 11:40:55 | 200 |  717.014768ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_live_streams"
Error #01: strconv.Atoi: parsing "": invalid syntax
[GIN] 2023/02/25 - 11:40:56 | 200 |  164.821309ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_vod_categories"
2023/02/25 11:40:56 [iptv-proxy] 2023/02/25 - 11:40:56 | 192.168.22.5 |Action   get_vod_categories
2023/02/25 11:40:59 [iptv-proxy] 2023/02/25 - 11:40:59 | 192.168.22.5 |Action   get_vod_streams
[GIN] 2023/02/25 - 11:41:02 | 200 |  4.922634321s |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_vod_streams"
2023/02/25 11:41:03 [iptv-proxy] 2023/02/25 - 11:41:03 | 192.168.22.5 |Action   get_series_categories
[GIN] 2023/02/25 - 11:41:03 | 200 |  160.694268ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_series_categories"
2023/02/25 11:41:05 [iptv-proxy] 2023/02/25 - 11:41:05 | 192.168.22.5 |Action   get_series
[GIN] 2023/02/25 - 11:41:05 | 200 |  659.918906ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_series"
[GIN] 2023/02/25 - 11:41:17 | 200 |   87.594722ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>"
2023/02/25 11:41:17 [iptv-proxy] 2023/02/25 - 11:41:17 | 192.168.22.5 |Action
2023/02/25 11:41:18 [iptv-proxy] 2023/02/25 - 11:41:18 | 192.168.22.5 |Action   get_live_categories
[GIN] 2023/02/25 - 11:41:18 | 200 |  159.453746ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_live_categories"
[GIN] 2023/02/25 - 11:41:20 | 200 |  701.399667ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_live_streams"
Error #01: strconv.Atoi: parsing "": invalid syntax
[GIN] 2023/02/25 - 11:41:48 | 200 |   87.938426ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>"
2023/02/25 11:41:48 [iptv-proxy] 2023/02/25 - 11:41:48 | 192.168.22.5 |Action
2023/02/25 11:41:49 [iptv-proxy] 2023/02/25 - 11:41:49 | 192.168.22.5 |Action   get_live_categories
[GIN] 2023/02/25 - 11:41:49 | 200 |  169.012349ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_live_categories"
[GIN] 2023/02/25 - 11:41:51 | 200 |  679.507207ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_live_streams"
Error #01: strconv.Atoi: parsing "": invalid syntax
[GIN] 2023/02/25 - 11:41:52 | 200 |  162.647351ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_vod_categories"
2023/02/25 11:41:52 [iptv-proxy] 2023/02/25 - 11:41:52 | 192.168.22.5 |Action   get_vod_categories
2023/02/25 11:41:55 [iptv-proxy] 2023/02/25 - 11:41:55 | 192.168.22.5 |Action   get_vod_streams
[GIN] 2023/02/25 - 11:41:58 | 200 |  4.643674169s |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_vod_streams"
2023/02/25 11:41:59 [iptv-proxy] 2023/02/25 - 11:41:59 | 192.168.22.5 |Action   get_series_categories
[GIN] 2023/02/25 - 11:41:59 | 200 |  177.865403ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_series_categories"
2023/02/25 11:42:01 [iptv-proxy] 2023/02/25 - 11:42:01 | 192.168.22.5 |Action   get_series
[GIN] 2023/02/25 - 11:42:01 | 200 |  726.726444ms |    192.168.22.5 | GET      "/player_api.php?username=<username>&password=<password>&action=get_series"