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:
parent
e34ca7db2c
commit
66ec99bceb
@ -65,11 +65,11 @@ class MyEpisodesScraper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def addShow = { showid ->
|
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' ->
|
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
|
// array of xbmc/plex hosts
|
||||||
def xbmc = tryQuietly{ xbmc.split(/[ ,|]+/) }
|
def xbmc = tryQuietly{ xbmc.split(/[ ,|]+/) }
|
||||||
def plex = tryQuietly{ plex.split(/[ ,|]+/) }
|
def plex = tryQuietly{ plex.split(/[ ,|]+/) }
|
||||||
|
def myepisodes = tryQuietly { myepisodes.split(/:/, 2) }
|
||||||
|
|
||||||
// email notifications
|
// email notifications
|
||||||
def gmail = tryQuietly{ gmail.split(':', 2) }
|
def gmail = tryQuietly{ gmail.split(':', 2) }
|
||||||
@ -195,7 +196,7 @@ plex?.each{
|
|||||||
// mark episodes as 'acquired'
|
// mark episodes as 'acquired'
|
||||||
if (myepisodes) {
|
if (myepisodes) {
|
||||||
println "Update 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
|
// send status email
|
||||||
|
Loading…
Reference in New Issue
Block a user