<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>Yarmo - nuggets</title>
    <subtitle>Blog of an Open Source developer</subtitle>
    <link rel="self" type="application/atom+xml" href="https://yarmo.eu/tags/nuggets/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://yarmo.eu"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2022-05-03T14:35:49+00:00</updated>
    <id>https://yarmo.eu/tags/nuggets/atom.xml</id>
    <entry xml:lang="en">
        <title>playerctl: get currently playing music</title>
        <published>2022-05-03T14:35:49+00:00</published>
        <updated>2022-05-03T14:35:49+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yarmo.eu/blog/playerctl/"/>
        <id>https://yarmo.eu/blog/playerctl/</id>
        
        <content type="html" xml:base="https://yarmo.eu/blog/playerctl/">&lt;h2 id=&quot;TLDR&quot;&gt;TLDR&lt;&#x2F;h2&gt;
&lt;p&gt;To get information about music currently playing on the computer, run:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;playerctl&lt;&#x2F;span&gt;&lt;span&gt; metadata&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; --all-players --format &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bae67e;&quot;&gt;&amp;#39;{{ status }}: {{ artist }} - {{ title }}&amp;#39;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;A wide variety of media players are MPRIS-enabled and can be queried using the above command, including media players running in the browser such as &lt;a href=&quot;https:&#x2F;&#x2F;github.com&#x2F;airsonic-advanced&#x2F;airsonic-advanced&quot;&gt;Airsonic&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
&lt;p&gt;&lt;a href=&quot;https:&#x2F;&#x2F;man.archlinux.org&#x2F;man&#x2F;community&#x2F;playerctl&#x2F;playerctl.1.en&quot;&gt;playerctl on man.archlinux.org&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
&lt;h2 id=&quot;Explanation&quot;&gt;Explanation&lt;&#x2F;h2&gt;
&lt;p&gt;For a long time, I&#x27;ve been using &lt;a href=&quot;https:&#x2F;&#x2F;github.com&#x2F;airsonic-advanced&#x2F;airsonic-advanced&quot;&gt;Airsonic&lt;&#x2F;a&gt; as my media player, handy if you are into selfhosted services and despise streaming platforms with a passion.&lt;&#x2F;p&gt;
&lt;p&gt;Since I also do &lt;a href=&quot;https:&#x2F;&#x2F;yarmo.live&quot;&gt;live streaming&lt;&#x2F;a&gt; and like to play ambient music in the background, I attempted to build a little &amp;quot;Now playing&amp;quot; widget for on stream.&lt;&#x2F;p&gt;
&lt;p&gt;Sadly, no luck: Airsonic doesn&#x27;t have an API.&lt;&#x2F;p&gt;
&lt;p&gt;After a lot of trying out different clients and hosting additional services, I settled on syncing my music collection from the NAS to my computer and then playing music through mopidy, as I could then query the currently playing music using MPD:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;font-style:italic;color:#5c6773;&quot;&gt;# Snippet will be added soon, currently away from computer
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Not my favorite solution but it works.&lt;&#x2F;p&gt;
&lt;p&gt;In comes this guy &lt;a href=&quot;https:&#x2F;&#x2F;deavid.wordpress.com&#x2F;&quot;&gt;DeavidSedice&lt;&#x2F;a&gt; and he tells me I can get that same information from most existing media players with a single line of bash:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;font-style:italic;color:#5c6773;&quot;&gt;# The command as he sent it to me
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;playerctl&lt;&#x2F;span&gt;&lt;span&gt; metadata&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; --all-players --format &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bae67e;&quot;&gt;&amp;#39;{{ status }}: {{ artist }} - {{ title }}               &amp;#39; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#f29e74;&quot;&gt;| &lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;grep&lt;&#x2F;span&gt;&lt;span&gt; Playing &lt;&#x2F;span&gt;&lt;span style=&quot;color:#f29e74;&quot;&gt;| &lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;tr &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bae67e;&quot;&gt;&amp;#39;\n&amp;#39; &amp;#39; &amp;#39;
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Why did I never hear about this before? A life changer! And it even works with Airsonic running in the browser.&lt;&#x2F;p&gt;
&lt;p&gt;This tool makes it quite trivial to write a bash script that loops the command, writes the output to a text file and have OBS display it on stream.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>GPG import public key from smartcard</title>
        <published>2022-05-03T09:00:12+00:00</published>
        <updated>2022-05-03T09:00:12+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yarmo.eu/blog/gpg-import-from-smartcard/"/>
        <id>https://yarmo.eu/blog/gpg-import-from-smartcard/</id>
        
        <content type="html" xml:base="https://yarmo.eu/blog/gpg-import-from-smartcard/">&lt;h2 id=&quot;TLDR&quot;&gt;TLDR&lt;&#x2F;h2&gt;
&lt;p&gt;On a new computer, insert your USB OpenPGP smartcard and run:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;gpg&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; --card-edit
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;fetch
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;quit
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;Explanation&quot;&gt;Explanation&lt;&#x2F;h2&gt;
&lt;p&gt;I have a &lt;a href=&quot;https:&#x2F;&#x2F;www.yubico.com&#x2F;products&#x2F;yubikey-5-overview&#x2F;&quot;&gt;YubiKey 5&lt;&#x2F;a&gt; (still waiting on my &lt;a href=&quot;https:&#x2F;&#x2F;www.indiegogo.com&#x2F;projects&#x2F;solo-v2-safety-net-against-phishing#&#x2F;&quot;&gt;Solo v2&lt;&#x2F;a&gt;) on which I store my OpenPGP secret key.&lt;&#x2F;p&gt;
&lt;p&gt;However, if I boot into a new system, insert my USB OpenPGP smartcard, import my public key from a keyserver:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;gpg&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; --keyserver&lt;&#x2F;span&gt;&lt;span&gt; hkps:&#x2F;&#x2F;keys.openpgp.org&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; --recv-keys&lt;&#x2F;span&gt;&lt;span&gt; ABCD1234
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;&lt;a href=&quot;https:&#x2F;&#x2F;git-scm.com&#x2F;book&#x2F;en&#x2F;v2&#x2F;Git-Tools-Signing-Your-Work&quot;&gt;configure git&lt;&#x2F;a&gt;:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; config&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; --global&lt;&#x2F;span&gt;&lt;span&gt; user.signingkey ABCD1234
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;and attempt to sign a commit, I&#x27;ll get an error message:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; commit&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; -S -m &lt;&#x2F;span&gt;&lt;span style=&quot;color:#bae67e;&quot;&gt;&amp;quot;Signed commit&amp;quot;
&lt;&#x2F;span&gt;&lt;span style=&quot;font-style:italic;color:#5c6773;&quot;&gt;# error: gpg failed to sign the data
&lt;&#x2F;span&gt;&lt;span style=&quot;font-style:italic;color:#5c6773;&quot;&gt;# fatal: failed to write commit object
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;GPG doesn&#x27;t know yet it can interact with the private key stored on the USB OpenPGP smartcard!&lt;&#x2F;p&gt;
&lt;p&gt;So, instead of importing the public key from a keyserver, fetch it from the smartcard with the following commands:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;gpg&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; --card-edit
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;fetch
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;quit
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Webmentiond FTW</title>
        <published>2020-07-01T10:31:49+00:00</published>
        <updated>2020-07-01T10:31:49+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yarmo.eu/blog/webmentiond-ftw/"/>
        <id>https://yarmo.eu/blog/webmentiond-ftw/</id>
        
        <content type="html" xml:base="https://yarmo.eu/blog/webmentiond-ftw/">&lt;p&gt;I just read &lt;a href=&quot;https:&#x2F;&#x2F;www.garron.blog&#x2F;posts&#x2F;webmentiond-working.html&quot;&gt;this post by Guillermo&lt;&#x2F;a&gt; which is a great general overview of &lt;a href=&quot;https:&#x2F;&#x2F;indieweb.org&#x2F;Webmention&quot;&gt;webmentions&lt;&#x2F;a&gt; and in particular, the implemention by Horst Gutmann named &lt;a href=&quot;https:&#x2F;&#x2F;zerokspot.com&#x2F;weblog&#x2F;2020&#x2F;06&#x2F;14&#x2F;setting-up-webmentiond&#x2F;&quot;&gt;webmentiond&lt;&#x2F;a&gt;. An absolute delight to use! Glad you got it working, Guillermo, and happy to have been of help!&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Set default git branch to main</title>
        <published>2020-06-25T11:37:43+00:00</published>
        <updated>2020-06-25T11:37:43+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yarmo.eu/blog/git-main/"/>
        <id>https://yarmo.eu/blog/git-main/</id>
        
        <content type="html" xml:base="https://yarmo.eu/blog/git-main/">&lt;p&gt;For a while, we&#x27;ve all been seeing the &amp;quot;switch git default branch from master to main&amp;quot; posts, the earliest I recall having been &lt;a href=&quot;https:&#x2F;&#x2F;www.hanselman.com&#x2F;blog&#x2F;EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx&quot;&gt;written by Scott Hanselman&lt;&#x2F;a&gt;. I&#x27;ve been postponing the change for a bit, but it was &lt;a href=&quot;https:&#x2F;&#x2F;www.thorlaksson.com&#x2F;im-changing-the-default-branch-name-in-my-git-repositories-and-you-should-too&#x2F;&quot;&gt;the post by Kristófer Reykjalín&lt;&#x2F;a&gt; that gave the required motivation to go out and just do it.&lt;&#x2F;p&gt;
&lt;p&gt;For new repositories, &lt;a href=&quot;https:&#x2F;&#x2F;gitea.io&quot;&gt;Gitea&lt;&#x2F;a&gt; already has &lt;a href=&quot;https:&#x2F;&#x2F;github.com&#x2F;go-gitea&#x2F;gitea&#x2F;pull&#x2F;10803&quot;&gt;the option to set the default branch name&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
&lt;p&gt;For exiting repositories, the &lt;a href=&quot;https:&#x2F;&#x2F;www.hanselman.com&#x2F;blog&#x2F;EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx&quot;&gt;commands provided by Scott&lt;&#x2F;a&gt; work perfectly:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; checkout master&lt;&#x2F;span&gt;&lt;span style=&quot;color:#f29e74;&quot;&gt;; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; branch&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; -m&lt;&#x2F;span&gt;&lt;span&gt; master main&lt;&#x2F;span&gt;&lt;span style=&quot;color:#f29e74;&quot;&gt;; &lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; push&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; -u&lt;&#x2F;span&gt;&lt;span&gt; origin main
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Yes, a one-liner :) If you like to take things more slowly, here it goes:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; checkout master         &lt;&#x2F;span&gt;&lt;span style=&quot;font-style:italic;color:#5c6773;&quot;&gt;# switch to master branch
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; branch&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; -m&lt;&#x2F;span&gt;&lt;span&gt; master main   &lt;&#x2F;span&gt;&lt;span style=&quot;font-style:italic;color:#5c6773;&quot;&gt;# move existing master branch to main (keeping history)
&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; push&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; -u&lt;&#x2F;span&gt;&lt;span&gt; origin main     &lt;&#x2F;span&gt;&lt;span style=&quot;font-style:italic;color:#5c6773;&quot;&gt;# push the main branch to the server
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;If you use &lt;a href=&quot;https:&#x2F;&#x2F;gitea.io&quot;&gt;Gitea&lt;&#x2F;a&gt;, you should now go the repository&#x27;s Settings &amp;gt; Branches and set the main branch as the default branch. Once done, you can now safely delete the obsolete master branch with the command below.&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;bash&quot; style=&quot;background-color:#212733;color:#ccc9c2;&quot; class=&quot;language-bash &quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span style=&quot;color:#ffd580;&quot;&gt;git&lt;&#x2F;span&gt;&lt;span&gt; push&lt;&#x2F;span&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt; --delete&lt;&#x2F;span&gt;&lt;span&gt; origin master     &lt;&#x2F;span&gt;&lt;span style=&quot;font-style:italic;color:#5c6773;&quot;&gt;# delete the master from the server
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;As for my website, here&#x27;s the &lt;a href=&quot;https:&#x2F;&#x2F;git.yarmo.eu&#x2F;yarmo&#x2F;yarmo.eu&#x2F;commit&#x2F;78e18c55c59c8e65e99013718cd42154ddb7ebd6&quot;&gt;commit&lt;&#x2F;a&gt; that completed the transition, making sure my CI&#x2F;CD solution knows what to listen to.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;h2 id=&quot;Update_1&quot;&gt;Update 1&lt;&#x2F;h2&gt;
&lt;p&gt;Thanks to &lt;a href=&quot;https:&#x2F;&#x2F;charlespence.net&#x2F;&quot;&gt;Charles Pence&lt;&#x2F;a&gt; for reminding me to add the &lt;code&gt;git push --delete origin master&lt;&#x2F;code&gt; line.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;h2 id=&quot;Update_2&quot;&gt;Update 2&lt;&#x2F;h2&gt;
&lt;p&gt;Thanks to &lt;a href=&quot;https:&#x2F;&#x2F;charlespence.net&#x2F;&quot;&gt;Charles Pence&lt;&#x2F;a&gt; for reminding me that a Gitea branch cannot be deleted as long as it&#x27;s the default.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>LunaSea: FOSS FTW</title>
        <published>2020-05-22T19:47:38+00:00</published>
        <updated>2020-05-22T19:47:38+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yarmo.eu/blog/lunasea/"/>
        <id>https://yarmo.eu/blog/lunasea/</id>
        
        <content type="html" xml:base="https://yarmo.eu/blog/lunasea/">&lt;p&gt;&lt;code&gt;#100DaysToOffload &amp;gt;&amp;gt; 2020-05-22 &amp;gt;&amp;gt; 023&#x2F;100&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;h2 id=&quot;Out_with_the_old&quot;&gt;Out with the old&lt;&#x2F;h2&gt;
&lt;p&gt;A couple of weeks ago, I finally discovered a FOSS alternative for nzb360, a great app for managing Plex, Radarr, Sonarr, etc. I wish to have kept using nzb360, but unfortunately, the app relies too heavily on Google Services and though I have paid for it, I can no longer use it as my LineageOS phone can&#x27;t process purchases made on official Google Android phones.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;In_with_the_new&quot;&gt;In with the new&lt;&#x2F;h2&gt;
&lt;p&gt;Named &lt;a href=&quot;https:&#x2F;&#x2F;www.lunasea.app&quot;&gt;LunaSea&lt;&#x2F;a&gt;, it can do anything it should, (manage Sonarr, Radarr, Lidarr, NZB clients), it looks fantastic, it&#x27;s available for both Google Android and iPhone and, of course, it&#x27;s &lt;a href=&quot;https:&#x2F;&#x2F;github.com&#x2F;LunaSeaApp&#x2F;LunaSea&quot;&gt;FOSS&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
&lt;p&gt;Only thing I&#x27;m missing is a donation button. And a fediverse account :)&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Varken: Plex monitoring solution</title>
        <published>2020-05-05T21:49:58+00:00</published>
        <updated>2020-05-05T21:49:58+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yarmo.eu/blog/varken/"/>
        <id>https://yarmo.eu/blog/varken/</id>
        
        <content type="html" xml:base="https://yarmo.eu/blog/varken/">&lt;p&gt;&lt;code&gt;#100DaysToOffload &amp;gt;&amp;gt; 2020-05-05 &amp;gt;&amp;gt; 011&#x2F;100&lt;&#x2F;code&gt;&lt;&#x2F;p&gt;
&lt;p&gt;Today, I discovered &lt;a href=&quot;https:&#x2F;&#x2F;github.com&#x2F;Boerderij&#x2F;Varken&quot;&gt;Varken&lt;&#x2F;a&gt;, a neat solution to monitor your Plex ecosystem (including Sonarr, Radarr, etc.) and store the data in your InfluxDB instance. This solution is a great addition as I can now make Grafana or Chronograf dashboardz encompassing both server metrics and Plex metrics. The reason this is important is that I have a relatively low-power server (NUC) and a single stream on Plex can have a noticeable impact on the CPU usage.&lt;&#x2F;p&gt;
&lt;p&gt;Varken requires a &lt;a href=&quot;https:&#x2F;&#x2F;tautulli.com&#x2F;&quot;&gt;Tautulli&lt;&#x2F;a&gt; instance to collect the data from as well as a &lt;a href=&quot;https:&#x2F;&#x2F;www.maxmind.com&quot;&gt;MaxMind&lt;&#x2F;a&gt; API key which unfortunately isn&#x27;t optional. I run all software mentioned in this post in separate docker containers.&lt;&#x2F;p&gt;
&lt;p&gt;Also, 11th post for #100DaysToOffload today and 11 is my lucky number :)&lt;&#x2F;p&gt;
</content>
        
    </entry>
</feed>
