Radarr

Why Radarr?
Same as Sonarr, but for movies. Give it a movie to watch for, and it can automatically grab it once it’s available.

Permanent link to this article: https://www.berserkir.net/wordpress/radarr/

Sonarr

Why Sonarr?
Sonarr is a tool that monitors for releases. Give it a show to monitor for, and it’ll pull in the air dates for each episode. When an episode airs, it looks for it on the sources you give it (rarbg etc – or usenet) and passes it to your downloader for processing. Once it’s downloaded, Sonarr can sort and file it in the relevant folder for Plex to index.

Permanent link to this article: https://www.berserkir.net/wordpress/sonarr/

Ombi

One of the tools I use to manage my media library is Ombi.

“What’s it for?”

Well, that’s both simple and complicated – depending on how you configure it.
If you share your media with someone, odds are at some point they’ll ask you to add something you don’t already have. Ombi is a tool for managing those requests for content/media.
It lets the user search for the item they want themselves, and request it – at which point you (the admin) can approve or deny the request (or it can automatically approve it, depending on how you configure it).
If you have it linked to a download manager like Sonarr or Radarr, then once the request is approved the requested item gets sent to the relevant software to be watched for and downloaded. Once it’s sorted (and Plex/Emby sees it), Ombi notifies the person who requested it that the item is available.
This takes out the job of finding what you’ve been asked for manually – as the automated search tool looks for it (in my case, Sonarr/Radarr).

“Why use it?”

Simple – convenience. I have several people I share with who used to ask me if I had certain things via message. I’d then have to go out and find it manually, sort it, file it, and tell them when it was there.
This way? I just hit Approve or Deny and the system takes care of the rest – right down to telling the user when it’s available.

“Is there any support for it?”

Yes and no. Ombi is open source. Free. As in beer.
There is no paid support (though donations to the developer are always welcome, and offers of payment are up to the support team to accept or not).
There is one developer, who goes by Tidusjar. He hangs out in most of the support spaces.
There is a wiki that gets updated fairly often, and generally anything that happens for multiple people will wind up with a fix posted in the wiki too. This should be your first port of call.
There is a Discord server with a fairly active community (please read the rules when you join).
There is a subreddit as well – any posts there will notify the support team in Discord.

Permanent link to this article: https://www.berserkir.net/wordpress/ombi/

Reverse Proxy (with Apache)

I did a little write-up on how I achieved reverse proxy nirvana with IIS a while ago now. It made things a lot nicer for me. Like, a lot.

I have a few friends/colleagues/acquaintances who run Apache (I run IIS in my homelab environment, that’s the only reason I went with it), so I figured I’d look into how I can help them do the same thing (only a little different).

Continue reading

Permanent link to this article: https://www.berserkir.net/wordpress/reverse-proxy-with-apache/

Moving files to subfolders

It’s not uncommon for me to have to tidy up directories full of files by moving them to their own subfolders, named for each file. It’s become common enough that I wrote a little Powershell function to do it repeatedly.

After saving the below script as a .psm1 file you’ll be able to open PS and import the file. I tend to save it to “C:\Scripts\MoveToSubfolders.psm1” – then I can open PS and run “Import-Module C:\Scripts\MoveToSubfolders.psm1”.

Once it’s been imported I can then use the function on whatever folder of files I need to tidy by simply running “MoveToSubfolders” and following the function with the folder I need to sort. It works well for making movies tidier.1`

function MoveToSubfolders([string]$Folder = ".\" ){
# Convert relative folder paths to full paths
$FullPath = Resolve-Path $Folder

# Generate list of all files in the specified directory.
$Files = Get-ChildItem -Path ((Get-Item -Path $FullPath -Verbose).FullName)

# For each object in the directory, do the following:
$Files | ForEach-Object {
    # Generate the variables 
    $FileName = $_.FullName
    $FileFolderName = $_.BaseName
    $DestinationFolder = "$FullPath\$FileFolderName"
    $MoveDestination = "$DestinationFolder\$($_.Name)"

    # Check if the destination directory exists
    if(!(Test-Path $DestinationFolder))
    {
        # Create the directory using FileName (minus file extension) if it does not exist
        New-Item -Path $DestinationFolder -ItemType Directory
    }
    # Move the file to the new directory
    Move-Item -ErrorAction SilentlyContinue $FileName $MoveDestination
}
}
# Actually allow this module to have functions used outside via import
Export-ModuleMember -Function *
Export-ModuleMember -Variable *


Permanent link to this article: https://www.berserkir.net/wordpress/moving-files-to-subfolders/