Hello all
my version xui is 21 official .
i'had transfert my series from server to another server i proceed like that :
1- Send all series and vod directory fom server1 to server2 with sshpass and scp
2- Change series and vod path with my own php mysql script ( small script )
after doing that episodes and movies are moved corectlly to server2 and path was changed by my script with no problem but the issue is that i have to reencode all episodes and movies by doing mass edit ( series & movies ) and this is not my need
i want to use xtream ui api and use this api in php loop and retreive all episoses id for exemple and restart them automaticly from php script with curl or with linux bash script i had try this api
"http://myseverxuianelport/api.php?action=episode&sub=start&stream_id=episodeid&server_id=serverid"
and this one work only in same browser that xui panel is opened and i want to know if someone can help of course how to execute this command outside of my browser or in php or bash script
must i use cookies ? Or some api key ?
thank's a lot in advance .
my version xui is 21 official .
i'had transfert my series from server to another server i proceed like that :
1- Send all series and vod directory fom server1 to server2 with sshpass and scp
2- Change series and vod path with my own php mysql script ( small script )
after doing that episodes and movies are moved corectlly to server2 and path was changed by my script with no problem but the issue is that i have to reencode all episodes and movies by doing mass edit ( series & movies ) and this is not my need
i want to use xtream ui api and use this api in php loop and retreive all episoses id for exemple and restart them automaticly from php script with curl or with linux bash script i had try this api
"http://myseverxuianelport/api.php?action=episode&sub=start&stream_id=episodeid&server_id=serverid"
and this one work only in same browser that xui panel is opened and i want to know if someone can help of course how to execute this command outside of my browser or in php or bash script
must i use cookies ? Or some api key ?
thank's a lot in advance .