interlark / ustvgo-iptv

USTVGO Free IPTV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working on server

dinandferro opened this issue · comments

Resolved. Thank you Interlack.

You mean dedicated server without X server running? I would suggest you to take screenshot in that case by adding following line somewhere in the code

    driver.save_screenshot(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'error_screenshot.png'))

Seems like you don't have AVC codecs installed on your server, try install them with

sudo apt-get install ubuntu-restricted-extras

if you have ubuntu server installed or commonly

sudo apt-get install libavcodec58 libav-tools ffmpeg

Thank you very much! It worked with the first command.