Will use a downloader thread directly from peertube.py. Will not use a service anymore.
This commit is contained in:
parent
7cfc9b8c23
commit
5f590f48cd
|
@ -6,8 +6,6 @@
|
|||
<extension point="xbmc.python.pluginsource" library="peertube.py">
|
||||
<provides>video</provides>
|
||||
</extension>
|
||||
<extension point="xbmc.service" library="service.py"/>
|
||||
</extension>
|
||||
<extension point="xbmc.addon.metadata">
|
||||
<summary lang="en_GB">Plugin for PeerTube</summary>
|
||||
<description lang="en_GB">PeerTube is a federated open source alternative to YouTube</description>
|
||||
|
|
10
service.py
10
service.py
|
@ -1,10 +0,0 @@
|
|||
import time
|
||||
import xbmc
|
||||
|
||||
if __name__ == '__main__':
|
||||
monitor = xbmc.Monitor()
|
||||
|
||||
while not monitor.abortRequested():
|
||||
if monitor.waitForAbort(1):
|
||||
# Abort was requested while waiting. We must exit
|
||||
break
|
Loading…
Reference in New Issue