86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106 | # threading or processing module
try:
from processing import Process as Thread
except:
from threading import Thread
Thread.stop = lambda self: None
# gtk modules
from mygtk import pygtk, gtk, gobject, ui_file, mygtk
# custom modules
sys.path.insert(0, "/usr/share/streamtuner2") # pre-defined directory for modules
sys.path.insert(0, ".") # pre-defined directory for modules
from config import conf # initializes itself, so all conf.vars are available right away
import http
import action # needs workaround... (action.main=main)
from channels import *
from channels import __print__
import favicon
#from pq import pq |
>
>
>
>
<
<
<
| 86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107 | # threading or processing module
try:
from processing import Process as Thread
except:
from threading import Thread
Thread.stop = lambda self: None
# add library path
sys.path.insert(0, "/usr/share/streamtuner2") # pre-defined directory for modules
sys.path.insert(0, ".") # pre-defined directory for modules
# gtk modules
from mygtk import pygtk, gtk, gobject, ui_file, mygtk
# custom modules
from config import conf # initializes itself, so all conf.vars are available right away
import http
import action # needs workaround... (action.main=main)
from channels import *
from channels import __print__
import favicon
#from pq import pq |