{"author_name":"nokturnalmortum","height":"190","author_url":"https://blog.hatena.ne.jp/nokturnalmortum/","provider_url":"https://hatena.blog","width":"100%","categories":["ranger","python"],"type":"rich","version":"1.0","published":"2013-05-06 12:44:48","blog_url":"https://anekos.hatenablog.com/","title":" ranger \u3067\u9078\u629e\u30d5\u30a1\u30a4\u30eb\u3092 mpc add \u3059\u308b\u30b3\u30de\u30f3\u30c9","description":"~/.config/ranger/commands.py \u306b\u8ffd\u52a0\u3059\u308b\u3068 :mpcadd \u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3067\u3088\u3002 class mpcadd(Command): \"\"\" :mpcadd \"\"\" MPC_ROOT = '/home/anekos/data/music/' def execute (self): from os.path import isdir, join, relpath, splitext from os import walk, system from ranger.ext.shell_escape import shell_quote from re import sear\u2026","provider_name":"Hatena Blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanekos.hatenablog.com%2Fentry%2F20130506%2F1367811888\" title=\" ranger \u3067\u9078\u629e\u30d5\u30a1\u30a4\u30eb\u3092 mpc add \u3059\u308b\u30b3\u30de\u30f3\u30c9 - \u5730\u7344\u306e\u30cd\u30b3\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u5730\u7344\u306e\u30cd\u30b3\u30d6\u30ed\u30b0","url":"https://anekos.hatenablog.com/entry/20130506/1367811888"}