Index: contrib/podspider.py ================================================================== --- contrib/podspider.py +++ contrib/podspider.py @@ -27,17 +27,17 @@ # # Untested. import action -import http +import ahttp from config import conf from channels import * import os, os.path from pq import pq import lxml.etree -import mygtk +import uikit # return text entry from etree list def get(item, tag, hint=None): @@ -84,11 +84,11 @@ ChannelPlugin.__init__(self,parent) # gtk.messagebox def warn(self): - mygtk.msg("Podspiderpdb.xml.tmp_ couldn't be found anywhere.\nInstall Radiograbber via Wine to create it.") + uikit.msg("Podspiderpdb.xml.tmp_ couldn't be found anywhere. Install Radiograbber via Wine to create it.") # prevent cache file creation, as it would contain sublists and ends up being unreadable by json module def save(self, *a): pass @@ -147,11 +147,11 @@ # loads RSS and gets first entry url def play(self, row): audio = "audio/mp3" r = [] - for e in pq(http.get(row["homepage"])).find("enclosure"): + for e in pq(ahttp.get(row["homepage"])).find("enclosure"): r.append(e.get("url")) audio = e.get("type") if r: action.action.play(r[0], audioformat=audio, listformat="url/direct") Index: dev/install_python_gtk.bat ================================================================== --- dev/install_python_gtk.bat +++ dev/install_python_gtk.bat @@ -11,10 +11,10 @@ echo ^| _\///\\\\\\\\\\\/_________\/\\\________/\\\\\\\\\\\\\\\_ ^| echo ^| ___\///////////___________\///________\///////////////__ ^| echo ^| ^| echo ^| Streamtuner2 for Windows Version 2.2.0 ^| echo ^| ^| -echo ^| Installer for Python 2.7.12 ^& Gtk 2.24.2 ^| +echo ^| Installer for Python 2.7.13 ^& Gtk 2.24.2 ^| echo ----------------------------------------------------------------------------- echo. echo PowerShell "install_python_gtk.ps1"... PowerShell.exe -Command "& {Start-Process Powershell.exe -ArgumentList '-ExecutionPolicy ByPass -File ""%~dpn0.ps1""' -Verb RunAs}"