Skip to content

Instantly share code, notes, and snippets.

@StevenDTX
StevenDTX / mover
Created November 7, 2023 02:30 — forked from fabioyamate/mover
unRAID mover script
#!/bin/bash
# This is the 'mover' script used for moving files from the cache disk to the
# main array. It is typically invoked via cron.
# After checking if it's valid for this script to run, we check each of the top-level
# directories (shares) on the cache disk. If, and only if, the 'Use Cache' setting for the
# share is set to "yes", we use 'find' to process the objects (files and directories) of
# that directory, moving them to the array.
@StevenDTX
StevenDTX / always_on_light.yaml
Last active January 24, 2023 14:30 — forked from beauwest/always_on_switch.yaml
Home Assistant: Always On Light
blueprint:
name: Always On Light
description: Keep the selected light on, even when it is turned off. This should be used for lights you never want to be turned off.
domain: automation
input:
target_light:
name: Target Light
description: The light that will always be kept on.
selector:
entity:
This file has been truncated, but you can view the full file.
# Logfile created on 2015-02-02 10:58:20 -0600 by logger.rb/31641
I, [2015-02-02T10:58:20.632454 #70] INFO -- : Starting up PlexReport
D, [2015-02-02T10:58:20.636356 #70] DEBUG -- : Debug info for plexmediaserver connection
D, [2015-02-02T10:58:20.636409 #70] DEBUG -- : 200
D, [2015-02-02T10:58:20.636441 #70] DEBUG -- : #<HTTParty::Request:0x00000000e5a678 @http_method=Net::HTTP::Get, @path=#<URI::Generic:0x00000000e5a0b0 URL:/library/sections>, @options={:limit=>5, :assume_utf16_is_big_endian=>true, :default_params=>{}, :follow_redirects=>true, :parser=>HTTParty::Parser, :connection_adapter=>HTTParty::ConnectionAdapter, :base_uri=>"http://localhost:32400", :format=>:xml, :verify=>false}, @last_uri=#<URI::HTTP:0x00000000e585f8 URL:http://localhost:32400/library/sections>, @raw_request=#<Net::HTTP::Get GET>, @last_response=#<Net::HTTPOK 200 OK readbody=true>>
D, [2015-02-02T10:58:20.636553 #70] DEBUG -- : #<HTTParty::Response:0x172bcc0 parsed_response={"MediaContainer"=>{"size"=>"11", "allowSync"=>"0", "ident