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
local utils = require 'mp.utils' | |
local msg = require 'mp.msg' | |
local ls = { | |
path = "livestreamer", | |
} | |
mp.add_hook("on_load", 9, function() | |
local url = mp.get_property("stream-open-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
var xmmsclient = require('xmmsclient'), | |
util = require('util') | |
var client = new xmmsclient.Client('blackcat'); | |
client.onconnect = function () { | |
console.log("Connected!") | |
client.playback.broadcast_current_id().onvalue = function (id) { | |
client.medialib.get_info(id).onvalue = function (propdict) { | |
metadata = xmmsclient.PropDict.flatten(propdict) |