pwillo1982
DW Member +
- Joined
- Dec 3, 2008
- Messages
- 524
- Reaction score
- 41
I am writing a plugin that will login to my IPTV provider's member portal and automatically add the channels to my box as a new bouquet.
Its a python script that does the following:
Login to the portal using Python-Mechanize to simulate a browser (Needs to handle session cookies)
download my .m3u file
convert it to a usable enigma2 bouquet file by doing various operations
copy the converted IPTV.tv file to /etc/enigma2/
edit /etc/enigma2/bouquets.tv to include the new bouquet
This all works fine but I am unable to automatically re-load the channel lists once its finished, my python script uses the following built in web service command:
Which returns the following xml response in the console to say they channels are being re-loaded successfully:
But when i'm going into the channel lists my new bouquet isn't showing?
Strange thing is, if I manually browse to http://DM_IP/web/servicelistreload?mode=0 in chrome I get the same response but when I go into the lists my new bouquet appears fine.
Anyone know what may be causing this?
Its a python script that does the following:
Login to the portal using Python-Mechanize to simulate a browser (Needs to handle session cookies)
download my .m3u file
convert it to a usable enigma2 bouquet file by doing various operations
copy the converted IPTV.tv file to /etc/enigma2/
edit /etc/enigma2/bouquets.tv to include the new bouquet
This all works fine but I am unable to automatically re-load the channel lists once its finished, my python script uses the following built in web service command:
Code:
You don't have permission to view the code content. Log in or register now.
Which returns the following xml response in the console to say they channels are being re-loaded successfully:
Code:
You don't have permission to view the code content. Log in or register now.
But when i'm going into the channel lists my new bouquet isn't showing?
Strange thing is, if I manually browse to http://DM_IP/web/servicelistreload?mode=0 in chrome I get the same response but when I go into the lists my new bouquet appears fine.
Anyone know what may be causing this?