In this case, use a dedicated playlist converter tool:

"Hello, I currently have a MAC-based subscription (MAC: [Your MAC Here]) for [Portal URL]. Could you please provide me with the or Xtream Codes login (Username/Password/URL) so I can use the service on other devices? Thank you."

mac-to-m3u --mac 00:1A:79:12:34:56 --portal iptv.example.com --port 8080

x