def sync_trakt(self):
     self.params['tmdb_id'] = self.get_tmdb_id(**self.params)
     if not self.params.get('tmdb_id'):
         return
     context.action(
         action=self.params.get('sync_trakt'), tmdb_id=self.params.get('tmdb_id'),
         tmdb_type=self.params.get('type'), label=self.params.get('query'),
         season=self.params.get('season'), episode=self.params.get('episode'))
Beispiel #2
0
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('library_userlist')
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('collection')
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('add_to_userlist')
Beispiel #5
0
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('watchlist')
Beispiel #6
0
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('open')
Beispiel #7
0
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('play')
Beispiel #8
0
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('library')
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('remove_from_userlist')
Beispiel #10
0
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('refresh_item')
Beispiel #11
0
# -*- coding: utf-8 -*-
# Module: default
# Author: jurialmunkey
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
import resources.lib.context as context

if __name__ == '__main__':
    context.action('history')