Skip to content

Instantly share code, notes, and snippets.

View oxan's full-sized avatar

Oxan van Leeuwen oxan

  • The Netherlands
View GitHub Profile
@oxan
oxan / gist:3795542
Created September 27, 2012 18:24
MPExtended StreamingProfiles.xml
<?xml version="1.0" encoding="utf-8"?>
<StreamingProfiles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mpextended.github.com/schema/config/StreamingProfiles/1">
<!--
WARNING: Please note that changes to this file will be overwritten on a MPExtended update.
-->
<FFMpegPath>%mpextended-streaming%\ffmpeg.exe</FFMpegPath>
<Transcoders>
<!-- Direct profile -->
<TranscoderProfile>
@oxan
oxan / dsfextract.sh
Last active December 17, 2015 06:19
DirectShowFilters extraction code
#!/bin/bash
cd MediaPortal-1
test -d .git || exit 1
# get a unique list of all files in the root and in the mediaportal/ and TvEngine3/ directory
tmp=$(mktemp)
git rev-list HEAD | xargs -n1 -I%rev -- git ls-tree --name-only --full-name %rev ./ mediaportal/ TvEngine3/ > $tmp
# remove everything but the (TvEngine3|mediaportal)/Filters and DirectShowFilters directory
@oxan
oxan / Embedded.php
Created June 3, 2018 13:32
Override API platform embedding decisions
<?php
// src/Serializer/Embedding/Embedded.php
namespace App\Serializer\Embedding;
/**
* @Annotation
* @Target({"PROPERTY", "METHOD"})
*/
class Embedded
@oxan
oxan / README.md
Last active October 3, 2021 20:43
Stream server (serial-to-wifi bridge) for ESPHome