Skip to content

Instantly share code, notes, and snippets.

View MythodeaLoL's full-sized avatar
💔
love is a ilusion 😿

Flo Rida MythodeaLoL

💔
love is a ilusion 😿
  • Brazil
View GitHub Profile
(function() {
var AdModel, AdPodModel, AgeGate, AppController, AppHelper, AppModel, BaseBeaconController, BeaconController, BeaconHelper, BeaconModel, ComscoreBeaconController, Constants, ContentModel, ControlsView, EndCard, EndCardAdModel, EndCardPlaylist, EventBus, FatalError, GeneralEvent, GlobalErrorHandler, HuluBeaconController, Md5, MediaPlayerView, MozartService, NielsenBeaconController, PlayableModel, PlayerController, PlayerModel, PlayerView, PlaylistPlayerModel, PrerollModel, QOSBeaconController, SiteShelfHelper, Ui, VideoEvent, VideoNetworkState, VideoReadyState,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
Md5 = (function() {
print "hello"
import httplib, urllib
hexstring = "436c6f4b54416741456b67414141414341414152585139614c34554a75784d576b3656424a744a6d5146764447354b4376726e656b56725656454c677532555152424f6469315141747875544231455369754856364c434b62597958346876724a523130556c5f6b5a35675342434c7472584d614241674145674153494b79712d734c786b676d31486b36506e336d6a4d42593945435978526e72644f6e4552354c67384c2d4f31"
hexdata = hexstring.decode("hex")
bytedata = bytearray(hexdata)
base64data = "NDM2YzZmNGI1NDQxNjc0MTQ1NmI2NzQxNDE0MTQxNDM0MTQxNDE1MjU4NTEzOTYxNGMzNDU1NGE3NTc4NGQ1NzZiMzY1NjQyNGE3NDRhNmQ1MTQ2NzY0NDQ3MzU0YjQzNzY3MjZlNjU2YjU2NzI1NjU2NDU0YzY3NzUzMjU1NTE1MjQyNGY2NDY5MzE1MTQxNzQ3ODc1NTQ0MjMxNDU1MzY5NzU0ODU2MzY0YzQzNGI2MjU5Nzk1ODM0Njg3NjcyNGE1MjMxMzA1NTZjNWY2YjVhMzU2NzUzNDI0MzRjNzQ3MjU4NGQ2MTQyNDE2NzQxNDU2NzQxNTM0OTRiNzk3MTJkNzM0Yzc4NmI2NzZkMzE0ODZiMzY1MDZlMzM2ZDZhNGQ0MjU5Mzk0NTQzNTk3ODUyNmU3MjY0NGY2ZTQ1NTIzNTRjNjczODRjMmQ0ZjMx"
url = "www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18
@MythodeaLoL
MythodeaLoL / languageCodes.json
Created April 28, 2021 02:50 — forked from josantonius/language-codes.json
List of 217 language codes: ISO 639-1
{
"_comments": {
"_title": "List of 217 language codes: ISO 639-1.",
"_author": "Josantonius - hello@josantonius.com",
"_copyright": "Copyright (c) 2016 - 2017",
"_license": "http://opensource.org/licenses/MIT - The MIT License (MIT)",
"_link": "http://github.com/josantonius/PHP-LanguageCode",
"_since": "1.0.0",
"_comment": "Compiled from https://wikipedia.org/wiki/List_of_ISO_639-1_codes"
},
@MythodeaLoL
MythodeaLoL / README.md
Created December 5, 2025 21:56 — forked from worried-networking/README.md
Binge-watching scripts for sonarr+plex

Summary

Normally, when you're watching a TV-Show — you don't need all its episodes right away; you just need a few for the next hour or so. The following scripts help you with exactly this! plex-autotag.py marks the new shows you add with tag keep1; plex-autodelete.py removes watched episodes from your drive; sonarr-refresher.py triggers sonarr to download few new episodes, to keep you always having your next fix. All in all — sonarr will download you a new episode after you've watched one.

All this magic works only for "main" user.

The autodelete script was originally taken from plex-api and then it was modified to remove only watched episodes, plus I've added a couple of tags.

It would've been better to make the sonarr script to work directly with Plex API instead of relying on the deleted files, but I'm not there yet.