How to automatically get new generated tokens in playlist?

by Super_Govedo

I have LEGAL IPTV provider and t has it's own app but I am bigger fan of TiviMate, I can record, it has reminders, multiscreen etc.

When I sniff url I have both server and token but few days later tokens changes for all channels so I need to sniff stream url again and then put it in m3u and sync everything.

Is there a way to create script or proxy server or anything similar to have tokens up to date automatically?

Something like xTeVe for Windows, I need to keep PC turned on to watch channels in Plex for Android, is possible as I asked to create some script and run it locally on my PC so I can have static m3u links in my m3u and in TiviMate?

Basically to trick may provider's IPTV app that I am watching channel via their app instead of another app. I am just trying to watch same legal content in different app with more functions, that's all.

comunication

you must create a script that accesses the provider as a normal user. for this you need a different user agent and ip. once accessed it will generate a new token, where the script replaces the new one with the old one for each m3u separately. that's the idea.

comunication

Another simpler solution is a scanner that is used by many. the script scans and replaces the old m3u with the new ones.

bertperrisor

You've solved it by sniffing the URL (whatever that means for you). As the token expires, you can just setup a cron job to do this.

If you have no idea what a cron is, then you should be researching more on that part instead of asking for a detailed solution here.