mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* fix issue that crashed utorrent-postprocess in it's postprocess section
This commit is contained in:
parent
e34ca7db2c
commit
66ec99bceb
@ -65,11 +65,11 @@ class MyEpisodesScraper {
|
||||
}
|
||||
|
||||
def addShow = { showid ->
|
||||
get("http://myepisodes.com/views.php?type=manageshow&mode=add&showid=${showid}")
|
||||
get("http://www.myepisodes.com/views.php?type=manageshow&mode=add&showid=${showid}")
|
||||
}
|
||||
|
||||
def update = { showid, season, episode, tick = 'acquired', value = '0' ->
|
||||
get("http://myepisodes.com/myshows.php?action=Update&showid=${showid}&season=${season}&episode=${episode}&${tick}=${value}")
|
||||
get("http://www.myepisodes.com/myshows.php?action=Update&showid=${showid}&season=${season}&episode=${episode}&${tick}=${value}")
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ def artwork = tryQuietly{ artwork.toBoolean() }
|
||||
// array of xbmc/plex hosts
|
||||
def xbmc = tryQuietly{ xbmc.split(/[ ,|]+/) }
|
||||
def plex = tryQuietly{ plex.split(/[ ,|]+/) }
|
||||
def myepisodes = tryQuietly { myepisodes.split(/:/, 2) }
|
||||
|
||||
// email notifications
|
||||
def gmail = tryQuietly{ gmail.split(':', 2) }
|
||||
@ -195,7 +196,7 @@ plex?.each{
|
||||
// mark episodes as 'acquired'
|
||||
if (myepisodes) {
|
||||
println "Update MyEpisodes"
|
||||
include('fn:update-mes', [login:myepisodes, addshows:false], getRenameLog().values())
|
||||
include('fn:update-mes', [login:myepisodes.join(':'), addshows:false], getRenameLog().values())
|
||||
}
|
||||
|
||||
// send status email
|
||||
|
Loading…
Reference in New Issue
Block a user