mirror of
https://github.com/correl/Transmission-XBMC.git
synced 2024-11-28 19:19:56 +00:00
Start all torrents when playback ended (not stoped)
Tested and its working
This commit is contained in:
parent
6fc904637b
commit
1e1225fdf9
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@ class SubstitutePlayer(xbmc.Player):
|
||||||
if self.active:
|
if self.active:
|
||||||
self.startAllTorrents()
|
self.startAllTorrents()
|
||||||
|
|
||||||
|
def onPlayBackEnded(self):
|
||||||
|
self.refreshSettings()
|
||||||
|
if self.active:
|
||||||
|
self.startAllTorrents()
|
||||||
|
|
||||||
def startAllTorrents(self):
|
def startAllTorrents(self):
|
||||||
if self.transmission:
|
if self.transmission:
|
||||||
torrents = self.transmission.list()
|
torrents = self.transmission.list()
|
||||||
|
|
Loading…
Reference in a new issue