* [utorrent-postprocess] Support --def myepisodes=user:pwd to add automatic support for MyEpisodes.com
This commit is contained in:
parent
042d1f99db
commit
ee92214842
|
@ -5,7 +5,7 @@ def mesadd = tryQuietly{ addshows.toBoolean() }
|
||||||
def mesupdate = tryQuietly { tick } ?: 'acquired'
|
def mesupdate = tryQuietly { tick } ?: 'acquired'
|
||||||
|
|
||||||
// import myepisodes scraper
|
// import myepisodes scraper
|
||||||
include('lib/ws')
|
include('fn:lib/ws')
|
||||||
|
|
||||||
def mes = MyEpisodes(mesacc[0], mesacc[1])
|
def mes = MyEpisodes(mesacc[0], mesacc[1])
|
||||||
def myshows = mes.getShowList()
|
def myshows = mes.getShowList()
|
||||||
|
|
|
@ -192,6 +192,12 @@ plex?.each{
|
||||||
refreshPlexLibrary(it)
|
refreshPlexLibrary(it)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// mark episodes as 'acquired'
|
||||||
|
if (myepisodes) {
|
||||||
|
println "Update MyEpisodes"
|
||||||
|
include('fn:update-mes', [login:myepisodes, addshows:false], getRenameLog().values())
|
||||||
|
}
|
||||||
|
|
||||||
// send status email
|
// send status email
|
||||||
if (gmail && !getRenameLog().isEmpty()) {
|
if (gmail && !getRenameLog().isEmpty()) {
|
||||||
// ant/mail utility
|
// ant/mail utility
|
||||||
|
|
Loading…
Reference in New Issue