Skip to content

Instantly share code, notes, and snippets.

View arabcoders's full-sized avatar

Abdulmohsen arabcoders

View GitHub Profile
@arabcoders
arabcoders / Tdarr_Plugin_AC_HEVC_GPU.js
Last active July 24, 2024 22:18
tdarr boosh qsv plugin without the mkvpropedit and ffmpeg stats call. if you use cloud backend, or have slow drive pool, this is a MUST as the original plugin would cause massive writes for things which aren't really needed. as it was used in the nvidia plugin
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
const details = () => ({
id: 'Tdarr_Plugin_AC_HEVC_GPU',
Stage: 'Pre-processing',
Name: 'Transcode a video file',
Type: 'Video',
Operation: 'Transcode',
Description: 'Transcode a video file using ffmpeg. GPU transcoding will be used if possible.',
Version: '1.42',
Tags: 'pre-processing,ffmpeg,video only,nvenc h265,configurable',
@arabcoders
arabcoders / CurlRanger.php
Last active December 26, 2023 17:38
Wrapper around curl to accelerate download speed using range requests for downloading.
<?php
use Closure;
use CurlHandle;
use InvalidArgumentException;
use Random\RandomException;
use RuntimeException;
final class CurlRanger
{
@arabcoders
arabcoders / bistorian.py
Created January 25, 2024 11:44
A python script to save your bash history to sqlite db and allow you to export it back.
#!/usr/bin/env python
# -*- encoding: UTF8 -*-
import logging
import sqlite3
import os
import sys
class Bistorian:
@arabcoders
arabcoders / renamer.py
Last active February 26, 2024 15:17
A Python script to rename files with history support.
#!/usr/bin/env python3
# -*- encoding: UTF8 -*-
#
# Copyright (c) 2024 ArabCoders
# Licensed under the MIT License
#
from argparse import RawDescriptionHelpFormatter
import logging
import sqlite3
@arabcoders
arabcoders / README.md
Last active March 23, 2025 17:32
Alternative implementation for Tver extractor for yt-dlp, this extractor works as plugin

This is my alternative implementation for Tver extractor.

Sadly the PR kindof staled and waiting on base streaks.jp extractor. so the main class in my PR will have to adapt to the new baseclase, which will no longer make sideloading this possible, as such i have made this seperate implementation with more features that i personally use.

To use it simply follow the guide

https://github.com/yt-dlp/yt-dlp#plugins

@arabcoders
arabcoders / widevine-decryption.md
Created April 12, 2025 16:18 — forked from frozenpandaman/widevine-decryption.md
download videos protected with widevine DRM