1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 14:55:09 -05:00

* fix issue that crashed utorrent-postprocess in it's postprocess section

This commit is contained in:
Reinhard Pointner 2012-12-09 04:28:49 +00:00
parent e34ca7db2c
commit 66ec99bceb
2 changed files with 4 additions and 3 deletions

View File

@ -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}")
}
}

View File

@ -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