This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<irplus> | |
<device manufacturer="TECHNICS" model="SL-PG570A" columns="4" format="WINLIRC_RAW"> | |
<button label="KEY_POWER" labelSize="25.0" span="4">3678 1563 555 314 555 1197 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 1197 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 1197 555 314 555 1197 555 314 555 1197 555 314 555 1197 555 314 555 314 555 314 555 314 555 1197 555 314 555 1197 555 1197 555 1197 555 1197 555 314 555 314 555 1197 555 1197 555 1197 555 314 555 1197 555 314 555 314 555 1197 536 74550</button> | |
<button label="KEY_VOLUMEUP" labelSize="25.0" span="4">3678 1563 555 314 555 1197 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 1197 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 1197 555 314 555 1197 555 314 555 1197 555 314 555 1197 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 314 555 1197 555 314 555 314 555 314 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_imdb_list_ids_api(list_str=None): | |
import requests, json | |
url = "https://api.graphql.imdb.com/" | |
headers = { | |
"Content-Type": "application/json", | |
"User-Agent": "Mozilla/5.0", | |
"x-imdb-client-name": "imdb-web-next" | |
} | |
base_title_card = """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
import time | |
def get_imdb_videos(imdb_id): | |
import re, requests | |
API_URL = "https://graphql.prod.api.imdb.a2z.com/" | |
HEADERS = { | |
'Referer': 'https://www.imdb.com/', | |
'Origin': 'https://www.imdb.com', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import hashlib | |
import time | |
import webbrowser | |
# Replace with your Last.fm API credentials | |
API_KEY = 'API_KEY' | |
API_SECRET = 'API_SECRET' | |
PASSWORD = 'PASSWORD' | |
USERNAME = 'USERNAME' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import hashlib | |
import time | |
# Replace with your Last.fm API credentials | |
API_KEY = 'API_KEY' | |
API_SECRET = 'API_SECRET' | |
USERNAME = 'username' | |
PASSWORD = 'password' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct, os | |
__64k = 65536 | |
__longlong_format_char = 'q' | |
__byte_size = struct.calcsize(__longlong_format_char) | |
def temp_file(): | |
import tempfile | |
file = tempfile.NamedTemporaryFile() | |
filename = file.name | |
return filename |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct, os | |
import urllib | |
__64k = 65536 | |
__longlong_format_char = 'q' | |
__byte_size = struct.calcsize(__longlong_format_char) | |
def temp_file(): | |
import tempfile | |
file = tempfile.NamedTemporaryFile() | |
filename = file.name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct, os | |
__64k = 65536 | |
__longlong_format_char = 'q' | |
__byte_size = struct.calcsize(__longlong_format_char) | |
meta = {'filesize': '', 'filehash': ''} | |
def temp_file(): | |
import tempfile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/osmc/.kodi/addons/plugin.video.seren/resources/lib/modules/player.py | |
def _keep_alive(self): | |
################################################ | |
#if self.min_time_before_scrape > time_left and not self.pre_scrape_initiated: | |
# self._handle_pre_scrape() | |
if self.current_time > 30 and not self.pre_scrape_initiated: | |
xbmc.log(str('SEREN_PRESCRAPE')+'===>PHIL', level=xbmc.LOGNOTICE) | |
self._handle_pre_scrape() | |
/home/osmc/.kodi/addons/plugin.video.seren/resources/lib/modules/globals.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"yts": { | |
"name": "YTS", | |
"enabled": true, | |
"languages": [ | |
"en" | |
], | |
"base_url": "https://yts.am", | |
"fallback_urls": [ | |
"https://yts.pm", |
NewerOlder